promptgarten 🌱

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

Compare all 28 tasks β†’

βœ… 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

MORE COMMANDS Β· Codex CLI

/review/diff/resume/new/fork/mcp/skills/goalcodex execcodex reviewcodex resumecodex apply

All commands Β· Codex CLI β†’

Share:𝕏inπŸ’¬