Run Codex from your phone
What works
| Feature | Codex |
|---|---|
| Grid preview, status and Inbox | Yes; if status looks wrong, see Troubleshooting |
| Chat and Terminal | Yes; Chat needs the hook |
| Remaining context and subagents | With the hook |
| Approval alerts | Yes, without Approve or Deny: answer in the session |
| Plan usage | Monthly credits, for a credit-metered workspace |
| Token cost | Yes |
| Slash command menu, notice buttons, draft sync and pull request watch | No |
| New task | Yes, with Resume, in herdr, Herdr Core or Rex |
Set up
-
Install herdr's Codex hook, and again after every herdr update:
herdr integration install codexcollied doctorchecks it once~/.codex(or$CODEX_HOME) exists. -
Start Codex tasks from the phone, or run
codex --no-daemonyourself.
Herdr Core and Rex
herdr's hook does nothing in Herdr Core (herdr-core) or Rex, so Chat, remaining context and keeping an open session out of Resume need collied's own hook there. Add a second entry to SessionStart in ~/.codex/hooks.json (or $CODEX_HOME/hooks.json), beside herdr's:
{ "hooks": [{ "type": "command", "command": "~/.cargo/bin/collied hook", "timeout": 5 }] }
The next time Codex starts, it asks you to review the new hook: trust it. Run Codex with --no-daemon in Herdr Core and Rex too; a Codex on the shared daemon reports every session from the terminal that started the daemon, so collied ignores those reports. A Codex that was already running reports its session at its next start, /new or resume. collied doctor checks the hook. Codex tasks the phone starts in Herdr Core or Rex run with --no-daemon.
Why --no-daemon
With --no-daemon, each pane reports its own session, also after /new or a resume, but each window runs its own server and uses more memory. To move a session off a shared daemon, finish the current turn, then relaunch it in the same pane with its own session ID:
codex resume <session-id> --no-daemon
Plan usage
collied reads the credits from the local Codex app-server every five minutes; Codex keeps its sign-in token. The row clears after you sign out or switch to an account without a monthly limit.
Startup prompts
When a new task meets a startup prompt, such as folder trust or the update picker, it stops without sending your prompt. Open the session and answer the startup prompt in Terminal: choose an option with the arrow keys or its digit and press Return, or press Esc. Then send your prompt.