Skip to content
InnovateTechie
Claude Code

Claude Planner: How Plan Mode Works in Claude Code

InnovateTechieBy InnovateTechie10 min read
Share
Claude Planner: How Plan Mode Works in Claude Code

Part ofWhat Is Claude Code? The Complete Guide

A 'Claude planner' is Plan Mode in Claude Code: read-only research that ends in a step-by-step Markdown plan you approve before any edits happen.

A Claude planner isn't a separate product — it's Plan Mode in Claude Code, a read-only mode where Claude researches your codebase, asks clarifying questions, and writes a step-by-step Markdown plan without touching a single file. You enter it by pressing Shift+Tab twice or typing /plan; nothing gets edited or executed until you approve.

What a Claude planner actually is

Search "claude planner" and every useful result points at the same feature: Plan Mode in Claude Code, Anthropic's agentic coding tool. Anthropic never shipped a standalone planner app. What it shipped is arguably better — a switch that turns an agent that does things into an agent that proposes things. So when we say Claude planner in this guide, we mean plan mode, the feature Google is quietly resolving your search to.

Flip that switch and Claude Code loses its hands. It can still read any file in your project, search the codebase, trace call sites, and ask you questions — but file edits and shell commands stay locked until you approve a plan. The output of a plan-mode session isn't a diff. It's a numbered strategy you can read in two minutes.

We build and maintain this site with Claude Code daily, and plan mode is the feature we'd least want to lose. Not because the plans are brilliant every time — sometimes they're wrong — but because a wrong plan costs us one paragraph of feedback, while a wrong implementation costs an afternoon.

How to use Plan Mode: Shift+Tab, /plan, and flags

There are five ways to switch the Claude planner on, and knowing more than one matters, because terminals love to steal keyboard shortcuts.

Five ways to enter Plan Mode in Claude Code — the Claude planner activation cheat sheet

MethodWhere it worksNotes
Shift+Tab twiceAny interactive sessionCycles default → auto-accept → plan mode; the status line under the input box shows the active mode
/planInteractive sessions, v2.1.0+Jumps straight to plan mode, no cycling
Alt+MWindows terminals, VS CodeThe fallback when Shift+Tab gets captured before Claude Code sees it
claude --permission-mode planAt launchStarts the whole session read-only
permissions.defaultMode: "plan".claude/settings.jsonMakes plan mode the default for every session in that project

Two of these earn a special mention. The Alt+M fallback exists because plenty of Windows terminals intercept Shift+Tab — if the mode indicator doesn't change when you press it, that's why. And the settings.json default is how you make planning non-optional for a whole team: commit it to the repo, and every session in that project starts in research mode.

The plan file: Markdown you can read, edit, and keep

Everything the Claude planner produces is refreshingly boring technology: a Markdown file that Claude writes into the plans folder inside your .claude directory. No proprietary format, no lock-in — numbered steps, the files each step touches, and usually a note on how to verify the result.

That plain-text choice has three practical consequences we lean on constantly:

  1. You can edit it directly. Press Ctrl+G and the plan opens in your editor. Delete step 4, reword step 6, save — Claude works from the revised version. Editing the file is faster than arguing with the model in chat.
  2. You can keep it. Plans survive the session as ordinary files. We paste the final plan into pull request descriptions, and reviewers consistently tell us it's the most useful part of the PR.
  3. You can hand it off. A plan written for Claude is also a perfectly good brief for a human. More than once we've had plan mode produce the strategy and a colleague implement it by hand.

Why plan-first ships better code

The case for the Claude planner workflow isn't ideological; it's economic. Three observations from our own usage make it concrete:

  1. A rejected plan costs a paragraph; a rejected diff costs an afternoon. Reviewing twenty lines of stated intent takes two minutes. Reviewing a 400-line diff that went in the wrong direction takes an hour — and reverting it, cleaning up, and re-prompting eats the rest of the day.
  2. Read-only research is cheap insurance. Because plan mode physically cannot edit files or run commands, you can point it at code you're scared of — auth, payments, deploy scripts — and let it explore at zero risk. That guarantee comes from Claude Code's permission system, not from the model's good intentions.
  3. Tokens flow one way. A wrong-direction execution burns tokens on edits, failed test runs, and reverts, then burns them again on the retry. Approving a plan first means the expensive execution pass runs once, pointed the right way. Our rough accounting: a rejected plan costs a few thousand tokens; a rejected implementation costs tens of thousands.

There's a quality effect on top of the economics. Separating "decide what to do" from "do it" gives the model room to reason before it commits — the same reason senior engineers sketch on a whiteboard before they type. Planning quality tracks reasoning ability, so model choice matters more here than anywhere else: Claude Opus 4.8 leads SWE-bench Pro at 69.2%, and hairy migration plans are exactly where that edge shows. We keep Claude Sonnet 5 as our default and escalate for the hard ones — the full reasoning is in Claude Sonnet vs Opus.

The Claude planner workflow, start to finish

