Running Claude Code Remote Control on a Cloud Server via RAgent

A developer has shared a method for running Claude Code's Remote Control feature from a cloud server instead of a local laptop, addressing the common problem where laptop sleep terminates the session.
How It Works
The approach uses RAgent, an open-source project that runs Claude Code in a Docker container. The developer deployed RAgent to Railway, which offers one-click deployment for Docker projects. After deployment, they accessed the web terminal on Railway to run two commands: claude login followed by claude remote-control. This generated a QR code that could be scanned from the Claude mobile app to establish the remote control session.
Key Benefits
- The session runs on the server, so it remains active regardless of whether the local laptop is on, off, or asleep.
- Access is through the Claude mobile app, which provides a better user experience than using a terminal in a phone browser.
- The setup effectively turns a $5/month VPS into an always-on Claude Code machine that can be controlled from anywhere.
Note that the Remote Control feature requires a Claude Pro or Max subscription plan.
The RAgent repository is available at https://github.com/Chris-bzst/ragent for those who want to try this setup.
📖 Read the full source: r/ClaudeAI
👀 See Also

Developer builds macOS banking app with Claude Code in 6 weeks
A developer created simplebanking, a free open-source macOS menu bar app for German banks using Claude Code. The app shows live balances across multiple accounts, provides transaction search, subscription detection, and keeps all data locally.

Using Markdown Files as a Memory System for AI Coding Agents
A developer shares a method using {topic}_LOG.md and {topic}_SUMMARY.md files to persist conversations with Claude Code, solving compaction and agent restart issues by creating a dual memory system with detailed logs and indexed summaries.

Claude Sonnet 4.6 Grades Bug Reports from Four Qwen3.5 Local Models
A developer tested four Qwen3.5 variants by having them generate bug reports for an iOS game issue, then had Claude Sonnet 4.6 grade the reports. The models correctly identified a Swift bug where equipment border colors don't reset, but test code had compilation issues.

Building a Video Generation Pipeline with OpenClaw, ClawVid, and Composio
A developer built a weekend project using OpenClaw as the runtime with Claude as the LLM, integrating Composio for tool authentication and ClawVid with Remotion for video generation. The pipeline creates MP4 videos with voiceover, visuals, music, and subtitles from text prompts.