Slash command
Switch to plan mode and optionally send a prompt. Codex proposes an execution plan before implementation starts.
Syntax
/plan [prompt]Example
/plan refactor the database layer to use connection poolingconfiguration
Choose a communication style for responses — friendly, pragmatic, or none — without rewriting your instructions.
context-management
Attach a file or folder to the conversation via popup picker so Codex references it directly in the next turn.
code-review
Ask Codex to review your working tree — summarizes issues, focusing on behavior changes and missing tests.
session-management
Archive the current session and exit. Removes it from active session lists; transcript kept locally. Restore with 'codex unarchive <SESSION>'.
diagnostics
Display session configuration and token usage — active model, approval policy, writable roots, and context capacity.
configuration
Toggle the Fast service tier for the current model/thread, or check current state.