| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /approve Approve one retry of a recent auto review denial — lets Codex attempt a blocked action once under current policy. | Codex CLI | configuration | Codex CLI |
| 2 | /archive Archive the current session and exit. Removes it from active session lists; transcript kept locally. Restore with 'codex unarchive <SESSION>'. | Codex CLI | session-management | Codex CLI |
| 3 | /compact Summarize the visible conversation to free tokens. Use after long runs so Codex retains key points without blowing the context window. | Codex CLI | context-management | Codex CLI |
| 4 | /diff Show the Git diff including files Git isn't tracking yet. Review Codex's edits before committing or running tests. | Codex CLI | code-review | Codex CLI |
| 5 | /fast Toggle the Fast service tier for the current model/thread, or check current state. | Codex CLI | configuration | Codex CLI |
| 6 | /fork Fork the current conversation into a new thread with a fresh ID, leaving the original transcript untouched for parallel exploration. | Codex CLI | session-management | Codex CLI |
| 7 | /goal Set a persistent task goal (max 4,000 chars). Codex tracks it across turns. Subcommands: pause, resume, clear, view. | Codex CLI | planning | Codex CLI |
| 8 | /ide Include open files, current selection, and other IDE context in the next prompt without re-explaining what's open. | Codex CLI | context-management | Codex CLI |
| 9 | /init Generate an AGENTS.md scaffold in the current directory for persistent repo instructions. | Codex CLI | setup | Codex CLI |
| 10 | /mcp List configured Model Context Protocol (MCP) tools. Pass 'verbose' for server diagnostics. | Codex CLI | integrations | Codex CLI |
| 11 | /mention Attach a file or folder to the conversation via popup picker so Codex references it directly in the next turn. | Codex CLI | context-management | Codex CLI |
| 12 | /model Choose the active model (and reasoning effort when available). Opens a picker; press s to switch for the current session only. | Codex CLI | configuration | Codex CLI |
| 13 | /new Start a new conversation inside the same CLI session without clearing the terminal view. | Codex CLI | session-management | Codex CLI |
| 14 | /permissions Set what Codex can do without asking first — switch between Auto, Read Only, or custom permission profiles mid-session. | Codex CLI | configuration | Codex CLI |
| 15 | /personality Choose a communication style for responses — friendly, pragmatic, or none — without rewriting your instructions. | Codex CLI | configuration | Codex CLI |
| 16 | /plan Switch to plan mode and optionally send a prompt. Codex proposes an execution plan before implementation starts. | Codex CLI | planning | Codex CLI |
| 17 | /resume Resume a saved conversation from your session list. Continue work from a previous CLI session without starting over. | Codex CLI | session-management | Codex CLI |
| 18 | /review Ask Codex to review your working tree — summarizes issues, focusing on behavior changes and missing tests. | Codex CLI | code-review | Codex CLI |
| 19 | /side Start an ephemeral side conversation for a focused detour — the parent thread keeps running and its status stays visible. | Codex CLI | context-management | Codex CLI |
| 20 | /skills Browse and use local skills to improve task-specific behavior by loading relevant skill context. | Codex CLI | configuration | Codex CLI |
| 21 | /status Display session configuration and token usage — active model, approval policy, writable roots, and context capacity. | Codex CLI | diagnostics | Codex CLI |