Workbranch › Guides

Guide

How to use plan mode in Claude Code

Letting Claude Code edit files straight away is fast, until it heads in the wrong direction across ten files. Plan mode makes it research first and show you a plan, and in most setups it can't edit your files until you approve. Here is how to turn it on, review the plan and decide when it's worth it.

Updated 30 October 2026

Quick answer: press Shift+Tab in a Claude Code session until the status bar shows ⏸ plan mode on, or start Claude with claude --permission-mode plan. Describe the task, read the plan Claude proposes, press Ctrl+G if you want to edit it, then pick Yes to let it start or No, keep planning to change it.

Keys and option names below were checked against Anthropic's Claude Code documentation as of October 2026. The wording of options can change between versions.

What plan mode does

Plan mode is one of Claude Code's permission modes. In it, Claude can read your files and run shell commands to understand the code, then writes a plan for the change. Edits to your source are blocked until you approve that plan. You review the approach once, up front, instead of judging edit after edit.

Turn plan mode on

There are four ways, depending on how often you want it.

Review and approve the plan

  1. With plan mode on, describe the task and what a good result looks like. Mention files or constraints you already know about.
  2. Let Claude explore. It reads code and may run commands; depending on your setup, some commands ask for your approval.
  3. Read the plan it presents. Check which files it wants to change, the order of steps, and how it will test the result.
  4. To change the plan yourself, press Ctrl+G. The plan opens in your default text editor; save it and Claude works from your version.
  5. Choose an option:
    • Yes, and use auto mode (shown as Yes, auto-accept edits when auto mode isn't available): approve and let Claude make the edits without asking each time.
    • Yes, manually approve edits: approve, but review every edit.
    • No, keep planning: stay in plan mode and tell Claude what to change.

Approving leaves plan mode and switches to the mode you picked, and Claude starts working. It also gives the session a generated title if you haven't named it. If the showClearContextOnPlanAccept setting is on, there is an extra first option that approves the plan and clears the planning conversation.

When to use plan mode

Putting your test commands and conventions in a CLAUDE.md file gives the plan better material to work from.

Good to know

If it doesn't work

Keep the plan's open points

A plan often raises decisions and follow-ups that outlive the session. With the Workbranch plugin for Claude Code, run /workbranch:save and Claude files the session's tasks, decisions and open questions into a Workbranch project. Workbranch has a 3-day free trial at app.workbranch.ai.

Sources

Frequently asked questions

Can Claude run commands in plan mode?

Yes, it can read files and run shell commands to explore. Edits to your source stay blocked until you approve. Depending on your session, commands outside a read-only set may ask for your approval first.

Where does the plan go after I approve it?

Plan files are kept in ~/.claude/plans/ by default, or in the folder set with the plansDirectory setting.

How do I plan again after approving?

Approving switches you out of plan mode. Press Shift+Tab until plan mode is back on, or start your next message with /plan.