Skip to content
Claude Certified Architect – Foundations (CCAR-F) Exam Prep

Lesson 16 of 30 · 6 min

x
16/30

Plan Mode vs Direct Execution

Video lesson: CCAR-F 16/30: Plan Mode vs Direct Execution

Permission modes

ModeWhat runs without askingBest for
defaultReads onlyReviewing every action
acceptEditsReads, file edits, common filesystem commandsIterating on code you review
planReads (plus classifier-approved commands when auto mode is available)Exploring before changing
autoEverything, with background safety checks by a classifierLong tasks, fewer prompts
dontAskPre-approved tools and reads only; anything that would prompt is deniedLocked-down CI
bypassPermissionsEverythingIsolated containers and VMs only

Auto mode reduces prompts but does not guarantee safety. Newer versions can start sessions in auto mode by default.

Plan mode

Claude researches and proposes without editing source. Edits stay blocked until you approve the plan.

  • Enter with Shift+Tab, prefix a prompt with /plan, or start with claude --permission-mode plan. Shift+Tab again leaves plan mode without approving.
  • When the plan is ready you can choose: approve and use auto mode (or auto-accept edits), approve and manually approve each edit, or keep planning with feedback.
  • Ctrl+G opens the plan in your editor.
  • Make it the default for a project with defaultMode: "plan" in .claude/settings.json.

Choosing (design guidance)

Plan first when the change is large, touches many files, has several viable approaches, involves an unfamiliar codebase or has expensive mistakes (migrations, public APIs, architecture).

Direct execution when the task is small, well specified and low risk (rename a variable, add a clear null check, fix a typo), or you can state the exact change in one sentence.

A hybrid is common: plan (or explore with a subagent) to decide the approach, then execute directly.

Exploration keeps main context clean

Delegate research to a subagent: it reads files in its own context and returns a summary (see Domain 1.3).

Exam traps

  • Planning a one-line change, adding ceremony for nothing.
  • Executing a multi-file refactor with an unclear approach without planning.
  • Using bypassPermissions outside an isolated environment.
  • Believing plan mode needs a different tool set. It is a permission mode: read and research, no edits until approval.

References

  1. Choose a permission mode — checked Oct 16, 2026
  2. Common workflows — checked Oct 16, 2026

Check your understanding

  • Migrate authentication across 40 files, two options on the table. Mode?Show answer

    Answer

    Plan mode first.
  • Add a null check on line 12 of one file. Mode?Show answer

    Answer

    Direct execution.
  • Mode for locked-down CI where anything unapproved should simply be denied?Show answer

    Answer

    dontAsk.
Previous

Progress is saved in this browser.

Next Lesson