In Claude Code, "Modes" refer to the different ways the AI interacts with your file system and terminal. You cycle through these modes using the Shift + Tab keyboard shortcut while in the Claude Code prompt.
Mastering these modes—and knowing how to negotiate a plan—are crucial for staying in control of your codebase.
Here is a breakdown of the different modes and how to use them, followed by a guide on modifying plans.
As of the latest versions of Claude Code, pressing Shift + Tab cycles you through three primary modes:
.gitignore and won't run blatantly destructive commands like rm -rf / without a warning, but it will write and edit code freely).var and change them to let across the project," you don't want to approve 50 individual file edits. Auto-accept lets Claude rip through the task.(Note: There is also a Headless Mode (claude -p "prompt"), which is non-interactive and used for scripts and CI/CD pipelines, as we discussed earlier).
If you are in Plan Mode and Claude suggests a plan that you disagree with, do not accept it and do not toggle back to Default Mode yet.
Plan Mode is a conversation. You modify the plan simply by talking to Claude and providing feedback. Because Claude hasn't written any code yet, it is very easy for it to adjust its strategy.
Here is the step-by-step workflow for modifying a plan:
Read through Claude's proposed steps. Maybe it wants to create a new file when you'd rather modify an existing one, or maybe it chose the wrong library.
Reply to Claude with exactly what needs to change and why.
Example of a bad modification prompt:
"No, that's wrong. Try again." (Too vague, Claude might just guess and repeat the mistake).
Example of a good modification prompt:
"Let's modify this plan. For Step 2, I don't want to create a new
auth_helpers.jsfile. Instead, put those helper functions inside the existingutils/auth.jsfile. Also, for Step 4, let's usebcryptinstead ofargon2for password hashing, as we already have it installed. Update the plan."
Claude will read your feedback, rethink the architecture, and output a newly revised plan. If you have multiple rounds of changes, just keep chatting until the plan is perfect.
Once you are 100% satisfied with the modified plan, you have two options:
Shift + Tab to go back to Default Mode, and say: "The plan looks good. Please execute it step-by-step."Shift + Tab to enter Plan Mode.Shift + Tab to enter Default Mode.ai