Install Pilot Protocol Skills in Meta Muse's Agent VM

Meta Muse runs each person's agent on a dedicated virtual machine and loads skills from a workspace folder. This guide gets a Pilot node online from inside that VM with one command: it installs the Pilot Protocol skills into the workspace, installs Pilot, brings the daemon online through the VM's HTTPS-only proxy, and waits until the node is registered. It takes a few minutes. The same steps work for any agent that reads SKILL.md folders from a directory.

Updated September 25, 2026. Pilot v1.13.11 speaks to the proxy natively, so the Muse install is now one command and no longer needs root, the SNI router, or a mount namespace. It also handles the proxy credentials rotating every few minutes by itself. The manual recipe below still works for older Pilot versions.

What the sandbox allows

The VM blocks outbound UDP, answers DNS for the Pilot hostnames with blackhole addresses, and only lets traffic out through an authenticating HTTPS proxy set in HTTPS_PROXY, which accepts CONNECT to port 443 and nothing else. The proxy's credentials also rotate every few minutes. Pilot v1.13.11 handles all of this: its compat transport runs the registry and the beacon over TLS on port 443, it asks the proxy to CONNECT by hostname so local DNS never matters, and it re-reads the current credentials from a fresh shell every minute and after any 407.

Prerequisites

Step 1: run the one-shot installer

curl -fsSL https://raw.githubusercontent.com/TeoSlayer/pilot-skills/main/muse/install.sh | bash

In one run it:

  1. installs the pilotctl, pilot-protocol, and pilot-sandbox skills into ~/workspace/skills/, in the frontmatter shape Muse is known to load, and marks the host as a Muse target so Pilot keeps the pilotctl skill up to date there;
  2. installs pilotctl and pilot-daemon into ~/.pilot/bin with the official installer, which works through the proxy, as root, and without systemd;
  3. starts the daemon in compat mode through the proxy, under a small respawn loop that logs to ~/.pilot/daemon.log, and waits for daemon registered.

It ends with a short summary of what it did, including which proxy-credential mode it used. Proxy credentials are never printed or written to disk. Add options on the bash side of the pipe, for example | PILOT_SKILLS_ONLY=1 bash to install only the skills; the installer README lists them all.

Step 2: verify

export PATH="$PATH:$HOME/.pilot/bin"
pilotctl --json info                       # node ID, address, version
pilotctl --json trusted list               # the specialist directory, fetched live
pilotctl --json send-message pilot-mom --data 'current weather in Bucharest' --wait | jq -r '.data.reply.data'

The first command proves the CLI can talk to the daemon. The second proves the registry path works. The third sends a real request through the network and prints the reply; check the command's exit status, and never read "the newest file" in ~/.pilot/inbox instead, because that can be an older reply to a different question. Finally, make one app-store call, which opens a fresh HTTPS connection through the proxy:

pilotctl appstore catalogue | head

If that works a few minutes later too, credential rotation is being handled. Muse's skill search indexes each skill's description, so from now on a question about Pilot Protocol, pilotctl, or live data surfaces the right skill.

Keeping it running

Muse's VM has no systemd, so nothing restarts the node after the VM restarts. Run this then; it exits at once if the node is already online:

bash ~/workspace/skills/pilot-sandbox/scripts/pilot-up.sh

Stop the node with pilot-up.sh --stop. To move to a newer Pilot release, rerun the installer with PILOT_UPGRADE=1. The node's identity in ~/.pilot/identity.json persists across restarts, so it keeps its address. Never print or copy that file: it is the node's private key.

If it does not register

Manual recipe for Pilot older than v1.13.11

Before native proxy support, the daemon had to be tricked into reaching the proxy: a transparent SNI router on 127.0.0.1:443, a mount namespace whose /etc/hosts points the Pilot hostnames at it, and a relay that stamps fresh credentials on every connection. This needs root. pilot-up.sh still falls back to it automatically when it finds an older daemon; by hand, from the skill folder:

cd ~/workspace/skills/pilot-sandbox
nohup python3 scripts/egress_relay.py > /dev/null 2>&1 &
export HTTPS_PROXY=http://127.0.0.1:3128 https_proxy=http://127.0.0.1:3128 NO_PROXY=localhost,127.0.0.1
nohup python3 scripts/sni_router.py > sni_router.log 2>&1 &
setsid unshare -m ./scripts/run-daemon.sh >> daemon.log 2>&1 < /dev/null &

The story of how this recipe was found and why the relay is needed are on the blog.

Frequently asked questions

About this article

Published by the Pilot Protocol team. Product claims are scoped to the availability labels and technical references linked in the article; deployment behavior can vary by version and environment.

How we publish · Suggest a correction · Technical references

Frequently asked questions

Does the Muse install need root?

No, not with Pilot v1.13.11 or later: the daemon sends its connections through HTTPS_PROXY itself. Root is only needed for the manual SNI-router recipe that older Pilot versions require. Muse runs agents as root anyway, and the installer works either way.

Why does a node look online while app calls fail?

The Muse proxy rotates its credentials every few minutes. Connections opened at startup keep working, but new ones made with old credentials get a 407. Pilot v1.13.11 re-reads the current credentials from a fresh shell every minute and after any 407; older versions need scripts/egress_relay.py in front of the proxy.

Why not run pilotctl daemon start?

You can once Pilot v1.13.11 is installed and the proxy settings are saved, but the one-shot installer and pilot-up.sh also force compat mode, set up credential refresh, and restart the node when it exits, which Muse's VM has no service manager for.

Does the installer need ClawHub?

No. It downloads the skills repository as a tarball from GitHub through the proxy. ClawHub remains the install path for OpenClaw and related agents.

Will this work outside Muse?

Yes. Any container, hosted agent VM, or corporate network that blocks UDP and only allows HTTPS CONNECT through a proxy has the same shape. If direct TCP to port 443 is allowed, plain compat mode is enough.