VibeCorral answers Codex CLI approvals, questions and plans

OpenAI's Codex CLI stops for approvals, questions, and plan reviews in its own terminal. VibeCorral finds Codex sessions in ~/.codex, shows what they wait on, and lets you answer it in place.

  • Tested with0.162.1
  • Hook events8
  • Capabilities10 of 10
  • Commandcodex

Updated

Codex CLI session tile in VibeCorral

Support at a glance

Finds sessions started outside VibeCorralYes
Answer approvals in a VibeCorral sessionYes
Answer the agent's questionsOne at a time
Review and approve plansYes
Answer approvals of sessions in your own terminalYes (turn on in Settings)
Change mode, model or effort liveMode, model, effort
UsageExact tokens, rate limits
Context meterYes
Subagents shown under their parentYes
Line comments sent backYes
Where sessions are read from~/.codex/sessions/YYYY/MM/DD/rollout-<ts>-<uuid>.jsonl

Compare all six agents

Where Codex keeps its sessions

Codex writes each session as a rollout file, ~/.codex/sessions/YYYY/MM/DD/rollout-<ts>-<uuid>.jsonl, and moves archived ones to archived_sessions/. VibeCorral reads both folders and honors CODEX_HOME when you moved the data root.

Codex also writes rollouts for subagents and for its own internal threads, such as guardian auto-review. VibeCorral keeps those out of the session list and shows subagents under their parent, so one task does not turn into five tiles.

Sessions VibeCorral starts run with --no-daemon, so each hook event lands on the right tile; newer Codex releases otherwise share one background daemon across sessions. Compressed .jsonl.zst rollouts, which Codex keeps behind an off flag, are not read yet.

Which hooks VibeCorral installs, and what it leaves alone

VibeCorral adds 8 hook events to ~/.codex/hooks.json: SessionStart, UserPromptSubmit, PreToolUse, PostToolUse, PermissionRequest, Stop, Interrupt and SessionEnd. Most run in the background with a 5 second timeout. SessionEnd and Interrupt run synchronously with 3 seconds, the maximum Codex allows for those two.

Codex runs a new or changed hook after you approve it. Type /hooks in a Codex session and accept the VibeCorral entries; until then Settings shows that the hooks wait for approval, and status comes from the terminal alone. A reinstall changes the entries, so Codex asks once more.

VibeCorral never touches config.toml or the notify program you set there. It backs up hooks.json before writing, and uninstalling restores it byte for byte when nothing else changed it.

Approvals from your own terminal

Turn on Answer approvals in VibeCorral in Settings, and VibeCorral adds a synchronous PermissionRequest hook for Codex. A command approval from a Codex session in your own terminal then shows up as a card. The hook waits up to 60 seconds for your Allow or Deny; with no answer, Codex shows its own prompt as if the hook were not there.

Codex lets this hook allow or deny, not approve for the rest of the session, so the don't-ask-again options stay in the terminal. Sessions VibeCorral runs never wait on this hook, because their dialogs are answered in the tile.

Setting up Codex in VibeCorral

  1. Install Codex CLI

    Use OpenAI's script, npm or Homebrew and sign in. Restart VibeCorral if it was open, so it finds the binary.

  2. Open VibeCorral

    Rollouts already on disk appear as sessions, archived ones included.

  3. Install hooks

    Open Settings, Agents and hooks, and click Install hooks.

  4. Approve them in Codex

    Start a Codex session, type /hooks and accept the VibeCorral entries. Settings then switches from Hooks wait for approval to Hooks installed.

  5. Optional: answer from VibeCorral

    Turn on Answer approvals in VibeCorral for Codex sessions that keep running in your own terminal, then accept the new entry in /hooks too.

What works with Codex today

  • In a session VibeCorral runs, it reads Codex's approval, question, plan and folder trust dialogs from the screen and answers with the digits Codex expects. Questions arrive one at a time, the way Codex asks them.
  • Model, effort and mode, live
    Shift+Tab toggles Plan, /permissions changes the approval policy, and the model and effort pickers change the running session without rewriting config.toml.
  • Codex reports exact token counts and its primary and secondary rate-limit windows in the rollout, and VibeCorral shows them as they arrive.
  • Context fill comes from Codex's own last-turn usage against the model's window. VibeCorral can type /compact or /new into a session it runs.
  • Subagents appear under the parent session. Line comments on a diff go back to Codex as one review message.
Command palette answering a waiting agent

What does not work yet

  • Plans tab history
    Codex keeps no plan file, so its plans are answered on screen but do not appear in the Plans tab.
  • Several questions or typed notes
    A dialog with several questions, a typed note such as None of the above, MCP elicitation and network approvals are not shown yet. Answer them in the tile's terminal.
  • Ultra effort and dontAsk
    Ultra effort and a live switch to dontAsk are not available, and you cannot change the model while a session is in Plan mode.
  • Compaction and usage detail
    A compacting state is not shown, and reasoning tokens, credits and spend-control flags are not read yet.
  • Hook approval status
    Until the first hook event arrives, VibeCorral cannot tell whether you approved the hooks, so a new, quiet session may show them as waiting for approval.

Troubleshooting

  • Settings says hooks wait for approval
    Type /hooks in a Codex session and accept the VibeCorral entries. A reinstall changes them, so Codex asks again.
  • Terminal approvals do not reach VibeCorral
    Check that Answer approvals in VibeCorral is on and that Codex accepted the new PermissionRequest entry in /hooks.
  • Codex warns about VibeCorral hooks at start
    Older VibeCorral entries gave SessionEnd and Interrupt a 5 second timeout, above the 3 second maximum. Click Reinstall hooks and approve the new entries in /hooks.
  • Your version is newer than the tested one
    VibeCorral is tested on 0.162.1, and Settings tells you when you run a newer Codex. OpenAI says the rollout format is not a stable interface, so a release can change what VibeCorral reads.

Known gaps, counted

Our ranked backlog has 54 open gaps across six agents, and 25 of them touch Codex CLI. 3 more that touched it were fixed on October 16, 2026, and no longer count. The count includes Windows and Linux items. The support matrix shows how this compares with the other five agents.

Try it with your Codex sessions

Free plan with no account, on macOS now. Windows is coming soon.