What Is Plan Mode?

Plan mode tells Claude to stop and think before it starts writing code. Instead of immediately editing your files, Claude will explore your project, read the relevant files, and propose a plan for you to review.

Think of it like asking an architect to draw blueprints before the construction crew shows up.

How to Enter Plan Mode

There are two ways to activate plan mode:

Option 1: The Keyboard Shortcut

Press Shift + Tab to toggle plan mode on and off. You'll see an indicator in the input area telling you plan mode is active.

Option 2: The Slash Command

Type this inside a Claude Code session:

/plan

This switches Claude into planning mode for the current task.

The Plan Mode Workflow

Here's how the cycle works:

  1. You describe the task. Tell Claude what you want to build or change.
  2. Claude explores. It reads files, searches your project, and gathers context (read-only, no edits yet).
  3. Claude writes a plan. It proposes a step-by-step approach: which files to modify, what to add, what to change.
  4. You review. Read the plan. Ask questions. Request changes.
  5. You approve. Once you're happy, give the go-ahead and Claude executes the plan.

When to Use Plan Mode

Plan mode is especially valuable when:

When to Skip It

For quick tasks, plan mode adds unnecessary overhead:

For these, just ask Claude directly and let it work.

A Real Example

Say you want to add dark mode to a website. Without plan mode, Claude might jump in and start rewriting your CSS. With plan mode, it will first propose something like:

Here's my plan for adding dark mode:

1. Add a CSS custom properties system for colors in styles.css
2. Create a .dark-theme class with inverted color values
3. Add a toggle button to the nav bar in header.html
4. Write a small JavaScript function to toggle the class and save preference to localStorage

Should I proceed?

Now you can see the full picture before any code changes. Maybe you want localStorage handled differently, or the toggle in the footer instead. You can adjust the plan before a single line of code gets written.

What You Learned

Plan mode gives you control. It turns Claude from an eager coder into a thoughtful collaborator who checks in before making changes. Use it for anything non-trivial and you'll save yourself from surprises.

Previous Lesson
Meter icon
Check Your Usage Know Your Limits
Next Lesson
Plug icon
Install Plugins Extend Your Tools