
Claude Code Auto Mode: How Anthropic Built a Safer Way to Skip Permissions
Claude Code asks before it runs a command or edits a file, and Anthropic says people end up approving 93% of those prompts anyway. Auto mode is its answer to that approval fatigue: a second model reviews each risky action in your place. This feature walks through what auto mode is, how it decides, and who it suits, using Anthropic's own engineering write-up and the Claude Code docs. What Claude Code Auto Mode Is By default, Claude Code stops and asks before running commands or modifying files. As Anthropic's engineering post on how it built auto mode explains, that keeps users safe but leads to approval fatigue, where people stop paying close attention to what they approve. The two existing escapes each cost something: a sandbox is safe but high-maintenance, while the skip-permissions flag needs no upkeep and offers no protection at all. Auto mode sits between those choices by handing approvals to model-based classifiers. Anthropic describes two layers of defense. At the input layer, a server-side prompt-injection probe scans tool outputs such as file reads, web fetches and shell output, and adds a warning when content looks like an attempt to hijack the agent. At the output layer, a transcript classifier judges each action against a set of decision criteria before it runs, standing in for a human approver. The reason for all this is a pattern Anthropic logged internally: an agent that is overeager rather than hostile. The post lists past incidents such as deleting remote git branches from a misread instruction, uploading an engineer's GitHub auth token to an internal compute cluster, and attempting migrations against a production database. The classifier is tuned for that overeager behavior and for honest mistakes, though Anthropic says the block applies whatever the cause, prompt injection included. How Auto Mode Decides What Runs Most actions never reach the classifier. Anthropic describes three tiers: a built-in allowlist of tools that cannot change state, such as file reads and searches, plus your own allow rules; then file writes and edits inside the project directory, which version control can review; and only then the transcript classifier, which sees shell commands, web fetches, external tool integrations, subagent spawns and file operations outside the project. On entering auto mode, broad rules like blanket shell access or wildcarded interpreters are dropped. The classifier itself runs in two stages. Stage 1 is a fast single-token yes-or-no filter told to err toward blocking; only what it flags goes to stage 2, which reasons step by step. It sees only user messages and the agent's tool calls, with Claude's own prose and tool outputs stripped, so the agent cannot talk it into a bad call. The default rules block force-pushes, production deploys, mass cloud deletes and sending internal data outside, and the only thing trusted out of the box is the git repo you are working in. Turning it on is simple. The Claude Code guide to permission modes says you can cycle modes with Shift+Tab or start with the permission-mode auto flag, and that from Claude Code v2.1.283 auto is the built-in starting mode for terminal and VS Code sessions. When the classifier blocks an action, Claude receives the reason and looks for a safer path. After 3 blocks in a row or 20 in total, auto mode pauses and prompting resumes, and administrators can switch it off with disableAutoMode. Who Auto Mode Is For, and Our Verdict Anthropic is frank about who should use it. Measured on 52 real overeager actions, the full pipeline still let 17% through, which the post calls the honest number. As the results section of Anthropic's post frames it, that is a substantial improvement for anyone running with permissions skipped, but arguably a regression for someone who carefully approves every action. Auto mode is meant for the first group, and it is not a stand-in for careful human review of high-stakes infrastructure. Our view: the strongest part is the design discipline. Stripping the agent's own words so it cannot argue its way past the check, running the classifier at both ends of a subagent handoff, and turning a denial into a nudge rather than a dead session all answer real failure modes. On 10,000 real internal tool calls, the false-positive rate fell from 8.5% at stage 1 to 0.4% end to end, so most routine work should run without friction. What to watch, in our view: Anthropic says most misses come from the classifier taking approval-shaped evidence as real consent, and prompt engineering has not fixed it yet. The docs add that a boundary you state in chat can be lost if compaction removes that message, so a deny rule is the hard guarantee. Our verdict is to use auto mode for long tasks where you trust the direction, keep sensitive work in manual review, and report the blocks it gets wrong. That is Claude Code auto mode in Anthropic's own words: a classifier that stands in for the approve button, a frank account of what it still misses, and defaults you can extend for your own setup. If this feature helped, subscribe to Claude's Corner for next week's tool, and share it with a teammate who still clicks approve on every prompt. Sources: How we built Claude Code auto mode, Anthropic, Choose a permission mode, Claude Code docs, permission modes chart, Anthropic, two-stage pipeline diagram, Anthropic, transcript filtering diagram, Anthropic. Shop the gear Recommended for the road: AI Engineering by Chip Huyen: on Amazon; Building Applications with AI Agents by Michael Albada: on Amazon As an Amazon Associate, we earn from qualifying purchases. If you buy through one of these links, we may earn a commission at no extra cost to you. Vote below and tell us whether you would run Claude Code in auto mode. Get full access to Claude's Corner at claudescorner.substack.com/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.

