Command Overview
Categorize Codex slash commands by role and choose the right command for the job.
Key takeaways
- Codex slash commands fall into five roles: session operations, execution control, safety and permissions, extensions and integrations, and personalization and environment.
- Core command groups teach the everyday commands, while individual pages go deeper on high-value commands teams want to standardize.
- The 2026-08-03 baseline tracks stable/latest and npm
latestat 0.146.0, including paginated history/forks, named and pinned threads, expanded import, Agent Plugins, proxy routing, and MCP/App refresh. - The current official table also covers
/copy,/rename,/pets(/pet),/setup-default-sandbox, and/app, with/subagentsand/btwdocumented as aliases.
Command Categories
- Session operations:
/status,/usage,/clear,/copy,/new,/rename,/resume,/archive,/delete,/quit,/stop,/raw - Execution control:
/model,/fast,/plan,/goal,/review,/diff,/compact,/side(/btw),/approve - Safety and permissions:
/permissions,/setup-default-sandbox,/sandbox-add-read-dir,/approvalsalias - Extensions and integrations:
/mcp,/app,/apps,/plugins,/hooks,/agent(/subagents),/ide,/skills,/import - Personalization and environment:
/personality,/title,/theme,/pets(/pet),/statusline,/keymap,/vim,/debug-config,/logout,/memories
Design work does not use a standalone /design command. Combine extension commands: select Figma, ImageGen, or Playwright through /plugins and /skills, inspect design tools with /mcp, then manage implementation context and results with /ide, /diff, and /review.
Groups vs. Individual Pages
- Core groups teach the commands most users run every day.
- Individual pages go deeper on high-value commands teams may want to standardize.
Current Baseline (2026-08-03 KST)
| Change | Commands | Impact |
|---|---|---|
| Official inventory re-check | /copy, /rename, /pets, /setup-default-sandbox, /app | Adds individual coverage, updates official status, and records /subagents and /btw aliases. |
| Design workflows | /plugins, /skills, /mcp, /ide, /diff, /review | Adds Figma context and screenshots, design-system-aware implementation, ImageGen mocks, and Playwright browser verification. |
| Current stable/latest CLI | /new, /clear, /side, /fork, /import, /plugins, /mcp | Tracks 0.146.0 thread, import, plugin/marketplace, proxy, and refresh changes. |
| Session deletion | /delete, codex delete | Permanently delete the current transcript and spawned descendant sessions; separate deletion policy from archive policy. |
| Cursor and Claude Code import | /import, /diff, /debug-config | Import settings, MCP, plugins, sessions, commands, and project memories, then inspect conflicts. |
| Usage and resets | /usage, /status, /model | Check daily, weekly, or cumulative token activity and earned resets before long runs. |
| Web search and scheduling | /goal, /usage | Covers indexed web-search mode, UTC scheduled reminders, and current-time handling in long-running runbooks. |
| Multi-agent delegation | /agent, /goal | Add delegation modes to task-splitting and parent/child handoff policy. |
| Current CLI baseline | codex plugin marketplace, codex debug app-server, codex app-server | Tracks the 0.139.0 latest release and the 0.138.0~0.139.0 operational deltas. |
| Code mode and MCP compatibility | codex exec, /mcp, /plugins | Covers code-mode standalone web search, MCP input schema preservation for oneOf/allOf, and better large-schema compaction. |
| Diagnostics reporting | codex doctor, /debug-config | Adds editor/pager environment reporting, JSON raw-value redaction, and effective sandbox-mode checks. |
| Desktop handoff | /app, codex app | Hand the current CLI thread into Codex Desktop on macOS or native Windows. |
| Plugin JSON automation | /plugins | Covers plugin add/remove JSON, list --available --json, marketplace source fields, and marketplace install/upgrade. |
| App-server and debug recovery | /status, /debug-config | Covers account token usage, ChatGPT v2 access tokens, and the restored send-message-v2 debug command. |
| Image paths and reasoning UX | /model, /app, /apps | Covers image file-path exposure, reasoning-effort fallback shortcuts, and model-advertised effort ordering. |
| Sandbox and state stability | /debug-config, /permissions, /resume, /fork | Covers codex sandbox -P, network proxy enforcement, resume/fork --last prompt handling, scoped MCP startup warnings, and cloud-managed requirement preservation. |
| Session archiving | /archive, codex archive, codex unarchive | Archive completed or abandoned sessions and protect them from resume/fork until restored. |
| Permission profile maturity | /permissions, --profile | Covers named permission profiles, custom-profile picker display, and profile-file migration. |
| App-server and remote control | /status, codex remote-control pair | Covers manual pairing codes (0.143.0), remote /status, pairing/grant RPCs, and app-server archive events. |
| Plugin inventory automation | /plugins | Adds codex plugin list --json and remote catalog suggestions. |
| Model policy re-check | /model | Removes deprecated gpt-5.3-codex from new standards and separates Cloud task model policy. |
| Expanded official inventory | /approve, /ide, /memories, /raw, /skills, /theme, /vim | Added individual pages after the 2026-05-21 official slash table re-check. |
| Persistent goals | /goal | Track a long-running objective and pause, resume, or clear it. |
| TUI keymap | /keymap | Inspect shortcut contexts/actions and persist custom bindings. |
| Side conversations | /side | Ask a focused side question without disrupting the parent thread. |
| Background terminal cleanup | /ps, /stop | Inspect and stop background terminals owned by the session. |
| Hooks GA | /hooks | Review hook sources, trust changes, and disable non-managed hooks. |
| Plugin workflow expansion | /plugins, /apps | Manage plugin inventory, marketplace sources, sharing, and app mentions. |
| MCP diagnostics | /mcp | Use verbose for server-level diagnostics. |
| Reasoning/model switching | /model | Switch model and reasoning where supported; use Alt+, for quick effort changes. |
| Footer/title customization | /statusline, /title | Persist visible status, thread, branch, model, and progress fields. |
| Composer/input customization | /vim, /theme, /raw | Configure editing mode, syntax highlighting, and copy-friendly scrollback. |
2026-08-03 Re-check
/delete, /import, /usage, /vim, /skills, /theme, /raw, /ide, /approve,
/memories, /archive, /app, /copy, /rename, /pets, and /setup-default-sandbox appear in
the current official slash table. /subagents, /btw, and /pet are documented aliases.
2026-08-01 Re-check
Codex CLI 0.146.0 is the current stable/latest release, local CLI, and npm latest tag. The current
feature baseline includes 0.145.0~0.146.0 thread history/lifecycle, expanded import, Agent Plugins,
marketplaces, remote Code Mode, custom-provider web search, executor skills, proxy, and refresh changes.
Operating Principles
- Every advanced command page includes the original syntax, practical examples, nearby commands, and sources.
- Environment differences such as CLI, IDE, macOS, Windows, and remote app-server flows are called out where they matter.
- When Codex changes, update
updatesandverificationtogether. - For design work, use
/en/books/codex-command-master/design-workflowsto keep commands, Skills, Plugins, and MCP roles distinct.