DEFINITION
Plan Mode
Agent Plan Mode
Definition
A state in coding agents (like Claude Code and Codex) where the agent generates a structured plan or outline before executing code. Plan mode allows for review and feedback before code generation begins, reducing rework and token waste.
Examples in the Wild
- Example 1:Claude Code ExitPlanMode hook
- Example 2:Codex Stop hook entry