Koda Dojo
Module 3 · Claude Code

Module 3: Permission Modes and Plan Mode

The right autonomy level for each job, with plan mode as your default safety net, instead of approving every single action by hand.

Lessons

  1. Six modes. Match each mode to what it does, then drive a practice terminal with Shift+Tab and watch the gate change.
  2. Seven jobs. Seven jobs on billing-api. For each, set the mode in a practice terminal, run it, and see what the gate lets through.
  3. Plan mode. Four rounds in the practice terminal: the indicator, /plan, a plan mode turn, and the approval menu.
  4. Allow rules. Review a settings file line by line, then fire commands at it in the practice terminal, before and after the fixes.
  5. Phase gates. Send "go" or a stop instruction in the practice terminal and compare, then put the seven steps of a phased build in order.
  6. Escape hatches. Interrupt, rewind and restore in the practice terminal, and see what a Bash command leaves behind.
  7. Fresh check. A case you have not seen, staged in the practice terminal. Commit to each answer before it is explained.
  8. Your terminal. Exercises to run in your own Claude Code. Start with 3.1. Nothing here is graded.

What you take away

  • Plan mode explores and proposes without editing your source: make it your starting posture for any task touching more than two files
  • shift+tab cycles permission modes and the indicator always shows where you are
  • A curated allowlist via /permissions beats escalating to a permissive mode
  • Esc interrupts and Esc Esc jumps back: drill both on throwaway work before you need them
  • Approve plans in phases, not marathons: every gate is a review checkpoint

Field exercises

  • Cycle Through Every Permission Mode and Read the Indicator
  • Run a Read-Only Architecture Audit in Plan Mode
  • Reject the First Plan on Purpose
  • Ship a Refactor With Plan Mode as Your Safety Net
  • Cut Permission Prompts With a Curated Allowlist
  • Run a Mechanical Sweep in acceptEdits Mode
  • Drill the Two Escape Hatches
  • Build a Feature With Phase Gates
  • Plan First Then Implement Feature

All fifteen modules of the Claude Code Dojo