Skip to content

Plan mode: make Claude Code think before it touches anything

For anything bigger than a one-line fix, make Claude Code plan first and change nothing. Read the plan, fix the wrong assumption, then let it go.

By Nick

2 min read

Coding tools Intermediate
On this page
Time
Two minutes per task
Cost
Nothing extra
Level
Intermediate

Before you start

1. When to use it

Not for a typo. For anything where you would want to see a plan from a human: a new feature, a refactor, a bug you do not understand yet, anything touching data. If the words “and then” appear in your request, plan first.

2. Ask for the plan

Switch to plan mode with Shift+Tab, or paste this at the start of the task. The typed version works in any coding agent. How plan mode compares with accept edits and auto mode is on the permission modes page.

Plan this first and change nothing. Read the relevant files, then give me: the steps in
order, which files each step touches, anything you are assuming that you could not confirm
from the code, and what could go wrong. Keep it short. Wait for me to say go.

The task: [describe it]

3. Read it like a reviewer

You are looking for one thing: the assumption that is wrong. “It assumes the login form posts to /api/login” and it does not. Say so in one line. It replans. Now say go.

This is the same trick as asking what you missed, pointed at the agent’s plan instead of your own.

Example reply (trimmed). Your app will word it differently.

Add a 'forgot password' link to my login page, plus the prompt above

Steps

  1. Add a link under the form in login.html.
  2. Create reset.html with an email box.
  3. Add a /api/reset route in server.js that sends the email.

Assuming: the login form posts to /api/login, and an email service is already set up. I could not confirm either.

Could go wrong: if there is no email service, step 3 will fail.

Say go when ready.

Look for the assumption that is wrong. Correct it in one line, then say go.

If it skips the plan and starts editing, stop it, and put “plan first for anything touching more than one file” in your CLAUDE.md so you never have to say it again.

Common questions

How do I turn it on?

Press Shift+Tab until the prompt says plan mode, or just type 'plan this first, change nothing' at the start of your message. Both work. The typed version works in Codex and Cursor too.

Is it slower?

By a minute or two, and it saves you the twenty you would spend undoing a confident wrong change. For a one-line fix, skip it.

What if the plan is wrong?

That is the point of reading it. Say which step is wrong and why. It replans. Much cheaper than discovering it after the files changed.

What to do next

Related reading

Last reviewed 6 November 2026 by Nick.

Software changes fast. If something here is out of date, tell me and I'll fix it.

Get new guides by email

Occasional and practical. No spam, no hype, unsubscribe whenever.

Occasional practical guides from UncomplicateAI. You will get a confirmation email before anything else is sent. Unsubscribe any time. Privacy

You are not subscribed until you confirm the email. Unsubscribe any time.