Coral

Claude Code plan mode: how it works and when to use it

How to enter Claude Code plan mode, what it blocks, what each approval option does, how to edit the plan with Ctrl+G, and how to make plan mode the default.

Updated

Plan mode is the Claude Code permission mode where Claude reads your code, runs commands to explore, and writes a plan, but doesn’t edit your source until you approve it. Turn it on with Shift+Tab until the status bar shows ⏸ plan mode on, start with claude --permission-mode plan, or put /plan in front of a single prompt. When the plan is ready you pick how Claude carries it out: in auto mode, with each edit reviewed, or not yet. Reviewing the plan before any code is written is a core habit of agentic engineering.

As of November 2026, from Anthropic’s permission modes, settings and model configuration docs. Part of Keep coding agents safe.

A finished plan waits for you before anything happens. Coral puts it in your Mac’s notch and on your iPhone, so you approve it in a second. Download Coral for free

Three ways to enter plan mode

You wantDo this
Plan mode for the rest of the sessionPress Shift+Tab until the status bar reads ⏸ plan mode on
Plan mode for one prompt onlyStart the prompt with /plan
A session that starts in plan modeclaude --permission-mode plan

From auto mode, the Shift+Tab cycle goes Manual (default), then acceptEdits, then plan, so it’s three presses. Press Shift+Tab again to leave. The other keys and commands you’ll use around it are in the Claude Code cheat sheet.

One trap: at the approval prompt, Shift+Tab approves the plan. If you only wanted to leave plan mode, press Esc first.

What Claude can and can’t do while planning

Claude reads files and runs shell commands to explore, then writes the plan to a file. It doesn’t edit your source. What happens to a shell command depends on your session, and the first matching case applies:

Your sessionShell commands during planning
Interactive terminal with bypass permissions available (for example, started with --dangerously-skip-permissions)Run without a classifier or a prompt
Auto mode available and useAutoModeDuringPlan on (the default)The auto mode classifier approves or blocks each one instead of asking you
Auto mode not available, or useAutoModeDuringPlan set to falseAnything outside the built-in read-only commands asks you first

The first row is the one that surprises people. In an interactive terminal session where bypass permissions is available, Claude Code doesn’t enforce plan mode’s blocks. Claude is still told to plan without editing, but if it tries an edit or a command, it runs. Only ask rules and removals of critical paths like rm -rf ~ still prompt. If you rely on plan mode as a safety stop, don’t start the session with the bypass flag.

Plan mode keeps its blocks everywhere there’s no interactive terminal: claude -p runs, the Agent SDK and the VS Code extension’s chat panel.

To get a prompt instead of the classifier for planning commands, set this in ~/.claude/settings.json (it works in user, local or managed settings):

{
  "useAutoModeDuringPlan": false
}

Approving the plan: what each option does

When the plan is ready, Claude shows it and asks how to proceed:

OptionWhat happens next
Yes, and use auto modePlan mode ends and the session switches to auto mode, so Claude edits and runs commands with the classifier checking them
Yes, auto-accept editsShown instead of the auto mode option when auto mode isn’t available to you, for example because your organization turned it off. Switches to acceptEdits
Yes, and switch to BYPASS PERMISSIONSShown instead if you started the session with bypass permissions enabled. No further prompts
Yes, manually approve editsPlan mode ends and you review each edit
No, keep planningStays in plan mode. Tell Claude what to change

Approving changes the session’s permission mode, not just this task’s. Once Claude has built the plan, you’re still in auto mode or Manual. To plan the next change, press Shift+Tab back to plan mode or start the next prompt with /plan.

Two more things on that screen:

  • Ctrl+G opens the plan in your default text editor. Fix a step, cut scope, add a constraint, save, and Claude works from your version.
  • Clear the context on approval. Set "showClearContextOnPlanAccept": true and the list gains a first option that approves the plan and drops the planning conversation, so execution starts with a clean context and the plan.

Approving also names the session after the plan, unless you already named it.

Where plans are saved

Plans are markdown files in ~/.claude/plans/. To keep them somewhere else, for example inside the repo so they’re reviewed with the code, set plansDirectory:

{
  "plansDirectory": "./docs/plans"
}

Make plan mode the default

For a project’s terminal sessions, set defaultMode in the repo’s .claude/settings.json:

{
  "permissions": {
    "defaultMode": "plan"
  }
}

Unlike auto, which only works from your user settings, plan works from a project file. That makes it a reasonable team default for a repo where every change should start with a reviewed plan.

In VS Code, the extension doesn’t read the project’s starting mode. Set claudeCode.initialPermissionMode to plan in your VS Code user settings instead. In the VS Code mode picker and the desktop app, choosing Plan applies to that conversation only.

Plan with Opus, build with Sonnet

The opusplan model alias uses Opus while you’re in plan mode and switches to Sonnet once you approve. Set it with /model opusplan or claude --model opusplan. Use it when the hard part is deciding what to do and the rest is typing.

When plan mode is worth it, and when it isn’t

Use it for:

  • Changes that touch many files. A wrong approach costs a review, not a revert.
  • Code you don’t know yet. Claude explores, and you correct its understanding before it acts on it.
  • Work you hand off. A plan you edited with Ctrl+G is a spec you can check the diff against.

Skip it for a one-line fix or a change you can describe exactly. Then the plan only repeats your prompt. For long tasks, plan first and approve into auto mode: you review the direction once and Claude does the rest without prompting. How auto mode decides what to let through is in How Claude Code auto mode works. For every way to cut prompts, see Stop babysitting Claude Code permission prompts.

Where Coral fits

A plan is a stop by design: Claude works for minutes, then waits for you. If you’re in another window, it waits until you notice. Coral shows the finished plan in your Mac’s notch as soon as it’s ready, for every Claude Code session in any terminal, with Codex, Copilot CLI, OpenCode and Grok in the same list.

The card asks “Ready to code?”. Press 1 to approve and switch to auto mode, press 2 to approve and review each edit, or type notes to send it back to planning. On your iPhone, approving needs Face ID. Plans too long to show in full, or that mention secrets or destructive commands, can only be approved on the Mac. Alerts are Free, and answering from the phone straight to the agent is Pro. If you plan in one session while others run, see Run multiple Claude Code agents. For the other apps that show plans and prompts in the notch, see Vibe Island alternatives.

Questions

How do I turn on plan mode in Claude Code?

Press Shift+Tab until the status bar shows ⏸ plan mode on, start with claude --permission-mode plan, or put /plan in front of one prompt. To start in plan mode every time in a repo, set "defaultMode": "plan" under permissions in .claude/settings.json.

How do I exit plan mode without approving?

With no approval prompt open, press Shift+Tab to move to the next mode. At the approval prompt, press Esc first. Shift+Tab there approves the plan.

Can Claude edit files in plan mode?

Not your source, in most sessions. It only writes its plan file. The exception is an interactive terminal session where bypass permissions is available, like one started with --dangerously-skip-permissions. There, plan mode’s blocks aren’t enforced and an attempted edit runs.

Where does Claude Code save plans?

In ~/.claude/plans/ by default. Set plansDirectory in your settings to put them somewhere else, such as a folder in the repo.

Can I edit the plan before Claude starts?

Yes. At the approval prompt, press Ctrl+G to open the plan in your default editor. Save it, and Claude works from your edited version. You can also pick “No, keep planning” and say what to change.

Never leave an agent waiting.

Coral taps you in your Mac’s notch or on your iPhone when an agent needs you. Free.

Download for freeSee pricing

More guides

Coral alternatives and comparisons