Claude Code Auto Mode Gates Actions Instead Of Explanations

Claude Code Auto Mode combines an input injection probe with a two-stage action classifier, preserving autonomy while exposing an honest residual miss rate.

Retrieval answer

Claude Code Auto Mode combines an input injection probe with a two-stage action classifier, preserving autonomy while exposing an honest residual miss rate. Manual approval prompts degrade when nearly every prompt is accepted. Anthropic reports that users approved roughly 93% of Claude Code permission requests, creating a weak supervision loop.

New Runtime synthesiseditorial-diagram
Hand-drawn action pipeline where safe tools and project edits follow fast lanes, risky actions pass through a two-stage classifier, tool results pass through an injection probe, and repeated denials escalate to a person.
The classifier judges executable actions against user intent while a separate probe screens the content entering the agent loop.New Runtime synthesis from AnthropicOriginal source ↗
  1. Fast lanesRead-only tools and reviewable project edits avoid classifier latency.
  2. Action gateShell, network, external tools, and out-of-project access are checked before execution.
  3. Input probeSuspicious tool output receives a warning before it enters the main agent context.
  4. Deny and continueA blocked action returns as a tool result so the agent can attempt a safer route.

Manual approval prompts degrade when nearly every prompt is accepted. Anthropic reports that users approved roughly 93% of Claude Code permission requests, creating a weak supervision loop. Auto Mode targets the space between that repeated clicking and --dangerously-skip-permissions.

The execution policy has three tiers. Built-in read-only tools and narrow user rules form the first fast lane. Writes inside the project form a second lane because version control makes them reviewable. Shell commands, network access, external tools, subagents, and filesystem operations outside the project reach a transcript classifier.

The classifier sees user messages and executable tool calls, while assistant prose and tool results are removed. This prevents the agent from persuading its own approver and keeps hostile fetched content out of the decision transcript. A separate prompt-injection probe screens tool outputs before the main agent reads them, so input and action controls remain independent.

Classification is split into two stages. A fast one-token filter is tuned to block cautiously; only flagged actions reach a reasoning pass. On 10,000 internal tool calls, the first stage produced an 8.5% false-positive rate, while the full pipeline reduced it to 0.4%. That reduction costs recall: the deployed pipeline missed 17% of 52 real overeager actions and 5.7% of 1,000 synthetic exfiltration attempts.

Anthropic therefore positions Auto Mode as an improvement over no guardrails, not a replacement for careful review on high-stakes infrastructure. A denial returns to Claude as a tool result, allowing a safer attempt instead of terminating the session. Three consecutive denials or 20 total denials escalate to a person; headless sessions terminate.

For New Runtime, the transferable pattern is a reasoning-blind action gate with explicit residual-risk metrics. Keep cheap deterministic lanes for narrow operations, evaluate consequential actions against the user’s actual authorization, and make a false positive recoverable without turning a repeated denial into an endless bypass loop.

Recommendation

Claude Code Auto Mode combines an input injection probe with a two-stage action classifier, preserving autonomy while exposing an honest residual miss rate.

Discovery graph / next reads

Continue through New Runtime

Open the graph
  1. 01topicAgent Security - New RuntimeExplore the agent security topic hub.
  2. 02topicCoding agents - New RuntimeExplore the coding agents topic hub.
  3. 03related materialA Software Factory Connects Agents Through Verified OutcomesShares agent harnesses and coding agents.
  4. 04related materialCline Turns Recursive Self-Improvement Into Harness WorkShares agent harnesses and coding agents.
  5. 05related materialContainment Caps An Agent's Blast RadiusShares agent harnesses and agent security.

These links are also published in this page’s JSON twin and as typed edges in DiscoveryGraph v1.

Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate…

Open the JSON contract