Claude Code's native Remote Control, kept alive.
A tiny tmux layer that runs claude remote-control servers and long-lived sessions,
resurrects them when they die, and shows them all in one live dashboard.
No new agent runtime, no workspace app. Just Claude Code, supervised.
Install · Quick start · Dashboard · How it works · Config
Claude Code already ships Remote Control: run claude remote-control, scan the QR code, drive the session from your phone. It works. What it doesn't do is stay up. Close the terminal, drop the SSH connection, reboot the box, and the server is gone along with the sessions it spawned.
crc fixes exactly that and nothing else. Every server and session lives in a detached tmux pane, a cron watchdog brings back anything that dies, and a dashboard shows the whole fleet. Your phone still talks to Claude through the native remote. crc never proxies it, wraps it, or replaces it.
Survives closed terminals. Servers and sessions run in detached tmux. Disconnect, sleep your laptop, come back later.
Heals itself. crc heal runs from cron every 2 minutes and restarts anything dead, with a restart cap so a crash loop doesn't spin forever.
Resumes the right conversation. Fired sessions are pinned to their Claude session id. When one dies it comes back with --resume <id>, not with whatever conversation in that folder happened to be newest.
One dashboard for all of it. A live web view of every server and session: status, last output, restart and kill buttons, spawn a new one. It starts by itself after install and whenever crc launches or heals something.
Native remote stays native. No relay, no account, no custom protocol. Servers are plain claude remote-control, and healed sessions relaunch with --remote-control. Use the Claude mobile app or claude.ai/code as usual.
Restart without losing anything. crc restart updates Claude Code, then bounces every server and session in place. The managed set and each session's conversation survive.
Small enough to read. One bash script, one Python file with no dependencies, one helper. No daemon of its own, no database, no build step.
curl -fsSL https://raw.githubusercontent.com/maxtechera/crc/master/install.sh | sh -s -- --with-cronThat links crc and crc-dash into ~/.local/bin, installs the watchdog cron entries, and starts the dashboard. Drop --with-cron if you'd rather manage the schedule yourself.
Requires tmux, python3 and the claude CLI. fzf is optional and adds interactive pickers. Works on Linux, macOS and WSL.
As a Claude Code plugin
/plugin marketplace add maxtechera/crc
/plugin install crc@crc
This adds the crc skill, so Claude knows how to start, restart and inspect your servers when you ask. The skill drives the CLI, so install the CLI too.
Windows keep-awake (optional)
If the machine running crc is a Windows PC with the servers inside WSL, this stops it sleeping and boots the distro at logon. No admin needed.
powershell -ExecutionPolicy Bypass -File windows\install.ps1 -Distro Ubuntucrc up # pick projects, one Remote Control server each
crc fire my-app # a self-healing interactive session in ~/dev/my-app
crc status # what's running server rc-dev /home/you/dev
session cc-my-app /home/you/dev/my-app [healed]
session cc-api /home/you/dev/api [healed]
Open the QR code for a server with crc attach rc-dev and press space, then continue from your phone.
┌─ crc ── 3 sessions · 1 server ─────────────────────────────────────┐
│ [ project ▾ ] [ or a path ] [⚡ Session] [+ Server] Heal · Restart all │
├────────────────────────────┬───────────────────────────────────────┤
│ cc-my-app session healed │ cc-api session healed │
│ ~/dev/my-app ↻ ✕ │ ~/dev/api ↻ ✕ │
│ live pane output… │ live pane output… │
├────────────────────────────┴───────────────────────────────────────┤
│ rc-dev server healed ↻ ✕ │
└────────────────────────────────────────────────────────────────────┘
crc dash prints the local, Tailscale and LAN URLs (default port 8787). Zero dependencies: it is a single Python file on the standard library, streaming over server-sent events.
The dashboard can spawn, restart and kill sessions and has no login. Reach it over Tailscale or a firewalled LAN, never the open internet.
| Command | What it does |
|---|---|
crc up [proj…] |
Start Remote Control servers (fzf picker with no args) |
crc fire <proj> |
Start a self-healing interactive session, permission prompts off |
crc status |
List servers and sessions with [dead] and [healed] marks |
crc restart [servers|sessions|names…] |
Update Claude Code, then bounce in place, keeping the managed set |
crc down <name|all|servers|sessions> |
Stop and stop healing |
crc manage / crc unmanage <name> |
Put a running one under heal, or take it out |
crc attach [name] |
Attach to its tmux pane (space shows the QR code) |
crc heal |
Restart dead managed ones. This is what cron runs |
crc dash [port] |
Print dashboard URLs; crc dash stop stops it |
crc resume |
Pick a project and claude --resume to recover an orphan |
phone / claude.ai/code
│ native Remote Control (unchanged)
▼
┌── tmux ─────────────────────────────┐ cron, every 2 min
│ rc-<proj> claude remote-control │◀────── crc heal
│ cc-<proj> claude (resumes by id) │ (backoff: 5 restarts / 10 min)
│ crc-dash live dashboard :8787 │
└─────────────────────────────────────┘
- Restart is careful. Before relaunching, crc waits for the old process tree to finish its remote-session cleanup, so a restart doesn't race a shutdown. It also refuses to restart the tmux session it is running inside, so a phone-driven session can't kill its own host.
- A failed resume stays visible. A session that can't resume its pinned conversation is left as a dead pane with the error, never silently replaced by a new conversation.
- Servers are bound to their process. Claude's Remote Control sessions belong to the server that spawned them, not the directory. If a server dies,
crc resumerecovers the conversation from the transcript on disk.
| Env | Default | |
|---|---|---|
CRC_DEV_ROOT |
~/dev |
Where project names resolve |
CRC_PERM |
bypassPermissions |
Permission mode for every session crc starts |
CRC_SERVER_PERM |
auto |
Servers reject bypassPermissions on some Claude versions |
CRC_SPAWN |
same-dir |
--spawn mode for servers (worktree, session) |
CRC_DASH_PORT |
8787 |
Dashboard port |
CRC_NO_UPDATE |
unset | Skip claude update on restart |
State lives in ~/.local/state/crc/.
Sessions run with permission prompts off by default so a detached session never sits blocked on an approval nobody can see. Set
CRC_PERM=acceptEdits(or another mode) if you want the prompts.
Tools like herdr, cmux, Superset and Paseo build a workspace or runtime around your agents: their own terminal, worktree management, mobile clients. If you want that, use them.
crc is for people who already like Claude Code's native remote and only want it to stay up: supervision, healing and a status page, in two small files you can read in one sitting. It works with Claude Code only.
MIT © Max Techera