← Claude Code Hub
Apr 25, 2026 · 9 min read ✦ Tip #052

Escape Claude Code's permission fatigue without going YOLO

If you live with `--dangerously-skip-permissions` in Claude Code and haven't tried auto mode yet, you're missing most of YOLO's flow with an actual safety net.

auto mode vs --dangerously-skip-permissions: same flow, one has a safety net

TL;DR Auto mode puts a classifier between Claude and your machine: safe actions execute without prompting, risky ones get blocked. It's what --dangerously-skip-permissions should have been. I retired my YOLO alias the day I tried it.

Update, November 7, 2026: since v2.1.319, behind an LLM gateway or with telemetry or feature flags off, auto mode no longer switches to its own billed calls when the server doesn't review: it asks you about each action it can't check, or denies it when nobody can answer.

Update, October 31, 2026: since v2.1.284 auto mode is the mode interactive terminal and VS Code sessions start in on every plan and provider (claude -p and the Agent SDK still start in manual), and since v2.1.278 the server reviews actions without charging for the classifier on Enterprise, the API, and the cloud providers too.

Auto mode is no longer a research preview. Since v2.1.284 it's the mode your new interactive sessions start in, in the terminal and in VS Code, on every plan and provider, with nothing to turn on. Even so, plenty of people are still living on --dangerously-skip-permissions (the famous YOLO mode). That's a mistake: auto does almost everything YOLO does, with a separate model checking each tool call before it runs.

Think of it as a security guard. YOLO has no guard, everything walks through. Auto mode has a classifier (a separate model that Claude Code picks) that reviews each action and only lets the safe ones pass.

Result:

> Shift+Tab → mode: ⚡ auto

✓ Edit src/auth.ts
✓ Run npm test
✓ Run git commit -m "fix login"
✓ Run git push origin main
✗ Run git push --force origin main  (blocked: rewrites remote history)
↪ Claude stops and tells you why

Zero "(y)es" pressed for the entire session, and you still won't get an rm -rf slipped past or a deploy to production.

1. Turning it on

There's nothing to turn on: on v2.1.284 or later, interactive terminal and VS Code sessions already start in auto on every plan and provider, Enterprise, a Console API key, and Bedrock, Agent Platform, or Foundry included. Before that version it only happened on Pro, Max, and Team, since v2.1.228 (v2.1.233 on native Windows). Where a session still starts in manual mode is claude -p and the Agent SDK, which switch to auto with --permission-mode auto, and organizations with the HIPAA configuration. In a session that started in another mode, you get to auto by cycling:

> Shift+Tab

default → acceptEdits → plan → ⚡ auto

Cycling to auto no longer asks for confirmation. To make your sessions start in another mode, set it in permissions.defaultMode, which wins over the built-in one; this one keeps them in manual:

{ "permissions": { "defaultMode": "default" } }

If the value you set is "auto", it only counts in ~/.claude/settings.json or in managed settings. In the project's .claude/settings.json it's ignored silently, and the session starts in the built-in mode with no explanation. Since v2.1.257 the same goes for bypassPermissions: where it has to go now.

Exact requirements:

Type What you need
Plan All of them. Pro, Max, Team, Enterprise, and API.
Model On the Anthropic API and Claude Platform on AWS: Opus 4.6 or later, Sonnet 4.6 or later, or Fable 5. On Bedrock, Agent Platform, Foundry, and signed-in Claude apps gateway sessions: only Sonnet 5, Opus 4.7 or later, and Fable 5. Sonnet 4.5, Opus 4.5, Haiku, and the claude-3 models don't work on any provider.
Provider All of them by default. The CLAUDE_CODE_ENABLE_AUTO_MODE=1 variable, mandatory from v2.1.158 through v2.1.206, no longer has any effect.
Admin (Team/Enterprise) Available by default. An admin takes it away with permissions.disableAutoMode: "disable" in managed settings.

If Auto says "unavailable" while you believe you meet everything, it's not a transient outage — one of the requirements is missing, and it's almost always the model.

2. What the classifier lets through and what it blocks

Passes silently:

  • Edits and reads inside your working directory
  • Installing dependencies declared in lockfiles or manifests
  • Reading .env and sending credentials to their matching API
  • Read-only HTTP requests
  • Pushing to any branch of the repository you're working in, the default branch included

Blocked by default:

  • curl | bash and download-and-execute patterns
  • Sending sensitive data to external endpoints
  • Production deploys and migrations
  • Mass deletion on cloud storage
  • Granting IAM or repo permissions
  • Force push, deleting remote branches or tags, rewriting history
  • Pushing to a branch whose name marks it as a deploy target (production, gh-pages)
  • Irreversibly destroying files that existed before the session

Pushing to the default branch stopped being blocked in v2.1.211. What still gets reviewed is the content: a secret entering the commit, or a change that would expose data once the pipeline runs it, is blocked on any branch.

To see the full rule lists: claude auto-mode defaults.

