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.
โ 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 Doku: Slash Commands โ developers.openai.com