Claude Code Remote Control on Grok Bot's computer

Copy-paste setup so Claude Code runs on Grok Bot's computer with Remote Control: install, auth via secure form, tmux rc-server, hourly restart routine. Lets you start/control sessions from the Claude phone app without Tailscale.

Copy it

Set up Claude Code with Remote Control on your computer:
Install Claude Code with the official script: curl -fsSL https://claude.ai/install.sh | bash
Run claude auth login --claudeai in tmux, send me the sign-in link, and ask for the code through a secure form. Don't use claude setup-token, because it can't do Remote Control.
Start the Remote Control server in tmux: tmux new-session -d -s rc-server -c /workspace 'env -u CLAUDE_CODE_OAUTH_TOKEN claude remote-control --name "Grok Bot"'. Answer y to the trust prompt and the enable prompt.
Create an hourly routine that restarts rc-server if it's down, since this computer has no service manager.
Never kill the tmux server or rc-server.

Text copied verbatim from the public source, credited to @kenryu42.

Original post by @kenryu42 ↗ Repo / file ↗