AI CODING TOOLS / LESSON 05
Permission Modes.
Controlling what Claude Code can do

Loading the lesson…
Loading activities…
AI CODING TOOLS / LESSON 05
Controlling what Claude Code can do

Loading the lesson…
Loading activities…
Claude Code can create files, edit code, run commands and make REAL changes to your computer. That's awesome... and it's also exactly why you need to stay in the driver's seat. Permission modes are how you decide how much freedom Claude gets.
Say you hire a contractor to work on your house. You've got options.
Permission modes work the same way. You pick how much oversight you want.
Claude Code has three main modes for handling permissions. (There are a few more advanced ones too, but these are the three you'll touch first.)
In ask mode, Claude stops and asks before doing anything significant. It's the safest option. Claude Code calls it Manual mode these days, and newer versions (v2.1.283 and up) actually start sessions in auto mode, where a separate safety checker reviews actions for you. Press Shift+Tab during a session to cycle modes and land on manual.
How it works.
Example.
Pick an option with the arrow keys and Enter (or just press the number). Pressing Esc is the same as saying No.
In auto-accept mode, Claude makes changes without checking in every time. It just does the work and tells you what it did.
How it works.
When to use it.
To enable it. Press Shift+Tab during a session until the status bar says "accept edits on". That lets file edits through without asking. The --dangerously-skip-permissions flag goes a LOT further. It's bypass permissions mode, which skips every permission prompt for everything, commands included.
Plan mode sits in the middle. Claude builds a complete plan, you review and approve the whole thing, and then it gets to work.
How it works.
When to use it.
Here's a quick cheat sheet.
| Situation | Recommended Mode |
|---|---|
| Learning Claude Code | Ask Mode |
| Important project files | Ask Mode |
| Quick prototyping | Auto-Accept Mode |
| Large refactoring task | Plan Mode |
| Running unfamiliar commands | Ask Mode |
| Repetitive file edits | Auto-Accept Mode |
Plenty of stuff doesn't need a thumbs up. Here's what Claude actually asks about.
Always asks in ask mode.
Doesn't need permission.
You can ALWAYS say no. If Claude proposes something that looks wrong, here's the drill.
Example.
When Claude asks permission, the prompt usually shows you three things, plus your answer options.
Something like this.
The middle option is handy. It says yes AND remembers your answer. For file edits that lasts until the session ends, and for a terminal command it's saved for that project, so Claude stops asking about that same command.
You know exactly what's happening before it happens.
Claude Code is built to be safe, and even in auto-accept mode it tries to steer clear of dangerous actions. But no system is perfect (anybody who tells you theirs is, I'd keep a hand on my wallet). A few safety tips.
Now that you know how to keep Claude in check, let's learn how to talk to it so you get great results. Next lesson is all about writing prompts that actually land.