The classifier has kept adding rules since. For the three most recent protections (local destructive git, an rm -rf on a variable it can't resolve, and session transcript tampering), see Claude Code auto mode now protects you from yourself.

3. The hidden feature: conversational boundaries

This isn't in the release note and it's the most useful thing about Auto mode after the classifier itself.

If at any point you tell Claude "don't push" or "wait until I review before deploying", the classifier treats that sentence as a deny rule for the rest of the session. It re-reads the transcript on each check.

You: it's Friday, don't touch production this afternoon
Claude: understood.

[hours later, Claude proposes a deploy]
✗ Run aws ecs update-service ... (blocked: user asked to skip prod)

Watch out for context compaction: boundaries live in the transcript. If you compact and the message goes, the boundary goes too. For a real hard guarantee, write a deny rule in .claude/settings.json instead.

4. The other hidden feature: broad allow rules dropped automatically

If your settings.json has rules like Bash(*) or Bash(python*) — the lazy shortcut — when you enter Auto mode Claude drops them automatically. They come back when you leave.

allow:
  Bash(*)              # ⚠️ dropped on entering Auto
  Bash(npm test)       # ✓ this carries over (it's narrow)
  Agent(my-agent)      # ⚠️ also dropped

It does this because Bash(*) would effectively disable the classifier. Narrow rules (Bash(npm test), Bash(git commit *)) stay — those are intentional.

5. When Auto gives up

If the classifier blocks 3 actions in a row or 20 total, Auto pauses and you're back to manual prompts. Not configurable. If it happens often, the classifier is missing context about your infrastructure: you give it that by declaring your repos, buckets, and domains in autoMode.environment. Those entries, and the rules you can write of your own alongside the built-in ones, are covered in Claude Code auto mode rules: write your own in one plain sentence.

And if you walk away from the desk while Claude works, that pause costs you double: turn on the push to your phone so you hear about it there and then, not on your way back.

Auto mode is also what lets a session that resumes after a usage limit keep working while you're away: without it, it can sit on the first permission prompt it raises.

6. When YOLO still makes sense

--dangerously-skip-permissions still has a niche (and a silent failure in headless worth knowing about first):

  • Ephemeral containers without internet
  • Isolated VMs / sandboxes
  • CI runs with tight scope where you want raw speed

On your daily-driver machine, there's no reason to keep using YOLO if Auto is available. Auto gives you 95% of the flow without the risk.

And if you want a no-prompt flow on your own machine without leaning on a classifier? The OS-level sandbox is the other net: a wall the operating system enforces.

Auto vs YOLO

auto bypassPermissions (YOLO)
Prompts No No
Classifier before every action ✓ ✗
Blocks force push, mass delete, prod deploys ✓ ✗
Honors "don't push" in chat ✓ ✗
Drops broad allow rules ✓ ✗
Cost per session No classifier charge where the server reviews Same as normal
Safe on host machine ✓ ✗ (containers only)

Classifier calls don't eat your limits on Pro, Max, or Team. On Enterprise and on accounts using the Claude API, Claude Platform on AWS, Bedrock, Agent Platform, or Foundry, since v2.1.278 the server does the review by default, inside the session's own requests and with no separate charge, as Anthropic rolls it out on each platform. When it doesn't arrive, what happens depends on where you are. Behind an LLM gateway or proxy, the most common cause, or with telemetry or feature flags off, since v2.1.319 there's no plan B: every action the server can't review is put to you, as in manual mode, or denied when nobody can answer, as in claude -p. On Bedrock, Agent Platform, and Foundry, and on the other accounts, Claude Code still falls back to its own calls, which do count as tokens there, and tells you first. CLAUDE_CODE_AUTO_MODE_SERVER=0 picks those calls from the start, behind a gateway too, and you get neither the notice nor the questions. What you always pay is latency: each check adds a round trip before execution, and only shell commands and network operations go through it.

I used YOLO via a claude-yolo alias for months. When Auto shipped I tried it expecting the classifier to slow me down. You barely notice it: on long tasks it intervenes once every twenty actions, and when it does, it's almost always right. The alias is still there. I don't use it anymore.

One case where auto mode makes the difference: reviewing a PR in its own worktree, dozens of commands (install, build, tests) without a single permission prompt.

For the full 6-mode rundown, see Control How Much Autonomy Claude Code Gets with 6 Permission Modes. To understand how modes combine with /permissions, see 3 Things You Must Know About /permissions in Claude Code.

Auto mode is the third of five levers; the other four, and the order to use them in, are in the guide to stop Claude Code asking for permission.

Official docs: Permission modes | Auto mode engineering blog (Anthropic)

Found this useful? See more of wmedia.es in your Google results.

Add wmedia.es as a preferred source on Google
FREE GUIDE

Approve less, but better.

Ten minutes in, you're hitting yes without reading. That's not review, that's prayer. A 10-page guide with the five levers in order of risk.

  • 1. Rules the first match wins
  • 2. Mode a dial, not a switch
  • 3. Auto mode a classifier approves for you
  • 4. Sandbox a fence the OS puts up
  • 5. Bypass only inside a container
Are you a professional Web developer?

You'll receive the guide by email · You join the Gravitas newsletter · Unsubscribe anytime

of 10
#

Wmedia · 10 pages
FREE GUIDE · 10 pages · 5 levers

Approve less, but better.

Ten minutes in, you're hitting yes without reading. That's not review, that's prayer. A 10-page guide with the five levers in order of risk.

Are you a professional Web developer? · Unsubscribe anytime
How I use AI

My Claude Code workflow.

The skills, agents and instructions I use as a professional Software Engineer. It's called Craft, and it's a plugin you can install.

See the skills

Tired of approving permissions without reading?