claude-remote-control-server
Skill1 starsChanged 33 days agoMITView on GitHub
Install, change, or troubleshoot per-repo `claude remote-control` (RC) servers under user systemd, which let claude.ai/code start sessions on this machine.
- Reads credentials
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- blast-radiusSkill
- correctSkill
- councilSkill
- cross-reviewSkill
- docs-reviewSkill
- evidence-bundleSkill
- herdrSkill
- intent-cardSkill
- one-termSkill
- owner-charterSkill
- quotaSkill
- starbridgeSkill
- test-auditSkill
- unnarrateSkill
- unslopSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
Run the installer from the repo.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude Remote Control server
Each repo gets one user systemd service running
claude remote-control --spawn worktree, so claude.ai/code and the Claude app
can start sessions in it, each in its own git worktree.
Install or change a server
Run the installer from the repo. To change a server, run it again with the new values.
CAPACITY=8 install-claude-rc-server-service.sh| Variable | Default |
REPO_DIR | the current git checkout |
SERVICE_NAME | claude-rc-<repo> |
SESSION_NAME | <repo>@<host> |
SESSION_PREFIX | <host>-<repo> |
CAPACITY | 8 |
PERMISSION_MODE | the CLI's default |
DRY_RUN=1 prints the unit instead of installing it. To preview a change, pass
the values the service was installed with plus the new one, and diff:
DRY_RUN=1 SERVICE_NAME=claude-rc-myapp CAPACITY=12 install-claude-rc-server-service.sh \
| diff - <(systemctl --user cat claude-rc-myapp.service | tail -n +2)The installer also enables claude-rc-refresh.timer. A CLI auto-update can
delete the binary a server starts sessions from, so the timer restarts servers
left on an old CLI once no session is mid-turn. Sessions pick up again on their
next message. See reference/cli-updates.md.
Sessions started from claude.ai/code ignore PERMISSION_MODE, because the web
sends its own mode. To stop approval prompts, add permissions.allow rules to
the repo's .claude/settings.json. See
reference/web-spawn-permission-mode.md.
Check a server
systemctl --user status claude-rc-myapp.service
loginctl show-user "$USER" -p LingerExpect active and Linger=yes. active only means the process is up. When
sessions fail to start, plain journalctl hides the errors as
[171B blob data]; reference/cli-updates.md
shows how to read them.
Change a server by re-running the installer, not by editing its unit. The
installer strips ANTHROPIC_API_KEY and similar variables so the server uses
the claude.ai login, and the next install overwrites hand edits.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

