Skip to content

Claude Code plan mode: how to turn it on, what it blocks and how to approve a plan

Better Design

Direct answer

Claude Code plan mode lets Claude read files and run commands to explore, then write a plan, without editing your source until you approve it. Press Shift+Tab until the status bar shows plan mode on, prefix one prompt with /plan, or start with claude --permission-mode plan.

A hand-drawn browser window with Claude Code plan mode written in it and a short list of what it does.

Plan mode makes Claude research and propose before it edits

Claude Code plan mode is one of its permission modes. In plan mode, Claude reads files, runs shell commands to explore and writes a plan, but it does not edit your source.

Edits stay blocked until you approve the plan. The one exception is an interactive terminal session with bypass permissions available, which the last section explains.

Use it when you want to review a change before Claude writes it. It helps most with changes across many files, unfamiliar code, and tasks with no clear approach yet.

Three ways to turn on plan mode

  • Press Shift+Tab during a session until the status bar shows ⏸ plan mode on. From auto mode, the presses go to manual, accept edits, then plan.
  • Type /plan in front of one prompt to plan only that request.
  • Start the session in plan mode with claude --permission-mode plan.
  • To leave plan mode, press Shift+Tab again. At the approval prompt, press Esc first, because Shift+Tab there approves the plan.

What Claude can and cannot do while it plans

Read files
In plan mode

Allowed

Note

Claude explores the code to build the plan

Edit your source
In plan mode

Blocked until you approve the plan

Note

Not enforced in a terminal session with bypass permissions available

Shell commands, auto mode available
In plan mode

The auto mode classifier reviews each one, with no prompt

Note

Turn this off with useAutoModeDuringPlan set to false

Shell commands, auto mode not available
In plan mode

Commands outside the built-in read-only set ask for your approval

Note

Applies even with the sandbox's auto-allow mode on

Write the plan
In plan mode

Saved as a plan file in ~/.claude/plans/

Note

Change the folder with the plansDirectory setting

How to use Claude Code plan mode, step by step

  • Enter plan mode with Shift+Tab, /plan or the --permission-mode plan flag.
  • Describe the change: what should be different and which parts of the code it touches.
  • Let Claude read the code and write the plan.
  • Read the plan. Press Ctrl+G to open it in your text editor and change it directly.
  • Pick an approval option, or No, keep planning to send feedback.
  • To plan the next change, press Shift+Tab again or prefix the prompt with /plan, because approving left plan mode.

Claude Code plan mode in four steps

The four steps, in the order you take them.

A hand-drawn four-step path for Claude Code plan mode: Enter plan mode, Describe the change, Edit the plan, Approve and build.
  1. Step 1: Enter plan mode
  2. Step 2: Describe the change
  3. Step 3: Edit the plan
  4. Step 4: Approve and build

Each approval option picks how Claude builds next

Approving a plan exits plan mode and switches the session to the mode the option names, so Claude starts editing. Accepting a plan also names the session after it, unless you already named it.

Yes, and use auto mode
What happens next

Leaves plan mode and works in auto mode

Use it when

You trust the plan and want few prompts

Yes, auto-accept edits
What happens next

Shown in place of auto mode when your session cannot use it

Use it when

Your organization turned auto mode off

Yes, manually approve edits
What happens next

Leaves plan mode and asks before each edit

Use it when

You want to review every change

No, keep planning
What happens next

Stays in plan mode for your feedback

Use it when

The plan needs changes

An extra first option that clears context
What happens next

Approves and starts the build without the planning conversation

Use it when

Shown only with showClearContextOnPlanAccept turned on

Plan on Opus and build on Sonnet with opusplan

The opusplan model setting uses Opus while plan mode is on and switches to Sonnet when Claude builds. Set it with /model opusplan or the --model flag.

Claude Code's docs describe this as Opus's reasoning for planning and Sonnet's efficiency for the build. To give both phases the larger 1M context window, use opusplan[1m].

Settings that change how plan mode starts and behaves

permissions.defaultMode: "plan"
Where it goes

The project's .claude/settings.json

What it does

Starts the project's terminal sessions in plan mode

claudeCode.initialPermissionMode: "plan"
Where it goes

VS Code user settings

What it does

Starts VS Code extension conversations in plan mode, which ignore the project setting

useAutoModeDuringPlan: false
Where it goes

User, local or managed settings

What it does

Asks before each command outside the read-only set, instead of using the classifier

plansDirectory
Where it goes

Any settings file

What it does

Stores plan files in a folder you choose, relative to the project root

showClearContextOnPlanAccept: true
Where it goes

Any settings file

What it does

Adds the option that approves the plan and clears the planning context

When plan mode does not block edits

  • In an interactive terminal session with bypass permissions available, plan mode does not enforce its blocks. Claude is told to plan, but an edit or command it tries runs without a prompt.
  • Plan mode keeps its blocks in non-interactive runs with -p, in apps built with the Agent SDK and in the VS Code extension's chat panel.
  • In the VS Code extension and the desktop app, picking Plan from the mode menu applies to that conversation only.
  • Approving a plan moves the session out of plan mode, so cycle back before the next plan.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "Claude Code plan mode: how to turn it on, what it blocks and how to approve a plan" at https://better-design.com/blog/claude-code-plan-mode and help me apply it to my project.

Claude Code plan mode lets Claude read files and run commands to explore, then write a plan, without editing your source until you approve it. Press Shift+Tab until the status bar shows plan mode on, prefix one prompt with /plan, or start with claude --permission-mode plan.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

How do I turn on Claude Code plan mode?

Press Shift+Tab until the status bar shows plan mode on, prefix one prompt with /plan, or start with claude --permission-mode plan.

Is Claude Code planning mode the same as plan mode?

Yes. People often say planning mode; Claude Code's docs name it plan mode, the plan permission mode.

Can Claude run commands in plan mode?

Yes. It runs shell commands to explore. When auto mode is available, a classifier reviews them; otherwise commands outside the read-only set ask for your approval.

Where does Claude Code save the plan?

In a plan file under ~/.claude/plans/, unless you set plansDirectory. Press Ctrl+G to edit the plan in your text editor before you approve it.

Can I make plan mode the default?

Yes. Set permissions.defaultMode to plan in the project's .claude/settings.json, nested as {"permissions": {"defaultMode": "plan"}}. In VS Code, set claudeCode.initialPermissionMode to plan.

Where these Claude Code plan mode facts come from

Each fact comes from the pages listed here, read on November 13, 2026. Products change, so check those pages for the current version.

Build the screens your plan describes

A coding agent such as Claude Code, Cursor or Codex can build your interface in your own code. Better Design gives that agent a design system, interface principles and review rules, so the result looks designed.