Build This Now
Build This Now
What Is Claude Code?Claude Code InstallationClaude Code Native InstallerYour First Claude Code Project
speedy_devvkoen_salo
Blog/Handbook/Core/Planning Modes

Planning Modes

Shift+Tab twice flips Claude Code into read-only planning mode. The model analyses the project and proposes a strategy, and no files change until you approve.

Stop configuring. Start building.

SaaS builder templates with AI orchestration.

Published Mar 22, 2026Handbook hubCore index

Problem: Claude Code ships code fast. Sometimes too fast. You asked for a "quick fix" and twelve files came back modified with a breaking change baked into two of them.

Quick Win: Press Shift+Tab twice to drop into planning mode right now. Claude will analyze the project and won't touch a single file until you give the nod.

Planning mode changes how a complex edit actually lands. Instead of crossing your fingers that Claude gets it right the first time, you see the strategy before any code runs.

Before Planning Mode existed, the workaround was a prompt like:

"Don't code anything yet, just analyze the problem and suggest approaches"

That worked, sometimes. Claude's answers swung wildly in shape and depth. One run gave a single line. The next gave a small novel.

With Planning Mode, the output is structured and predictable every time. You get:

  • Numbered options with their trade-offs spelled out
  • A complexity read on each approach
  • The file changes required, listed up front
  • A consistent shape that's fast to scan

Activation and Control

Shift+Tab twice puts you in planning mode. The interface confirms it. Claude can still read everything in the repo, just not modify any of it.

Shift+Tab once more takes you back out. Claude then asks for explicit confirmation before running anything.

Pro Tip: Plan mode runs fast. No tool execution, no file writes. Responses come back quickly and burn fewer tokens.

What Claude Can Do in Planning Mode

Read-Only Access:

  • File content analysis with Read and LS tools
  • Codebase searching with Glob and Grep
  • Web research with WebSearch and WebFetch
  • Task organization with TodoRead/TodoWrite
  • Jupyter notebook viewing with NotebookRead
  • Full project understanding through careful analysis

Restricted Actions:

  • No file editing (Edit/MultiEdit blocked)
  • No file creation (Write blocked)
  • No command execution (Bash blocked)
  • No notebook modifications (NotebookEdit blocked)
  • No modifications through MCP tools

Claude plays strategist in this mode, not hands-on builder.

Complex Refactoring Projects

Use planning mode when:

  • A refactor touches multiple files
  • An architectural shift changes system design
  • The best implementation path is unclear
  • Legacy code needs a careful hand

Example Request:

"I need to migrate this Express app from CommonJS to ES modules. What's the safest approach?"

Claude walks the codebase, maps dependencies, proposes migration paths, and rates complexity, all without writing a line.

Feature Implementation Strategy

Use planning mode for:

  • New features landing in an existing system
  • Database schema changes
  • API endpoint edits that ripple out to multiple consumers

Example Response Pattern:

Architecture Review

Tell Claude: "Analyze my current project structure and suggest improvements"

You'll get a read on file organization, dependency patterns, and architectural bottlenecks, plus specific changes to make.

Performance Optimization

Request: "Review my database queries and suggest optimization strategies"

Claude reads your queries, flags N+1 problems, suggests indexing moves, and compares several optimization angles.

Security Assessment

Ask: "Audit my authentication system for security vulnerabilities"

Claude reviews the auth flow, flags likely issues, and suggests fixes. Nothing gets changed.

Start Complex Sessions with Planning: Before telling Claude to "refactor the entire user system," hit planning mode first. Know the scope before you commit.

Use for Code Reviews: Planning mode is great for reading existing code and proposing improvements. A natural fit for tech debt work.

Research Unknown Technologies: Integrating a new library or framework? Planning mode helps you see the integration surface before you write anything.

Validate Before Executing: Even on smaller changes, planning mode shows you exactly what Claude intends to touch. No surprises.

Planning mode plays nicely with the rest of Claude Code:

  • Context Management: Planning forces upfront analysis, which preserves context further into the session
  • CLAUDE.md Mastery: Use planning to draft CLAUDE.md changes before they go in
  • Auto-Planning Strategies: Pair with auto-planning for end-to-end project analysis. ClaudeFast's Code Kit builds on this with a /team-plan pipeline that auto-routes tasks through 5 complexity tiers, from direct execution for trivial fixes up to full multi-agent orchestration for architectural work
  • Terminal Main Thread: Planning reinforces the terminal-first approach to development

Get fluent with planning mode on real work:

  1. Enter planning mode with Shift+Tab twice on your next feature request
  2. Review the analysis and notice the structured, detailed response
  3. Approve or iterate to refine the plan before anything runs
  4. Execute confidently by exiting planning mode with full knowledge of what happens next

Ready to pair planning with more systematic tooling? Read Auto-Planning Strategies next.

Planning mode is the bedrock of PRD-first development. See how top builders combine it with four other techniques in our Claude Code best practices guide.

Continue in Core

  • 1M Context Window in Claude Code
    Anthropic flipped the 1M token context window on for Opus 4.6 and Sonnet 4.6 in Claude Code. No beta header, no surcharge, flat pricing, and fewer compactions.
  • AGENTS.md vs CLAUDE.md Explained
    Two context files, one codebase. How AGENTS.md and CLAUDE.md differ, what each one does, and how to use both without duplicating anything.
  • Auto Dream
    Claude Code cleans up its own project notes between sessions. Stale entries get pruned, contradictions get resolved, topic files get reshuffled. Run /memory.
  • Auto Memory in Claude Code
    Auto memory lets Claude Code keep running project notes. Where the files sit, what gets written, how /memory toggles it, and when to pick it over CLAUDE.md.
  • Auto-Planning Strategies
    Auto Plan Mode uses --append-system-prompt to force Claude Code into a plan-first loop. File operations pause for approval before anything gets touched.
  • Autonomous Claude Code
    A unified stack for agents that ship features overnight. Threads give you the structure, Ralph loops give you the autonomy, verification keeps it honest.

More from Handbook

  • Agent Fundamentals
    Five ways to build specialist agents in Claude Code: Task sub-agents, .claude/agents YAML, custom slash commands, CLAUDE.md personas, and perspective prompts.
  • Agent Harness Engineering
    The harness is every layer around your AI agent except the model itself. Learn the five control levers, the constraint paradox, and why harness design determines agent performance more than the model does.
  • Agent Patterns
    Orchestrator, fan-out, validation chain, specialist routing, progressive refinement, and watchdog. Six orchestration shapes to wire Claude Code sub-agents with.
  • Agent Teams Best Practices
    Battle-tested patterns for Claude Code Agent Teams. Context-rich spawn prompts, right-sized tasks, file ownership, delegate mode, and v2.1.33-v2.1.45 fixes.

Stop configuring. Start building.

SaaS builder templates with AI orchestration.

On this page

Activation and Control
What Claude Can Do in Planning Mode
Complex Refactoring Projects
Feature Implementation Strategy
Architecture Review
Performance Optimization
Security Assessment

Stop configuring. Start building.

SaaS builder templates with AI orchestration.