AI GLOSSARY · CODING AGENTS AND CODING TOOLS

Plan mode

Markdown version

Definition

Plan mode asks Claude Code to research and propose changes before implementation. It normally blocks source edits until plan approval, but plan files and documented session exceptions mean it cannot guarantee that no files change.

Also called: claude code plan mode, planning mode, plan then act, plan mode in Claude Code.

In plain language

Plan mode asks a coding assistant to explore a task and show a written plan before implementation. You can review the approach before allowing source changes. The plan document can still be written, and some session settings allow other changes during planning. In particular, interactive terminal sessions with bypass permissions available do not provide the usual edit block. Planning is useful for catching misunderstandings early, but the plan can be wrong and still needs review. It does not guarantee a particular time or cost saving, or replace an operating-system sandbox.

Technical definition

In Claude Code, plan mode requests research and a plan before implementation. Source edits normally stay blocked until plan approval, but the plan itself can be written. In interactive terminal sessions with bypass permissions available, attempted file edits and shell commands can run without prompting; elsewhere plan-mode blocks remain. Other planning shell commands are classifier-reviewed when auto mode and useAutoModeDuringPlan are enabled, or prompt outside the read-only set otherwise. Enter with Shift+Tab, /plan or claude --permission-mode plan. Terminal project defaults use permissions.defaultMode in .claude/settings.json; VS Code uses claudeCode.initialPermissionMode in user settings. Approval exits planning into the selected mode. Check the permission-modes documentation for the session's exact behavior.

Worked examples in this catalogue

Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.

  1. Coding tool · Illustrative, not executed

    Claude Code

    What to try
    claude --permission-mode plan
    What you see
    Claude Code starts in plan mode and indicates it in the session. It can explore and write a plan; source-edit blocking depends on the documented session settings.
    Why it exercises the concept
    This is the planning feature itself. Check the bypass-permission exception before relying on source-edit blocking; a plan document may be written during planning.
  2. Skill by Jesse Vincent · Illustrative, not executed

    writing-plans 29/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A spec turned into a step-by-step implementation plan before code is touched.
    Why it exercises the concept
    Plan mode produces a plan inside the session. This skill is a separate way to write one as a document first, which shows what a good plan contains.
  3. Skill by Jesse Vincent · Illustrative, not executed

    executing-plans 29/100 · Provisional, not yet measuredScored · Method v0.2 · How we score

    What you see
    A written implementation plan worked through inline, step by step, with checkpoints.
    Why it exercises the concept
    It is the stage that follows approval: the plan exists, and the agent now carries it out in steps you can check.

How it shows up when you use agents

In Claude Code, plan mode is a setting for the session, not a separate tool. Anthropic's common-workflows page describes it under "Plan before editing": Claude explores and proposes changes before implementation. The usual source-edit block has session exceptions, as described above; writing the plan itself is allowed. You switch into it with Shift+Tab, start in it with claude --permission-mode plan, or prefix one prompt with /plan.

The plan is also a handoff. Anthropic's cloud-session documentation suggests planning in plan mode, saving the plan to the repository, and then starting a cloud session to execute it. See Cloud agent. The approval step is where a person stays in the loop, which is the idea behind human-in-the-loop design for a coding agent.

What breaks when plan mode is misunderstood:

  • Approving without reading. The prompt asks for a decision. A plan you skim gives you a review step in name only.
  • Expecting it to be a sandbox. The documentation says Claude can run shell commands to explore in plan mode. It is a mode about editing source, so check the permission-modes page for what your setup allows.
  • Forgetting the switch. Approving a plan exits plan mode, so the next task starts in whatever mode the approval chose. Press Shift+Tab or use /plan to plan again.

Next action: for a change that touches many files, start in plan mode, read the plan, correct it in the conversation, and approve when it matches what you want. For agentic coding sessions that run long, a short approved plan is easier to check against than a long diff.

Common confusions

  • Plan mode versus a plan skill. Plan mode is a Claude Code permission mode that normally holds back source edits, subject to the documented session exceptions. A skill such as writing-plans is instructions that produce a plan document. You can use both.
  • Plan mode versus auto-accept or bypass modes. Plan mode normally holds back source edits until approval, except in interactive terminal sessions with bypass permissions available. Other modes can use classifier review or fewer prompts; none of these labels replaces a sandbox.
  • Planning versus reasoning. A model thinking step by step is chain-of-thought. Plan mode is about what the agent is permitted to do before you approve.
  • Myth: an approved plan guarantees the result. Approval leaves planning for the chosen execution mode. You still review the diff and run the tests; do not assume that nothing changed during planning.

Terms that mention Plan mode

2 terms mention this one

Guides that mention Plan mode

More in Coding agents and coding tools

Next steps

  1. writing-plans A skill that exercises it.
  2. Coding agent Related term.
  3. Agentic coding Related term.
  4. All glossary terms A to Z and by family.

Sources

Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.

Review record

Last verified

Drafted by Claude (original draft) and OpenAI Codex (targeted revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .

Change log (5)
  • : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
  • : Targeted source repairs: Applied plan-document, interactive-terminal bypass and shell-policy exceptions across definitions/body/captions; removed timing/cost guarantee and scoped default settings by surface. Independent affected review pending; no publication approval.
  • : First version.
  • : Verifier pass: corrected settings key to permissions.defaultMode.
  • : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.