Command reference Β· Codex CLI
/plan
Shows or manages the work plan for the current task.
/plan is part of the official list of interactive Codex slash commands and refers to the plan for the task running within the session. It complements commands like /status and /goal, which let you track the goal and progress of a session.
π THE SAME TASK (βPLAN MODE (PLAN FIRST, THEN ACT)β) ON OTHER PLATFORMS
- Claude Code: /plan
- Cursor CLI: /plan
- Aider: /architect
- Antigravity CLI: Shift+Tab Β· /plan
β WHEN TO USE IT?
Overview of the planned steps before a larger task
/plan β see how Codex intends to approach a multi-step task before approving it
Check mid-task whether the plan still fits the task
/plan β check during an ongoing implementation whether the next steps still make sense
β WHEN NOT TO?
Task is trivial and single-step
For a simple one-step change, looking at the plan adds little value.
Better: Just state the task directly and let Codex execute it
SOURCES
- Codex CLI docs: Slash Commands β learn.chatgpt.com
MORE COMMANDS Β· Codex CLI