Codex Command Master
A practical handbook for choosing and applying Codex CLI slash commands.
Recently Updated Chapters
Commands for keeping long Codex sessions continuous and readable.
How to design and operate team-specific slash commands.
Recommended reading paths for different Codex users and team situations.
How to operate MCP servers and tools safely from Codex.
Categorize Codex slash commands by role and choose the right command for the job.
This handbook is the English edition of the Codex command master. It helps engineers choose the right Codex CLI command quickly, keep long sessions under control, and standardize command usage across a team.
Source Baseline
Checked against the official OpenAI Codex slash commands, models, hooks, config, and release pages on 2026-06-12 KST. The current official CLI baseline is Codex CLI v0.139.0.
June 12, 2026 Update
- Added a release-tracked
/apppage for handing the current CLI thread into Codex Desktop on macOS and native Windows. - Added 0.139.0 notes for code-mode standalone web search, MCP tool input schema preservation for
oneOf/allOf, and better large-schema compaction. - Updated diagnostics guidance for
codex doctoreditor/pager environment reporting with JSON redaction. - Updated
/pluginsfor richer--jsonoutput, marketplace source fields,--available --json, and marketplace install/upgrade automation. - Refreshed app-server/debug notes for account token usage, ChatGPT v2 personal access tokens, and the restored
codex debug app-server send-message-v2command. - Added operational notes for image file-path exposure, reasoning-effort fallback shortcuts, sandbox permissions-profile alias
-P, effective sandbox diagnostics,resume/fork --lastprompt handling, scoped MCP startup warnings, and cloud-managed requirement preservation.
June 8, 2026 Update
- Added a dedicated
/archivepage based on the 0.136.0 release, plus the relatedcodex archiveandcodex unarchiveCLI flow. - Updated the permissions/profile baseline for named permission profiles and the file-based
--profilemigration. - Refreshed app-server and remote-control notes for
codex app-server --stdio, archive events, and controller grant RPCs. - Added operational notes for
codex plugin list --json, cached remote catalog suggestions, Multi-agent v2 runtime metadata, richercodex doctor, remote/status, and newer TUI keymap behavior.
May 21, 2026 Update
- Added individual pages for official commands:
/approve,/ide,/memories,/raw,/skills,/theme, and/vim. - Promoted
/vimfrom changelog-only preview tracking to standard slash-command coverage. - Refreshed the CLI baseline to 0.132.0, including
codex exec resume --output-schema, Python SDK auth/turn APIs, image-fidelity preservation, and goal-continuation guardrails. - Added 0.131.0 operational notes for
codex doctor, unified@mentions, service-tier commands, remote-control daemon/API work, plugin marketplace CLI commands, and version-aware plugin sharing. - Updated the model baseline:
gpt-5.5is now documented as available in Codex with ChatGPT sign-in or API-key authentication.
Earlier May 2026 Update
/goalis documented as the experimental persistent goal surface for long-running work./keymapremaps TUI shortcuts and persists bindings inconfig.toml./sideis now treated as a standard side-conversation command./stopis the preferred command for stopping background terminals;/cleanremains an alias./hooksis now a standard command after the official slash table and 2026-05-14 Hooks GA update./vimwas later promoted after the 2026-05-21 official slash table re-check.
Fast Entry
Command System
Command categories, selection rules, and recent surface changes.
Core Commands
/status, /clear, /copy, /new, /quit, /feedback, and /stop.
Advanced Commands
Permissions, sandboxing, hooks, plugins, agents, and operational controls.
Reference Links
- Codex slash commands: https://developers.openai.com/codex/cli/slash-commands
- Codex hooks: https://developers.openai.com/codex/hooks
- Codex CLI features: https://developers.openai.com/codex/cli/features
- Codex changelog: https://developers.openai.com/codex/changelog
- Codex releases: https://github.com/openai/codex/releases
Release Timeline
See /en/books/codex-command-master/verification for command-by-command source tracking and release
links.