Each coding agent connects to spacesheep on its own, and each one asks you to sign in on its own: eleven machines with five agents each is about fifty sign-ins. One command per machine connects all of them through a single key instead:
npx -y spacesheep@latest install
It signs the machine in once (one link to approve, on any device), then points every agent it finds at spacesheep mcp, a small local server that uses that key: Claude Code (every account on the machine), Codex, Gemini CLI, Antigravity, Cursor, Windsurf, VS Code and opencode. It also puts the /sheep skill where each of them reads skills. Restart the agents that are open, and they have the tools.
Many machines
From a machine that's already set up, the others take one line, over ssh:
npx -y spacesheep@latest install --ssh lab-1,lab-2,gpu-box
A machine that is already signed in keeps its key. One that isn't gets its own, sent over the ssh connection and never shown on screen, so one machine can be revoked in Settings → API keys without touching the rest. With no ssh, run install on each machine; --code ssc_… (from /start) or --key ss_… signs one in with no browser.
What it changes
- An entry that already reached spacesheep (the server's URL, under any name) is replaced, never doubled, so no tool shows up twice. Everything else in each config file stays as it was; a file with comments in it is left alone and named.
- The tools come live from the server, so a new tool needs no reinstall. Run
installagain to refresh the skill. npx spacesheep mcp statusshows which agents go through it;npx spacesheep mcp uninstalltakes it back out.--only codex,cursorlimits either,--dry-runshows what would change.- Keep Claude Code's spacesheep plugin. Claude Code gets the server by its URL, signed in by the machine's key, and (from 2.1.71) skips the plugin's own copy of the same URL, so the plugin keeps
/sheepand/talkand no tool shows twice. --skipleaves out an agent or one Claude home by its folder (--skip .claude-test). A second Claude home counts once Claude Code has run in it.- The local server needs Node.js 20 or newer on each machine;
--sshnames a machine that has none.