Continue a Claude Code session on your iPhone, and back
You started Claude Code in your terminal, it is mid-task, and you have to go. Starting over on the phone throws away the context it built. Take the conversation with you instead.
The other ways first
- Claude Code Remote Control.
claude remote-controllets you follow and answer the conversation of a Claude Code session from your phone, through Anthropic's API. For one Claude Code session it is the shortest path, and it is already installed. See how it compares. - Resume by hand. Claude Code and Codex keep conversations on disk and
reopen them:
claude --continueorclaude --resume,codex resume. Quit the tool at the desk, reach the Mac over SSH from a phone, run the same command in the same folder. Free, and enough if you already live in SSH and tmux.
ShiftStage does that last route for you, from either side, without SSH — and for five CLIs rather than one.
Why the conversation moves, not the process
The process running in your Terminal, iTerm or IDE window belongs to that window; nothing can lift it out. But Claude Code, Codex, Gemini CLI, Qwen Code and opencode all write the conversation to disk and continue it by key in a new process. So ShiftStage stops the tool in your window cleanly, with a termination signal that leaves its record intact, and starts it again with its resume command in the same folder — this time in a terminal the Mac keeps for the phone. The model receives the whole earlier history; you keep reading where you stopped.
From the Mac to the phone
- Leave the tool running in whatever terminal you started it in.
- On the iPhone, open the Mac, go to Terminal & AI and look under In Mac terminals. Each row names the tool, the folder and the app it runs in — "Terminal", "iTerm", "Visual Studio Code" — so you can tell your windows apart.
- Tap Continue here. The tool quits in the window, the shell stays, and the conversation opens on the phone with its history.
Seeing the list needs nothing. Moving a session stops a process the app did not start, so it waits for your permission at the Mac: Continue sessions from Mac terminals in the agent's settings, Security tab, off until you turn it on. The folder has to be one the Mac shares.
From the phone back to the Mac
Back at the desk, open the ShiftStage agent's window on the Mac, tab
Sessions. Each running AI session has Continue in
Terminal: the session ends politely, and the terminal app you use for
.command files opens in the session's folder with the resume command already
running — claude --resume with the right key, or the equivalent of the tool. If
the tool does not quit within a few seconds, nothing opens and the session stays on the phone,
so one conversation is never driven from two places.
This button lives on the Mac on purpose: a terminal window popping up on an empty desk because someone tapped a phone would be a surprise, not a feature.
A session that already ended
Finished an hour ago and need one more step? An ended session keeps its conversation key, and the phone can continue it as a new session in the same folder, with the context the tool still has.
Where it stops
- Five CLIs: Claude Code, Codex, Gemini CLI, Qwen Code, opencode. Cursor Agent, Amp, Crush, Goose, Aider and Factory Droid run in ShiftStage too, but it does not know where they keep a conversation, so it offers no continuation instead of a fake one.
- Two copies of Gemini CLI or opencode in one folder cannot be told apart; neither is offered.
- Scrollback of the window and an interrupted turn do not move — the conversation does.
- Each tool decides how long it keeps a conversation. A key it no longer knows starts a fresh one, and the session says so.
- Through
sshor a container the tool runs on another machine, and is an ordinary terminal here.
Set it up once
- Install the agent on the Mac. A signed, notarised app from our open
Homebrew tap. It shares only the folders you name.
brew install --cask shiftstage/shiftstage/shiftstage-agent - Install the app on the iPhone from the App Store.
- Pair them. Scan the code on the Mac's screen and confirm the same symbols on both devices. No account. The first pairing needs both on the same network.
On the same Wi-Fi the phone talks to the Mac directly; away from home the connection goes peer to peer, or through a relay that forwards only end-to-end encrypted bytes. More on the session itself in running Claude Code from the iPhone.
Get it
The Mac agent: download page — one Homebrew command or a notarised disk image. The iPhone app: App Store. Free forever for one Mac on your own network, no account; $7.99 a month or $69.99 a year to reach it from anywhere.
More guides: all guides.