Permissions: how much can the AI do alone?

Play this lesson

Claude asks first

Remy asks Claude Code to clear out old art. Claude stops and shows a permission prompt:

rm -rf assets/old
Do you want to proceed?

That command deletes a folder and everything in it, with no recycle bin. Remy can answer Yes, No, or "Yes, and don't ask again" for that kind of command.

Asking every time is safe but slow. Never asking is fast but risky. A permission mode sets which actions Claude may take without asking first. In the CLI, Shift+Tab switches modes and the status bar shows the current one. Editors and the web have a mode menu.

Four modes

Bolt says: In VS Code, Accept edits is labelled Edit automatically. Same mode, different name.

Quick check

Kai wants Claude to study the Garden Defense shop code and suggest how to add a weekend sale, without changing a single file yet. Which mode?

  1. Plan
  2. Accept edits
  3. Auto
Show the answer

Plan

Plan mode lets Claude read and explore, then present a plan. No code changes until Kai approves it. Accept edits and Auto would both let Claude start editing straight away.

Inside auto mode

In auto mode the classifier reviews actions instead of you. It blocks anything that goes beyond what you asked for, reaches systems it doesn't recognise, or seems driven by instructions hidden in something Claude read.

Blocked by default, for example: git push --force, git reset --hard (throws away uncommitted work), deploying to the live game, running code downloaded from the internet, and merging a pull request no human approved.

At the time of writing, new terminal sessions start in auto mode when it's available. Anthropic's own docs warn that it "reduces permission prompts but does not guarantee safety".

Quick check

In auto mode the classifier checks every action, so a studio no longer needs branches or code review.

Show the answer

False

The classifier lowers the risk, but Anthropic says plainly that it does not guarantee safety. Branches, review and tests still catch what it misses.

When a human must say yes

Two questions decide it. Could we undo this in a minute? Does it stay inside our project?

Approve it?

Permission prompt
Bash command  git push --force origin mainThis command requires approvalDo you want to proceed?  Yes  No

Kai asked Claude to tidy the commit messages on feature/snail-pest. Now Claude wants to run this. What should Kai do?

  1. Say no, then ask Claude what it is trying to do: a force push to main can wipe out commits Remy already pushed
  2. Say yes, Claude is only tidying messages
  3. Say yes, and don't ask again for git push commands
Show the answer

Say no, then ask Claude what it is trying to do: a force push to main can wipe out commits Remy already pushed

Kai asked about a feature branch, but this targets main, the shared branch. --force replaces the history on GitHub with Kai's copy, which can erase teammates' commits. Hard to undo and reaching outside: that needs a human no.

Pick a mode per task

Bolt says: Faster modes trade control for speed. The more a mistake would cost, the more control you keep.

Pick the mode

Remy wants Claude to split Garden Defense's 2,000-line game.js into modules. Nobody has a plan yet. How should Remy start?

  1. Plan mode, then approve the plan and let Claude work on a feature branch
  2. Auto mode on main, so it finishes fastest
  3. Accept edits on main, and play the game next week
Show the answer

Plan mode, then approve the plan and let Claude work on a feature branch

A big, unfamiliar change deserves a plan you can read and fix first. Working on a feature branch keeps main playable whatever happens. Working straight on main risks the version players use.

Locks and safety nets

Modes are a starting point. Permission rules in .claude/settings.json, committed for the whole team, add exact locks:

"ask": ["Bash(git push *)"]
"deny": ["Read(./.env)"]

An ask rule forces a prompt even in auto mode. A deny rule blocks in every mode. That is the difference from CLAUDE.md, which is advice Claude reads, not a lock.

The studio habits still apply too: work on a branch, commit small save points, review every pull request, and let the robot run the tests. They are what make a faster mode safe to use.

Bolt says: Workshop rules: done. Next lesson, we use them to break our giant files into LEGO blocks.

Fact-checked 9 October 2026