# Plan mode

> Canonical: https://skillalmanac.com/glossary/plan-mode | Last verified: 2026-11-25 | Index status: index-eligible

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.

## 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](/glossary/cloud-agent). The approval step is where a person stays in the loop, which is the idea behind [human-in-the-loop](/glossary/human-in-the-loop) design for a [coding agent](/glossary/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](/glossary/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](/skills/obra/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](/glossary/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.

## Worked examples in this catalogue

### [Claude Code](https://skillalmanac.com/tools/claude-code)

```
claude --permission-mode plan
```

Status: illustrative example from the item's own documentation, not executed for this page.

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.

### [writing-plans](https://skillalmanac.com/skills/obra/writing-plans)

Status: illustrative example from the item's own documentation, not executed for this page.

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.

### [executing-plans](https://skillalmanac.com/skills/obra/executing-plans)

Status: illustrative example from the item's own documentation, not executed for this page.

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.

## Related terms

- [Coding agent](https://skillalmanac.com/glossary/coding-agent.md)
- [Agentic coding](https://skillalmanac.com/glossary/agentic-coding.md)
- [Human in the loop (HITL)](https://skillalmanac.com/glossary/human-in-the-loop.md)
- [AI agent](https://skillalmanac.com/glossary/ai-agent.md)
- [Agent harness](https://skillalmanac.com/glossary/agent-harness.md)
- [Spec-driven development](https://skillalmanac.com/glossary/spec-driven-development.md)

## Sources

- [Choose a permission mode](https://code.claude.com/docs/en/permission-modes), Anthropic (Claude Code Docs) (accessed 2026-11-24)
- [Common workflows](https://code.claude.com/docs/en/common-workflows), Anthropic (Claude Code Docs) (accessed 2026-11-24)
- [Use Claude Code in the cloud](https://code.claude.com/docs/en/claude-code-on-the-web), Anthropic (Claude Code Docs) (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
