Code from your phone with Claude Code on an old laptop
Set up an old laptop running Claude Code, reachable over Tailscale and driven from the Termius app on a phone.
Real AI agent use cases, with sources and setup prompts
Short answer: The agent keeps running on your computer and your phone becomes a window into it. For Claude Code, run claude remote-control (or /remote-control inside a session) and open the session in the Claude app's Code tab; it needs a Pro, Max or Ultra plan, not an API key. For Codex, pair the ChatGPT desktop app with the ChatGPT mobile app under Settings > Connections and open Codex on your phone. For Cursor, turn on Remote Control under Settings > Agents in the Agents Window (Cursor 3.9.8+), run /remote-control, and pick the session up in the Cursor iPhone app; on Android use cursor.com/agents installed as a web app. For any terminal agent, start it inside tmux, join your computer and phone to a free Tailscale network, and reconnect with an SSH app such as Termius using tmux attach. Keep the computer awake, keep approvals on for risky commands, and never open SSH ports to the internet.
Three working setups, with exact commands, for steering Claude Code, Codex or any terminal agent from your phone without losing the session. 24 matching use cases below, each with a public source.
Looking for something else? Search all 1965 use cases or .
| Tool | What it does here | Price | Link |
|---|---|---|---|
| Claude Code Remote Control | Built into Claude Code: links a session running on your computer to the Claude app or claude.ai/code, with push notifications, file attachments and a diff view. Outbound HTTPS only, no open ports. | Included with Claude Pro ($20/mo, $17/mo billed yearly), Max, Ultra, Team and Enterprise; API keys and setup-token tokens aren't supported | Official site |
| Claude mobile app | Where you open Remote Control sessions (tap Code), answer permission prompts and get pushes. | Free app (needs the plan above) | Official site |
| Codex in the ChatGPT mobile app | Start, steer and approve Codex tasks on a paired Mac or Windows PC, or in the cloud, and review diffs, terminal output and screenshots. Preview, rolling out on iOS and Android. | All ChatGPT plans, including Free and Go (OpenAI, preview) | Official site |
| Cursor for iOS and cursor.com/agents | Cursor's iPhone and iPad app (iOS 26+) starts, follows and merges cloud agents, and with Remote Control steers an Agents Window session that keeps running on your computer. Android has no native app yet: open cursor.com/agents in Chrome and tap Install App. | Plans with cloud agents: Premium $30/mo, Super $100/mo, Ultra $200/mo, Teams from $30/user | Official site |
| Tailscale | Private network between your phone and computer, so SSH works from anywhere without port forwarding. Tailscale SSH can replace SSH keys on Linux. | Free Personal plan (up to 6 users, unlimited devices, non-commercial) | Official site |
| tmux | Keeps the agent's terminal running after your phone disconnects; tmux attach brings it back exactly as it was. | Free (open source) | Official site |
| Termius | SSH app for iPhone and Android with Mosh support, which survives switching between Wi-Fi and cellular. | Free plan (SSH, SFTP, Mosh); paid plans add sync | Official site |
| Happy | Open-source (MIT) phone app and CLI that wraps Claude Code or Codex (happy claude, happy codex) and syncs the session to your phone with end-to-end encryption. | Free; uses your existing Claude or ChatGPT plan | Official site |
Prices are from each official page, checked Nov 8, 2026; they exclude tax and can change. Swipe the table sideways on a phone.
Five minutes. Claude keeps running on your machine with your files, MCP servers and settings; the phone only sends messages and approvals. Requires a claude.ai login on Pro, Max, Ultra, Team or Enterprise (on Team and Enterprise an Owner must turn the Remote Control toggle on first).
cd ~/code/my-project
claude remote-control --name "My Project" # server mode: prints a URL; press space for a QR code
# or keep typing locally AND drive it from the phone:
claude --remote-control "My Project"
# already inside a session? type:
/remote-control# inside Claude Code
/config # turn on: Enable Remote Control for all sessions
# Push when actions required (permission prompts on your phone)
# Push when Claude decides (task finished)
/mobile # shows a QR code that opens the Claude app download page
# or in ~/.claude/settings.json
{ "remoteControlAtStartup": true }# Several tasks from the phone at once, each in its own git worktree
claude remote-control --spawn worktree --capacity 4 --permission-mode acceptEdits
# Stopped it with Ctrl+C? Bring the sessions back (works for about 4 hours)
claude remote-control --continue# in the same project folder, within ~4 hours of stopping
claude remote-control # brings back every session the server was serving
claude remote-control --continue # only the session it started with
claude remote-control --session-id <id> # id = the part of the claude.ai/code URL after /code/
# started with claude --remote-control or /remote-control instead?
claude --continue # resumes the conversation and reconnectsunset ANTHROPIC_API_KEY ANTHROPIC_AUTH_TOKEN CLAUDE_CODE_OAUTH_TOKEN ANTHROPIC_BASE_URL
unset CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC DISABLE_GROWTHBOOK
claude auth logout && claude auth login # choose the claude.ai option
claude doctor # shows which eligibility check failed
claude remote-control --verbose # full error if credentials still failAbout five minutes. Codex runs on your Mac or Windows PC with its own projects, credentials and plugins, and the phone shows threads, approvals, diffs, test results and screenshots. Setup has to start from the desktop app, not the Codex CLI.
About five minutes. Two ways to work: cloud agents run on Cursor's machines, so your computer can be off; Remote Control keeps an Agents Window session on your computer, where every terminal command, file edit and test runs, while you steer it from the phone. Needs a plan with cloud agents (Premium and up, or Teams; on Teams and Enterprise an admin enables Remote Control under Dashboard > Cloud Agents > Self-Hosted).
/remote-controlAbout 20 minutes, works with Claude Code, Codex CLI, Cursor's agent, Gemini CLI, Aider or anything else that runs in a terminal. This is the setup most builders in the examples below use, often on an old laptop or Mac mini.
# Mac (the computer that runs the agent)
brew install --cask tailscale # or the installer from tailscale.com/download
# open Tailscale, sign in, then turn on SSH:
# System Settings > General > Sharing > Remote Login: On
tailscale ip -4 # note the 100.x.y.z address# Linux box, old laptop or VPS
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up --ssh # Tailscale SSH: no keys or open ports needed
tailscale ip -4# on the computer, start the agent inside tmux so it survives disconnects
sudo apt install tmux # Mac: brew install tmux
tmux new -s agent # new named session
claude # or: codex, cursor-agent, gemini ...
# detach: Ctrl+b then d (the agent keeps running)
# later, from the phone's SSH app:
ssh you@100.x.y.z # your Tailscale address or MagicDNS name
tmux attach -t agent # pick up exactly where it is
tmux ls # list sessions if you run severalnpm install -g happy
happy claude # starts Claude Code, scan the QR code with the Happy app
happy codex # same for CodexFurther reading: How to run an AI agent 24/7 on an old Android phone or TV box Host the agent on a spare Android phone or TV box and reach it with Remote Control or Telegram.
Further reading: How to run multiple coding agents at once Run several agents in tmux panes, each in its own worktree, and check on all of them from your phone.
Further reading: How to control Claude Code and Codex by voice Talk to the agent instead of typing: built-in /voice, free dictation apps and hands-free tmux.
Written for this setup. Replace anything in [brackets] before you send it.
Right before you walk away from the desk, in the session you'll open on your phone.
I'm leaving my desk and will check in from my phone. Task: [describe the change]. Work in small steps and commit after each one that passes the tests. Ask me before: deleting files, installing packages, changing anything outside this repo, or pushing. When you need me or when you're done, send a push notification and a 5-line summary I can read on a phone: what changed, test results, and the one decision you need from me.
When you open the session on your phone and don't want to scroll.
Give me a phone-sized status update: 1) what you finished, 2) what you're doing now, 3) anything blocked or waiting on me, 4) tests passing or failing with the count. Max 8 short lines, no code blocks.
Before you approve changes from the phone.
Summarize the uncommitted changes for review on my phone. For each file: one line on what changed and why, and flag anything risky (deleted code, new dependencies, auth, payments, migrations, secrets). Then tell me whether the tests cover it. Don't commit yet.
On the computer, once, in Claude Code or Codex.
Set up this [Mac / Linux machine] so I can reach my coding agent from my phone: 1) check whether Tailscale and tmux are installed and install them if not (ask before installing), 2) on Linux run tailscale up --ssh; on macOS tell me how to turn on Remote Login, 3) create a tmux session called agent, 4) print my Tailscale IP and the exact ssh and tmux attach commands to type in Termius. Don't open any ports on my router and don't change firewall rules.
Before you go to bed with a long task running.
Keep working on [task] until it's done or you're blocked. Rules: stay inside this repo, never push or deploy, never delete files outside build output, stop and wait if a test suite fails 3 times in a row. If you get blocked, write the blocker and your best next step to NOTES.md and send me one notification, not more.
When the phone can't reach the session.
I can't reach my agent from my phone. Setup: [Remote Control / ChatGPT Codex / Tailscale + tmux]. Error or what I see: [paste]. Check, in order, and show me each command's output: the agent process is still running, the machine isn't asleep, I'm signed in to the same account, Tailscale status (tailscale status) on both devices, and tmux ls. Don't reinstall or log me out without asking.
In your terminal session, right before you go. Then run /remote-control.
I'm switching to my phone. Before I do: 1. Write a 5-line status of this task: done, in progress, next step, open questions, and any command still running. 2. List anything you'll need my approval for in the next hour. 3. Run the tests once and tell me the result. Then keep going on the next step. Keep every message under 8 lines so I can read it on a phone, and notify me when the tests finish or when you need a decision.
When an agent keeps waiting on small permission prompts while you're out.
I'm on my phone and can only answer yes/no. From now on, batch your questions: collect everything you need from me into one numbered list of yes/no questions, each with your recommended answer, and wait for one reply like '1y 2n 3y'. Don't ask about edits inside this repo. Always ask before deleting files, installing packages, network calls to new hosts, or git push.
New agent in the Cursor app or cursor.com/agents.
Fix this bug: [paste the error or describe what happens, with steps to reproduce]. Find the cause before changing code and tell me in 3 lines what it was. Add a test that fails before the fix and passes after. Run the full test suite, then open a pull request with a summary short enough to read on a phone: cause, fix, test results, and anything risky I should look at in the diff.
From the phone before you sleep, in any session.
Wrap up for tonight. Finish only the step you're on, run the tests, and commit on a branch (don't push to main). Then write me a morning note: what changed, test results, what's left, and any questions. Don't start anything new, and stop any dev servers or long commands you started.
Related guides: How to save, share and resume coding agent sessions · How to run Claude Code and Codex in a desktop app (T3 Code, Codex app, Claude Desktop) · How to let an AI agent use your phone: Grok Bot phone tools, Android over ADB, iPhone Mirroring and a safe emulator test run, with prompts · How to run AI agents overnight while you sleep · How to get notified when Claude Code or Codex needs you · How to run multiple coding agents at once (git worktrees, tmux, Claude Code agent teams, Codex and Cursor) · How to control Claude Code and Codex by voice (built-in /voice, local Whisper and hands-free setups) · How to self-host AI agents at home on a Raspberry Pi, Mac mini or old PC · How to use Claude Code and Codex together (Codex plugin, shared AGENTS.md, worktrees, auto cross-review and GitHub Actions) · How to build Telegram, Discord and WhatsApp bots with AI · How to run AI coding agents in a sandbox · How to run an AI agent 24/7 on an old Android phone or TV box (Termux, 2026)
The Daily 5
Five new real AI use cases every morning. Free. Unsubscribe any time.
Set up an old laptop running Claude Code, reachable over Tailscale and driven from the Termius app on a phone.
A builder moved from Hermes to Claude Code with Opus 5.5 on a Mac mini, with an Obsidian vault as its brain, Tailscale for remote access from every device and a Telegram connection for daily reports and conversations.
A practical guide to running coding agents in named, detachable tmux sessions that survive a closed terminal or dropped SSH link. It starts with the built-in claude --worktree --tmux, then shows send-keys to type into any agent from a script and capture-pane to read its output back, and where tmux stops being enough.
For people running agents in tmux and checking on them with Termius and Tailscale, Tenax lets you sign in and see your sessions without SSH keys or a VPN. It pings you when an agent needs you or finishes.
Built TermHub, an Android SSH terminal aimed at driving Claude Code, Codex or Cursor Agent on your own machine with one-tap Esc, Shift-Tab and Ctrl-C.
Built Herdr Remote so you can read output, send prompts and review changes for Claude Code, Codex and OpenCode sessions on a Linux PC from Android.
torii is an open-source tool that connects Claude Code or Codex to a Telegram chat on your own computer: each project gets its own thread, a manager agent hands out work and it rotates accounts when a subscription runs low.
A developer codes with Claude Code from a MacBook, iPad or iPhone against one Mac mini, but closing a window killed the session. He built Cockpit, which runs Claude in a daemon so conversations survive and follow him across devices.
A builder vibe coded a setup using Claude Code's self-hosted runners feature plus Tailscale, so the same dev environment works seamlessly across laptop, web and mobile. The box also runs Paper so the whole team can design on it.
Built claude-master: all sessions in one view on phone and watch, reply by tap or voice, replies read aloud, live quota; even the demo video is code.
A developer made an iOS app that flips between individual Claude Code, pi and other coding agent sessions with swipe gestures, and shows mockups right in the app instead of local or Tailscale links.
Built Lidless for timed closed-lid sessions that stay verified, journaled and restored so Claude Code and SSH agent runs survive closing the Mac.
Found the Rork app builder in November and launched his first app on December 16.
From his phone, ZazenCodes gets Codex on his computer to spin up Claude Code and pull its review of what Codex built.
A dad gave Grok Bot access to his phone and now asks things like "What's on my calendar today?", "Add dentist tomorrow at 3 PM", "Remind me to renew my car registration", "What's my plumber's phone number?" and turns Apple Home lights off by asking.
He built a mobile game with code from Claude Opus 5.5 and voice and sound from ElevenLabs, with no game engine and no paid assets.
A friend's battery died overnight and he believed someone knew where he'd been, so tezzarc made a backup of the iPhone, opened Claude Code with Opus 5.5 and asked whether it showed signs of spyware.
A step-by-step Claude Code prompt: photograph the label under your vacuum, let the agent take apart the vacuum's phone app with the REA tool to list every server it calls, watch one cleaning run on your router, then sort servers into needed to clean, needed for the app and not needed, with one rule to block each unneeded server and one to undo it.
Matt Van Horn asked Claude Duet to make something for his last30days project; it found four YouTube-related issues, and when he said "make a PR to fix it" it did, almost without questions.
A Shopify seller's Grok Bot gave her site a phone-friendly look with simpler menus, rewrote her About page, fixed product listings and shopping settings, and ran a security check, all in under a week.
He wanted a container sandbox for agents, so the harness runs on an internal-only network while a sidecar container injects credentials as a proxy. Claude Code built it quickly, with HTTPS and SSH working.
Running 6 Shopify apps with Claude Code and Codex on three or four at once, he found agents finished in 20 minutes and then sat idle waiting for him to answer "ship it or keep testing?". He set them up to call him.
Grok Bot wrote a Halloween shopping list in Google Keep and found a raven costume in the Amazon app, all on a real Android phone through one mobilerun-mcp call (pip install mobilerun).
Grok Bot's iOS and Android apps gained local phone tools: it can read and send messages, check your calendar and create events, set reminders, look up contacts and more, straight from a chat.
The Daily 5
Five new real AI use cases every morning. Free. Unsubscribe any time.
How to make faceless YouTube videos with AI: tools, commands, prompts and YouTube's 2026 rules · How to automate work with n8n and AI · How to vibe code an app with Claude Code · How to build AI agents for SEO and ads · How to run multiple coding agents at once (git worktrees, tmux, Claude Code agent teams, Codex and Cursor) · How to build an MCP server for AI agents · How to add memory to Claude Code, Codex and Cursor: CLAUDE.md, AGENTS.md, auto memory and shared MCP memory (2026) · How to secure a vibe-coded app before you launch · How to observe and debug AI agents · How to build agent memory and context layers · How to add payments to vibe-coded apps · How to run local LLMs with AI agents (Claude Code, Codex and OpenCode on Ollama, LM Studio or llama.cpp) · How to set up Grok Bot agents for real work: first Bot, routines, webhooks and a team of Bots, with prompts · How to build with Gemini 4 Argon (API, Antigravity CLI, and the Dec 1 2026 price change) · How to use AI for taxes, bills and budgets: build a budget from bank CSVs, catch bill increases and check your tax return · How to make AI video ads and Reels with agents · How to set up Hermes Agent workflows · How to vibe code a game with AI: one-file browser games, Phaser 4 and Godot 4.7, with an AI playtest loop and 13 prompts · How to replace SaaS subscriptions with vibe-coded tools · How to use AI agents for errands, calls and shopping · How to use Cursor agents and automations · How to make 3D scenes and models with AI and Blender (Blender MCP, Claude, Codex): step-by-step · How to use Claude Code skills and plugins · How to cut Claude Code, Codex and Cursor costs: commands, settings and prompts that save tokens (Nov 2026) · How to automate a small business with AI agents · How to compare AI models on the same prompt · How to build hardware projects with AI agents · How to make an AI music video for your song (Suno, Grok Imagine, Kling, Veo) · How to use AI agents with Obsidian notes (CLI, Claude Code, MCP) · How to build apps and games for your kids with AI · How to use ChatGPT for real projects and everyday tasks · How to make AI agents ask for approval before they act · How to build AI trading and investing agents (Alpaca MCP and a six-agent Grok Bot desk) · How to build AI agents that make and answer phone calls · How to plan meals and groceries with AI (weekly plan, shopping list, Instacart cart in ChatGPT, Claude or Gemini) · How to use AI agents for fitness and health · How to undo, checkpoint and stop runaway coding agents · How to use AI agents for job hunting · How to automate social media posts with AI agents · How to build a smart home and voice assistant with AI agents · How to make money with AI agents: 4 setups real people get paid for (local websites, affiliate sites, digital products, freelance gigs) · How to build a website with AI agents · How to use AI agents for research: literature reviews, citations and papers (Claude, Zotero, Elicit) · How to build an iPhone or Android app with AI · How to automate email and your inbox with AI agents · How to use AI agents on Linux servers and homelabs safely (Claude Code, Codex, SSH, Proxmox) · How to build Telegram, Discord and WhatsApp bots with AI · How to research memecoins and crypto with AI agents (read-only first, 2026) · How to remove ads and bloatware from your smart TV with AI (Android TV, Google TV, Samsung, LG) · How to scan and organize receipts and paperwork with AI (ChatGPT, Paperless-ngx) · How to organize and search your photo library with AI (Immich, Google Photos, Videre) · How to check a medical bill for errors and appeal an insurance denial with AI · How to set up local AI security cameras with Frigate, Ollama and Home Assistant (no cloud) · How to set up a Jellyfin media server with AI help (free Plex alternative): Docker, hardware transcoding, remote access · How to lower your electric bill with Home Assistant and AI: energy dashboard, smart plugs, time-of-use automations · How to self-host AI agents at home on a Raspberry Pi, Mac mini or old PC · How to find and cancel subscriptions you forgot about with AI · How to run a private ChatGPT at home on your own computer (Ollama + Open WebUI) · How to build and install your own app on a Samsung TV with AI · How to fix a printer that won't print with AI · How to learn anything with an AI tutor: ChatGPT Study mode, Gemini Guided Learning, NotebookLM flashcards and Anki (2026) · How to build an AI second brain (Karpathy-style LLM wiki) with Obsidian and Claude Code: setup, prompts and costs · How to reverse-engineer and revive old devices with AI · How to edit videos with Claude Code and Codex: cut footage with ffmpeg, Whisper and auto-editor, find scenes and bad frames, drive DaVinci Resolve over MCP (2026) · How to set up an AI family assistant · How to make a Godot or Unity game with AI: Godot AI, Unity CLI and MCP setups for Claude Code and Codex · How to build a custom Android TV or Google TV launcher with AI (manifest, adb commands, HDMI inputs and prompts) · How to use Claude Code and Codex together (Codex plugin, shared AGENTS.md, worktrees, auto cross-review and GitHub Actions) · How to build your own invoicing and bookkeeping app with AI · How to make a browser arcade game with AI (Claude Code, Codex, three.js, 2026) · How to make a product demo or launch video with AI (Claude Code, Remotion, HyperFrames and Playwright) · How to fix Wi-Fi and secure your home network with AI (Nmap, Pi-hole, NextDNS, UniFi) · How to control Claude Code and Codex by voice (built-in /voice, local Whisper and hands-free setups) · How to design a PCB and electronics with AI · How to save, share and resume coding agent sessions · How to run AI coding agents in a sandbox · How to make a multiplayer game with AI · How to let AI control your computer: Claude, Codex, Windows-MCP and Playwright setups with prompts · How to build a Mac menu bar app with AI · How to port code to another language with AI (Claude Code or Codex, golden tests, C to Rust) · How to make an AI animated short film or anime (Seedance, Kling, Grok Imagine, Claude Code) · How to build your own coding agent or harness (Claude Agent SDK, a 60-line loop, Pi, mini-swe-agent and Terminal-Bench) · How to get notified when Claude Code or Codex needs you · How to build a Chrome extension with AI (Claude Code, Codex or Cursor, tested Manifest V3 code) · How to use AI agents with Excel and Google Sheets · How to run Claude Code and Codex in a desktop app (T3 Code, Codex app, Claude Desktop) · How to make a song or album with AI · How to vibe code classroom apps and quizzes as a teacher · How to plan and book a trip with an AI agent · How to make motion graphics and animated videos with Claude Code or Codex (Remotion, HyperFrames, Manim, 2026) · How to mod and reverse engineer games with AI · How to run AI agents overnight while you sleep · How to negotiate bills and get refunds with an AI agent · How to let an AI agent use your phone: Grok Bot phone tools, Android over ADB, iPhone Mirroring and a safe emulator test run, with prompts · How to build a Polymarket bot with AI (and Kalshi): step-by-step with the official SDKs · How to use Claude Duet: setup, connectors, standing instructions, prompts and real examples (2026) · How to build private apps just for yourself with AI · How to design and 3D print things with AI · How to automate customer support with AI agents: real setups · How to find leads and automate sales outreach with AI agents · How to run a Shopify or online store with AI agents · How to launch an app and get your first users with AI · How to build a team of AI agents with a chief of staff · How to make a hand-tracking or gesture-controlled game with AI · How to test your app with AI agents (Playwright MCP, Claude Code, Codex, 2026) · How to give an AI agent a budget or a card safely · How to share passwords and logins with an AI agent safely · How to get AI code review on your pull requests (Claude Code, Codex, Copilot, CodeRabbit and open-source PR-Agent) · How to review contracts, leases and fine print with AI · How to make slides and presentations with AI · How to take meeting notes and track follow-ups with AI · How to scrape websites and extract data with AI agents · How to make a podcast with AI: two-host episodes, cloned voices, clean audio, transcripts and clips · How to use AI agents for security scans and threat intel · How to build a dashboard with AI (Claude Code, Streamlit, Grok Bot Pages and Metabase) · How to clone your voice and make AI voiceovers · How to make AI images, thumbnails and product photos · How to write a CLAUDE.md or AGENTS.md file: one rules file for Claude Code, Codex, Cursor, Copilot and Gemini, with templates · How to build an AI chatbot for your own documents · How to port or remake a classic game with AI · How to build a VST plugin or synth with AI (Claude Code, Codex, JUCE): step-by-step · How to trigger AI agents with webhooks and events · How to find a home or rental with AI (Zillow, Redfin and Apartments.com in ChatGPT and Claude) · How to track Claude Code and Codex usage limits · How to build a daily AI briefing or news digest · How to check if your devices are spying on you with AI (Nmap, Pi-hole, TV ACR) · How to track smart-money wallets and copy trade with AI: Polymarket leaderboard, Solana and Ethereum wallet alerts and convergence rules · How to translate and localize your app or content with AI (i18next, Claude Code, DeepL and fastlane) · How to write and publish a book with AI: editing setup, KDP rules, EPUB commands and prompts · How to control your TV with an AI agent (ADB, Roku ECP, Samsung/LG, Home Assistant) · How to take your robot vacuum off the cloud with AI (Valetudo, Matter, Home Assistant) · How to connect an AI agent to Home Assistant (Claude, ChatGPT, Claude Code, Codex, 2026) · How to let an AI agent do your bookkeeping (Xero, QuickBooks, MCP) · How to run an AI agent 24/7 on an old Android phone or TV box (Termux, 2026) · How to see all your bank accounts in one place with AI
Five real AI use cases with setups, every morning. Free.
The Daily 5 will arrive in your inbox each morning. Unsubscribe any time.
Send the public link (post, video, repo or write-up). We credit you and link back.