← Notes

AI & automation5 min read

Stuck at your desk? Your phone is the remote.

Claude Code and Codex can both be controlled from your phone while the work keeps running on your computer, with your files and tools. How to turn it on in each, what you can do from the sofa, and the one catch: the computer has to stay on and awake.

Watch the reel
Illustration · AI voice

Coding agents like Claude Code and Codex usually keep you at your desk. You start a task, it asks a question or needs an OK, and you have to be there to answer. They don't have to work that way anymore. Both can now be controlled from your phone.

The phone is just the remote

The important part is where the work happens. The agent keeps running on your computer. Your phone only sends messages and approvals to it.

Claude Code runs commands and accesses files on the machine where you started the session. Codex uses the files, tools and settings of the connected computer. The conversation and progress sync across devices so you can follow the work from your phone.

A phone sending a signal to a laptop, where a progress bar fills in, with the label The remote control.
From the reel. The screens are illustrations.

Claude Code: one command

If you're already in a Claude Code session, type:

/remote-control

(or the short form /rc). The first time, Claude Code asks you to confirm with Enable Remote Control. After that, the session connects and carries over the conversation you already had.

Then pick it up on your phone:

  1. Open the Claude app and tap Code.
  2. Find your session in the list. Sessions connected this way show a computer icon with a green dot when they're online.
  3. Tap it, and you're in.

You can also open the same session from a browser at claude.ai/code. If you'd rather scan a QR code, run /remote-control again: it opens a status panel with the session link and a QR code. And if you don't have the Claude app yet, /mobile shows a QR code that takes you to the right app store.

The same command works in the Code tab of the Claude desktop app and in the VS Code extension. From a terminal, claude --remote-control starts a new session with it already on.

Who can use it: Pro, Max, Ultra, Team and Enterprise plans. API keys aren't supported. On Team and Enterprise, an Owner has to turn on Remote Control in the admin settings first.

A Claude Code terminal showing /rc active, next to a phone with the Claude app's Code tab listing three sessions marked Remote Control.
Illustration from the reel. Not a real session.

Codex: pair your phone

For Codex, the computer needs the ChatGPT desktop app on macOS or Windows. On your phone, install the latest ChatGPT app for iOS or Android. Availability can vary as OpenAI rolls out the feature.

  1. On the computer, go to Settings › Connections › Control this Mac or PC, then Set up or Add.
  2. Scan the QR code it shows with your phone.
  3. Confirm it's the same account and workspace, and finish any sign-in step it asks for.

The pairing is per phone and per computer: if you want to control two computers, you pair each one. If you use Codex through a ChatGPT workspace, OpenAI notes that your admin may need to enable this first.

The path Settings › Connections › Control this Mac or PC above a desktop window with a QR code, and a phone with the ChatGPT app scanning it.
Illustration from the reel. The QR code is drawn, not real.

What you can do from the sofa

Once you're connected, you're not just watching. Here's what each guide lists:

Claude CodeCodex
Talk to itSend messages from your terminal, browser or phone, interchangeably, and attach a photo or file from your phoneSend follow-up instructions, answer questions and steer active work
ApprovePush notifications for permission prompts and questions (turn on "Push when actions required" in /config)Approve commands and other actions
ReviewSee the conversation as it happens, and a diff of your changes when the project is in a git repositoryReview outputs, diffs, test results, terminal output and screenshots

In the reel we sum it up as approve, steer and review. That's the useful part: the agent can keep going on a long task while you answer the one question that would otherwise stop it.

A checklist titled From the sofa with Approve, Steer and Review, all ticked.
From the reel.

The catch: stay on and awake

Because the work runs on your computer, the computer has to stay on, and the app running the session has to stay open.

  • Claude Code: it can reconnect when your machine comes back online after sleep or a brief network drop. If you close the terminal or quit the app that runs the session, it goes offline until you bring it back.
  • Codex: remote access pauses while the computer is asleep, offline or the app is closed. The Connections page on Mac has a Keep this Mac awake option that works while the computer is plugged in.

So in both cases the remote pauses; it doesn't break for good. But a laptop that goes to sleep in your bag won't get much done.

Our way around it: a spare computer that's always on, like an old laptop plugged in at home or a small desktop. Start the session there, and your phone can reach it whenever you need it.

Two scenes, one above the other. Top: a sleeping laptop with App closed and a phone whose remote shows a pause sign. Bottom: Your laptop, sleeps when closed, crossed out, versus Spare computer, always on, ticked.
From the reel.

Lock your phone

The end of the reel is a joke, but it makes a fair point: whoever picks up your unlocked phone can type into a session that runs on your computer. Lock your phone, and keep the usual approvals on for anything that matters.

The connection itself is set up with care in both cases:

  • Claude Code connects over outbound HTTPS. During the connection, Anthropic stores the transcript on its servers to sync your devices. You can restrict access to verified devices with Require trusted devices, which is also available to Team and Enterprise owners.
  • Codex uses a secure relay to connect your authorized devices. Sandboxing and action approvals still apply.
An unlocked phone in a my-project session where a hand labelled roommate has typed Make every button pink.
From the reel. Fictional message.

Try it once

Next time you start a long task, turn on remote control before you get up. In Claude Code, type /remote-control and open the session in the Claude app. In Codex, pair your phone once from Settings › Connections. Then leave your desk and answer the next question from wherever you are.

What would you hand off before leaving your desk?

Sources

  • Anthropic: Continue local sessions from any device with Remote Control (consulted 3 December 2026): local execution, the /remote-control command and its one-time confirmation, the session list in the Claude app, the status panel with the QR code, /mobile, the desktop app and VS Code, plans and admin setting, what connected devices see, push notifications, reconnecting after sleep, outbound HTTPS only, stored transcripts and Trusted Devices.
  • OpenAI: Remote connections (consulted 3 December 2026): ChatGPT desktop app on macOS and Windows, mobile availability on iOS and Android, the Settings › Connections › Control this Mac or PC path, QR pairing, same account and workspace, admin note, what you can do from the phone, where files and commands run, what happens when the computer sleeps, Keep this Mac awake, and the secure relay.

The screens in the reel are drawn illustrations, not screenshots of Claude Code, Codex or the ChatGPT app, and not a recording of a live session. The sessions, the roommate's message and the QR codes are fictional. The spare computer is our own suggestion. Product details come from Anthropic's and OpenAI's guides and can change; check them before you rely on them. AI voice generated with ElevenLabs. Music: “Rock the Game” by Ahjay Stelino (Mixkit).

↑ Back to the top