Here's what a real session looks like, using a task from our own backlog: moving this site's in-memory rate limiter to Redis so it works across server instances.

The Claude planner workflow in Claude Code — goal, clarifying questions, Markdown plan, approval, execution

  1. State the goal, not the steps. "Move our rate limiter from in-memory to Redis so it survives restarts and coordinates across instances." Resist the urge to dictate the approach — the research pass is the point.
  2. Claude researches. It reads the limiter module, greps for every call site, checks how the login throttle and the AI-request throttle consume it, and looks for an existing Redis connection in the config.
  3. It asks before it assumes. Good clarifying questions are the tell of a good planning run. "Should failed-login counts survive a deploy?" was one we hadn't thought to ask ourselves.
  4. The plan arrives. Numbered steps, files touched per step, a test strategy, a rollback note. Read all of it. Edit it with Ctrl+G, or reply with corrections in plain English.
  5. Approve and execute. Claude drops out of plan mode, implements step by step, and you review diffs exactly as you would in any other session.

The planning phase for that task took about four minutes. The clarifying question in step 3 caught a design decision we would otherwise have discovered in code review — or worse, in production.

When to skip the planner

Plan mode is friction on purpose, and friction is the wrong default for trivial work. Our rule of thumb: if you'd sketch the approach before handing the task to a junior developer, plan first. If you'd just say "fix the typo," don't. The Claude planner earns its keep on risky changes and turns into pure overhead on tiny ones.

Plan firstJust prompt
Changes touching three or more filesOne-line fixes and typos
Migrations, schema, auth, paymentsRenames and formatting inside a single file
A codebase you don't know yetCode you know cold
Long agentic runs you'll walk away fromQuick questions ("what does this function do?")
Anything expensive to get wrongThrowaway scripts and prototypes

Worth knowing if you're tool-shopping: planning discipline is a differentiator, not table stakes. Cursor's agent plans too, but the control surface differs enough that we wrote a separate comparison in Cursor vs Claude Code.

Plan mode vs the auto modes

Claude Code's plan mode is one of three permission modes, and together they form a dial that runs from "propose everything" to "just go."

Plan ModeDefaultAuto-accept
Read files, search codeYesYesYes
Edit filesNoWith per-edit approvalYes, without asking
Run commandsNoWith approvalYes, within your allowlist
Best forResearch and strategy before changesSupervised day-to-day workWell-scoped tasks you review at the end
Cost of a mistakeA discarded documentA rejected diffWhatever happened while you weren't looking

The pattern we've settled on after a year of daily use: plan in plan mode, execute in auto-accept, review the diff at the end. Shift+Tab cycles between modes fast enough that switching becomes muscle memory. The approved plan acts as the contract — auto-accept is only scary when the agent is improvising, and a Claude planner session ends with an agent that isn't.

Claude pricing at a glance

PlanPrice
Free$0
Pro$20 / month
Maxfrom $100 / month
APIPay per token

For the full breakdown of every plan, see our how much Claude costs guide.

Frequently Asked Questions

Plan Mode is a read-only permission mode in Claude Code. Claude can read files, search the codebase, and ask you questions, but it cannot edit anything or run commands until you approve the plan it produces. It exists so the agent commits to a reviewable strategy before touching your code.

Press Ctrl+G while the plan is on screen and Claude Code opens it in your editor. Delete steps you don't want, tighten the ones you do, save, and Claude picks up the changes. You can also just reply with corrections — "skip step 4, use Redis instead" — and it revises.

Set permissions.defaultMode to "plan" in your project's .claude/settings.json, and every session in that repo starts read-only. For a one-off session, launch with claude --permission-mode plan instead. We set the default in client repos we don't know well and leave our own projects on normal mode.

Yes, though that's a different Claude planner: plain Claude chat rather than plan mode. Give it your calendar, task list, and priorities, and it produces a time-blocked schedule in one pass. For planning work that lives in documents and spreadsheets rather than code, [Claude Cowork](/what-is-claude-cowork) fits better.

The research pass costs tokens, so a planned task starts out more expensive than a direct prompt. In our experience it finishes cheaper: rejecting a bad plan costs a few thousand tokens, while unwinding a bad implementation — wrong edits, failed test runs, reverts — routinely costs ten times that.

Claude Sonnet 5 handles everyday planning well and costs $2/$10 per million tokens at introductory pricing until August 31, 2026. For plans where the reasoning itself is the hard part — big migrations, tangled refactors — we switch to Claude Opus 4.8, which leads SWE-bench Pro at 69.2%.

Claude Code drops out of plan mode and starts executing: editing files, running commands, and checking off steps in order. You still review diffs under whatever permission mode you chose for execution, and you can interrupt at any point. The plan file stays on disk afterward for reference.
InnovateTechie

Written by

InnovateTechie

Writing about Claude and the Anthropic toolkit — models, Claude Code, pricing, features, and fixes, in clear, practical, hands-on guides tested by daily use.

View all posts →