~/academy $ claude learn plan-mode
Plan mode: agree the approach before any edit
How to enter and leave plan mode in Claude Code, how to review and edit the plan, and which jobs deserve a plan first. 6 min
Watch it done: get a plan approved before any edit
Step 1 of 6
Start straight in plan mode from your shell. Inside a session, Shift+Tab or /plan gets you there too.
- Start straight in plan mode from your shell. Inside a session, Shift+Tab or /plan gets you there too. Type: claude --permission-mode plan. Claude Code starts in plan mode. The status bar shows ⏸ plan mode on.
- Describe the change as normal. In plan mode Claude researches and proposes, and edits stay blocked until you approve. Type: add a due date to each todo and sort the list by it. Claude reads files and may run commands to explore, then writes a plan. Your source files are not edited.
- Press Ctrl+G to edit the plan yourself. Delete a step, add a constraint or rename a file. The proposed plan opens in your default text editor, so you can change it before Claude goes ahead.
- Approve the plan, or say what to change. Approving leaves plan mode and Claude starts editing. The choices are: Yes, and use auto mode. Yes, manually approve edits. No, keep planning.
- For the next job, put /plan in front of the task to switch and start planning in one go. Type: /plan add a filter that shows only overdue todos. The session goes back into plan mode and starts planning this task straight away.
- Want to leave without approving? Press Esc first. At the approval prompt, Shift+Tab approves the plan. Press Esc to close the approval prompt, then Shift+Tab to move out of plan mode.
Commands from the official Claude Code docs, checked 18 November 2026. Lines marked Note describe what happens and are not real output.
$ Read
What plan mode does
In plan mode Claude researches and proposes, but does not change your source files. It reads code, runs commands to explore, then writes a plan and waits for you. Edits stay blocked until you approve it.
While it is on, the status bar under the prompt shows ⏸ plan mode on. That is your signal that nothing is being written.
One exception worth knowing: if you started the terminal session with bypass permissions available, Claude is still told to plan, but the blocks are not enforced. Another reason to keep bypass for throwaway containers.
Lesson notes: Plan mode: agree the approach before any edit
Everything in this lesson as text, for revision or to read without the interactive steps. By the end you will be able to: You can get a written plan from Claude Code, change it, and approve it before a single file is touched.
Step 1 of 6 · Read
What plan mode does
In plan mode Claude researches and proposes, but does not change your source files. It reads code, runs commands to explore, then writes a plan and waits for you. Edits stay blocked until you approve it.
While it is on, the status bar under the prompt shows
⏸ plan mode on. That is your signal that nothing is being written.One exception worth knowing: if you started the terminal session with bypass permissions available, Claude is still told to plan, but the blocks are not enforced. Another reason to keep bypass for throwaway containers.
Step 2 of 6 · Read
Getting in and out
Press
Shift+Tabto cycle permission modes until the status bar shows plan mode. If the session started in auto mode, the first press goes to Manual, then accept edits, then plan.Faster: type
/planon its own, or/planfollowed by the task to switch and start planning in one go. You can also launch straight into it from your shell.To leave without a plan waiting, press
Shift+Tabagain. If the approval prompt is already showing, pressEscfirst: pressingShift+Tabat that prompt approves the plan.Inside a session /plan fix the login timeout bug
From your shell claude --permission-mode plan
Step 3 of 6 · Try it in the terminal
Plan a fix in one line
A customer reports being logged out early. Switch to plan mode and start planning in a single command. The task is: fix the login timeout bug
Hint: The slash command is /plan, followed by the task in plain words.
Show the command
$ /plan fix the login timeout bug ⏸ plan mode on Reading src/auth/session.ts, src/auth/refresh.ts... Plan 1. Reproduce with a failing test in tests/auth/session.test.ts 2. Refresh the token before expiry instead of after 3. Run the auth tests and show the output Would you like to proceed?
Step 4 of 6 · Read
Review, edit, then approve
When the plan is ready you choose: Yes, and use auto mode (approve and let it work without routine prompts), Yes, manually approve edits (approve, but check each edit), or No, keep planning (tell it what to change).
Press
Ctrl+Gto open the plan in your text editor and change it directly before Claude starts. Delete a step, add a constraint, rename a file. In the VS Code extension the plan opens as a Markdown document you can comment on line by line.Approving switches the session out of plan mode and Claude begins editing. To plan the next job, press
Shift+Tabback to plan mode or start your prompt with/planagain.Step 5 of 6 · Quiz
Check your understanding
The plan is on screen but you are not ready to approve it. You want to leave plan mode for now. What do you press first?
- Shift+Tab
- Esc, then Shift+Tab if you want to change mode
- /clear
Show the answer
Esc, then Shift+Tab if you want to change mode Right. Esc closes the approval prompt. With no prompt open, Shift+Tab then cycles you out of plan mode.
Step 6 of 6 · Sort
Plan first, or just ask?
Sort each job. Is it worth a plan before Claude touches anything?
- Move the login system to a new authentication library across 30 files
- Fix a typo in the README
- Your first change in a codebase you have never seen
- Rename one variable inside one function
- Change the database schema for orders
- Add a log line to see what value arrives
Show the answers
- Move the login system to a new authentication library across 30 files: Plan first. Many files and many ways to do it. Agreeing the approach first saves a lot of undoing.
- Fix a typo in the README: Just ask. One obvious change. A plan would take longer than the fix.
- Your first change in a codebase you have never seen: Plan first. Plan mode lets Claude explore and show you its understanding before it acts on it.
- Rename one variable inside one function: Just ask. Small, contained and easy to check in the diff.
- Change the database schema for orders: Plan first. Schema changes ripple into every reader of the old shape. You want to see that list before anything changes.
- Add a log line to see what value arrives: Just ask. Quick and reversible. Ask and move on.