Let Claude Code operate remote computers as if they were local (Codex and Gemini CLI too) The RockDesk team released a tool that lets coding agents such as Claude Code, Codex and Gemini CLI operate remote machines as if they were local, addressing peers by a 9-digit machine ID over encrypted direct or relayed connections with no router ports opened and no sshd required. The rds command line supports remote shell execution with real exit codes, FUSE-based mounts of remote directories, screenshot-and-click control of GUI apps, port forwarding, file copy and sync, and ships with an agent skill installable as a Claude Code plugin, Codex plugin, Gemini CLI extension or via npx skills. Disclosure: this post is from the RockDesk team. RockDesk is the tool the setup below uses. Claude Code, Codex and Gemini CLI work well on the machine they run on. This guide lets them operate your other computers and devices the same way: It works by machine ID, with nothing to open on the router, and takes about five minutes to set up. The other machine can be a Windows PC, a Mac, a Linux server without a screen, a robot or dev board running Linux, or an Android phone screen, taps and typing . The other machine can sit behind a home router, on the office network or on a mobile connection. The agent runs commands there the way it runs them locally and gets the real exit code back, so && , || and if behave as they do over ssh. A local script can be piped in, and long jobs keep running after the call returns. rds 123456789 shell -c "uptime; df -h /" cat deploy.sh | rds 123456789 shell -c "bash -s" rds 123456789 spawn "cd ~/proj && make -j8" detached: prints the pid and its log file On a Windows machine shell -c runs PowerShell, so the agent writes PowerShell there. rds 123456789 mount :/home/me/project ~/remote-project The remote project now looks like an ordinary local folder. The agent's usual file tools, searches, editors and builds work on it directly, and every change is written straight to the remote machine. When it is done: rds 123456789 umount ~/remote-project . Linux mounts it with FUSE, macOS needs nothing extra, and on Windows the installer brings what is needed and the mount can be a drive letter Z: . For one-off transfers there are rds