promptgarten ๐ŸŒฑ

Command reference ยท Codex CLI

/status

Shows the current status of the running Codex session.

/status is a slash command of the interactive Codex terminal CLI - distinct from the similarly named, leaner variant in the ChatGPT app interface, which only shows chat ID, context usage, and rate limits there. In the terminal CLI, /status provides a full summary of the running session: active model, current approval policy, writable roots, and remaining token/context usage. If the TUI is connected to a remote session, the output additionally shows the remote address and server version. According to the source code, the command can also be called while a task is still running and within a side chat (/side, /btw), without interrupting the running conversation. It changes nothing but only reads the current state - useful for briefly checking which approval mode is currently active before a critical action, or for confirming the new state after switching model or settings. If the overview isn't enough, /debug-config additionally shows the individual configuration layers and their precedence.

โœ… WHEN TO USE IT?

Check the active approval policy before a risky action

/status โ€” check whether an auto-approval mode is active before Codex makes changes to the repository

Confirm the effect after a model or configuration change

Switch /model, then call /status to confirm the newly active model

โ›” WHEN NOT TO?

You want to actively change something in the session, not just look

/status only shows the current state and doesn't make any changes itself.

Better: Use the appropriate commands for changes, e.g. /model, /permissions, or /sandbox commands

You need the exact reason why a configuration layer overrides a value

/status only shows the effective end state, not the individual config layers and their origin.

Better: Use /debug-config to view the precedence and policy sources of the configuration

SOURCES

MORE COMMANDS ยท Codex CLI

/plan/review/diff/resume/new/fork/mcp/skills/goalcodex execcodex reviewcodex resume

All commands ยท Codex CLI โ†’

Share:๐•in๐Ÿ’ฌ