Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Run Codex from your phone

What works

FeatureCodex
Grid preview, status and InboxYes; if status looks wrong, see Troubleshooting
Chat and TerminalYes; Chat needs the hook
Remaining context and subagentsWith the hook
Approval alertsYes, without Approve or Deny: answer in the session
Plan usageMonthly credits, for a credit-metered workspace
Token costYes
Slash command menu, notice buttons, draft sync and pull request watchNo
New taskYes, with Resume, in herdr, Herdr Core or Rex

Set up

  1. Install herdr's Codex hook, and again after every herdr update:

    herdr integration install codex
    

    collied doctor checks it once ~/.codex (or $CODEX_HOME) exists.

  2. Start Codex tasks from the phone, or run codex --no-daemon yourself.

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.