# Claude Code plan mode vs accept edits vs auto mode

Canonical: https://cwyn.com/pages/claude-code-guide-plan-mode.html
Last updated: 2026-11-27T05:47:24-05:00

Claude Code permissions guide

Use plan mode to review Claude’s approach before editing, accept edits to let Claude edit files without asking, and auto mode to run tools with background safety checks. Enter `/plan` or cycle modes with Shift+Tab. At the approval prompt, press Esc then Shift+Tab to leave without approving. Start a planning session with `claude --permission-mode plan`.

Last updated November 27, 2026 · Published November 22, 2026

By CWYN · Published Nov 22, 2026 · Checked against docs, not run · [Permission modes and the `claude --permission-mode plan` command](https://code.claude.com/docs/en/permission-modes) and [Plan before editing](https://code.claude.com/docs/en/common-workflows) (as of Nov 22, 2026)

## 1. Start with a plan mode prompt

In the terminal, Shift+Tab cycles from `default` to `acceptEdits` to `plan`. Stop when the status bar reads ⏸ plan mode on.

For a single prompt, try `/plan Trace how a search query reaches the results list. Which files would change to add a category filter, and how would we test it?` When you read the plan, check whether it covers a filter that returns no matches.

If Claude needs an MCP tool to investigate your question and the tool is missing, [check whether its server loaded in this project](https://cwyn.com/pages/claude-code-guide-mcp-servers-not-loading.html).

## 2. Plan mode vs accept edits vs auto mode

| Mode | What Claude can do | When to use it |
| --- | --- | --- |
| Plan mode ( `plan` ) | Read files, run commands to explore, and write a plan for review. | You want to trace how search works and agree on an approach before any source edits. |
| Accept edits ( `acceptEdits` ) | Read and edit files and run common filesystem commands without asking. | You know where the filter belongs and want to review the diff as you iterate. |
| Auto mode ( `auto` ) | Use all tools with background safety checks. | You have agreed on the scope of a longer task and want Claude to carry it through. |

### Accept edits vs auto mode

Choose accept edits (`acceptEdits`) when you want to review the diff as you work. Claude can read and edit files and run common filesystem commands such as `mkdir` and `mv` in your working directories without asking. Shell commands outside the read-only and preapproved sets still prompt you.

Choose auto mode (`auto`) for a longer task once you agree on its scope. A separate classifier reviews shell commands and other tool calls that would normally need your approval. Actions it approves run without asking you, and it blocks actions it judges risky.

At the terminal input prompt, press Shift+Tab until the status bar shows accept edits on or auto mode on. Auto appears in the cycle only when it’s available for your session.

Checked against docs, not run. [Claude Code permission modes](https://code.claude.com/docs/en/permission-modes) (as of Nov 27, 2026).

## 3. Review and approve a plan

Check the proposed files and tests. If a detail is missing, press Ctrl+G to open the plan in your text editor. At the approval prompt, Shift+Tab approves the plan. To leave without approving, press Esc to dismiss the prompt, then Shift+Tab to change modes.

- Yes, and use auto mode starts implementation with background safety checks. If auto mode is unavailable, this option reads Yes, auto-accept edits and switches to accept edits.
- Yes, manually approve edits exits plan mode and asks you to approve edits during implementation.
- No, keep planning leaves the plan open for another pass. Tell Claude which part of the approach to revisit.

If planning used a lot of context, enable `showClearContextOnPlanAccept` to add Yes, clear context and ... as the first option. It approves the plan, clears the conversation, and starts implementation from the plan alone. Put any constraints you still need into the plan before you choose it. [Plan approval settings](https://code.claude.com/docs/en/settings-reference) (as of Nov 22, 2026).

## 4. Make plan mode the default

In your project's `.claude/settings.json`, set `defaultMode` inside `permissions`. This example also sets `plansDirectory` to save plans in the project's `plans` folder. Merge the keys into your existing settings.

```
{
  "permissions": {
    "defaultMode": "plan"
  },
  "plansDirectory": "./plans"
}
```

The VS Code extension reads its starting mode from VS Code user settings. Add `"claudeCode.initialPermissionMode": "plan"` there. For other project and user preferences, see [how Claude Code settings.json precedence works](https://cwyn.com/pages/claude-code-guide-settings-json-precedence.html).

To decide which commands can run without approval, start with the [permission presets in the Claude Code Complete Setup Pack](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html) and adapt them to your project.

## 5. Plan with Opus and build with Sonnet

Run `/model opusplan` at the Claude Code prompt, then enter plan mode. The [`opusplan` alias](https://cwyn.com/pages/claude-code-guide-models.html) selects Opus to research and write the plan. When you approve the plan, Claude Code switches to Sonnet to carry it out. [Model aliases and opusplan](https://code.claude.com/docs/en/model-config) (as of Nov 22, 2026).

If you use an API key for this workflow, [estimate your monthly Claude Code cost](https://cwyn.com/pages/claude-code-guide-cost-per-month.html) using the charges for both models.

## 6. Why plan mode still asks about shell commands

A command prompt during planning asks whether Claude can run that command to explore the project. When auto mode is available and `useAutoModeDuringPlan` is on (the default), the classifier reviews shell commands. If auto mode is unavailable or you turn the setting off, commands outside the built-in read-only set prompt for approval.

To review each command outside that set, turn off Use auto mode during plan in `/config`, or set `"useAutoModeDuringPlan": false` in your settings. If a command you already allowed still prompts, [check which permission rule matches it](https://cwyn.com/pages/claude-code-guide-permission-allowlist-prompts.html).

## 7. Where does Claude Code save plans?

By default, Claude Code writes plan files to `~/.claude/plans`. Set `plansDirectory` to a path relative to the project root if you want to keep the plans in the repository. [Claude Code settings reference](https://code.claude.com/docs/en/settings-reference) (as of Nov 22, 2026).

## 8. Claude Code plan mode FAQ

### What is the Claude Code plan mode shortcut?

Press Shift+Tab until the status bar reads ⏸ plan mode on. If you already know what you want Claude to investigate, you can type `/plan` followed by the request.

### Does plan mode work in VS Code?

Yes. Plan mode keeps source edits blocked in the VS Code chat panel. To start there by default, set `claudeCode.initialPermissionMode` to `plan` in VS Code user settings.

### How do I leave plan mode without approving the plan?

If the approval prompt is open, dismiss it with Esc first. Then press Shift+Tab to change modes.

### Can Claude edit files in plan mode?

Claude can write the plan file. Source edits stay blocked until you approve the plan, except in an interactive terminal session where bypass permissions are available. Plan mode keeps its edit restrictions in `-p` runs, Agent SDK sessions and the VS Code chat panel.

## Next steps

- [All 34 Claude Code guides](https://cwyn.com/guides/claude-code/)
- [Claude Code setup walkthrough](https://cwyn.com/setup/claude-code/)
- [Free AI instruction builder](https://cwyn.com/build/ai-instructions/)
- [Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html)

### Write project instructions for Claude

[Open the free AI instruction builder](https://cwyn.com/build/ai-instructions/)

## Email me the CLAUDE.md + settings starter

Get the editable CLAUDE.md template and a project setting you can merge into .claude/settings.json.

Email address

Email me this file. Also send up to 4 short follow-up emails with tips and one related CWYN product. Unsubscribe any time. [Privacy policy](https://cwyn.com/pages/privacy.html)

### Set up project permissions

Get project instructions, permission rules and hooks in the [Claude Code Complete Setup Pack ($12.95)](https://cwyn.com/pages/pack-claude-code-complete-setup-pack.html).

Claude Code Complete Setup Pack $12.95

Set up project instructions, permission rules, hooks, a reviewer skill and subagent, and MCP connections for Claude Code.
