| # | Command | Tool | Category | Tool |
|---|---|---|---|---|
| 1 | /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 |
| 2 | /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 |
| 3 | /mcp List configured Model Context Protocol (MCP) tools. Pass 'verbose' for server diagnostics. | Codex CLI | integrations | Codex CLI |
| 4 | /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 |
| 5 | /skills Browse and use local skills to improve task-specific behavior by loading relevant skill context. | Codex CLI | configuration | Codex CLI |
| 6 | /status Display session configuration and token usage — active model, approval policy, writable roots, and context capacity. | Codex CLI | diagnostics | Codex CLI |