Built 26/04/17 09:39commit 8de3d61
Codex CLI Slash Commands
中文 | English
Summary
This source describes the interactive control surface inside the Codex CLI: slash commands are the mid-session levers for changing models, permissions, planning mode, thread state, review views, and diagnostic output without leaving the terminal.
Source
- Raw file: raw/openai/codex/Slash commands in Codex CLI.md
- Translated raw file: raw/openai/codex/Slash commands in Codex CLI.zh.md
- Original URL: https://developers.openai.com/codex/cli/slash-commands
- Ingest date: 2026-04-09
Key Contributions
- Collects the built-in interactive commands into one reference layer.
- Makes session-state changes explicit: model choice, Fast mode, personality, planning, approvals, and config diagnostics can all be changed mid-run.
- Treats
/compact,/diff,/review,/status, and/debug-configas operational tools for keeping long sessions understandable and verifiable.
Strongest Claims
- Interactive control is part of the Codex operating model, not just a UX convenience.
- Context compaction, diff review, and thread management need first-class commands because they are recurring session-maintenance actions.
- The safest way to change permissions in an active session is through a deliberate, inspectable control path.