My Claude Code remote-control sessions disconnected every time I closed my laptop lid. This was unpleasant. This forced me to move all my AI coding onto the Mac Mini at home and run it all in the “remote-control server” mode. That worked really well - until the Mini rebooted. Nothing came back, and I couldn’t figure out how to get the old sessions going again. So, Claude and I experimented with tmux and claude remote-control server session recovery options, and wrote a small tool to handl all of it: crc . It runs a Claude Code remote-control server per repo, each in its own tmux session, and starts them again after a reboot (launchd on macOS, systemd on Linux). If one dies, it restarts it. Each chat gets its own git worktree, so two chats in the same repo don’t overwrite each other. Old sessions can be revived instead of lost. brew install devsecopsinc/tap/crc https://github.com/devsecopsinc/claude-remote-control It’s bash, MIT, no dependencies beyond tmux and git. Pretty early and built around my own setup, so there are rough edges. If you run agents on a box at home or in the cloud, it might be useful. Let me know if it breaks. Hope you find it useful. As to me, I absolutely enjoy using it. submitted by /u/kurianoff
Originally posted by u/kurianoff on r/ClaudeCode
