Auto mode for Claude Code
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Claude Code users can now replace permission prompts with an AI classifier, but it is a non-deterministic safeguard that won't stop supply-chain attacks on unpinned dependencies.
Anthropic has added an 'auto mode' to Claude Code, its command-line coding assistant. Instead of asking the human to approve every action, a separate safety model reviews each action before it runs and blocks ones that go beyond the requested task, touch infrastructure it doesn't recognise, or seem influenced by hostile content found in files or web pages. It still allows risky things through when intent is unclear, so it is a convenience rather than a guarantee.
Anthropic's Claude Code gains auto mode, which cuts the approval-prompt friction of agentic coding by delegating permission decisions to a Claude Sonnet 4.6 classifier with extensive default allow and block rules. The author warns it is probabilistic: it can't reliably stop prompt injection, and its default allow list would still have permitted the LiteLLM supply-chain attack via unpinned dependencies. Teams relying on --dangerously-skip-permissions gain guardrails; teams needing deterministic security should keep sandboxing.
Auto mode replaces --dangerously-skip-permissions in Claude Code: before each action, a separate classifier on Claude Sonnet 4.6 reviews the transcript and judges whether the action matches user intent. Defaults are inspectable via 'claude auto-mode defaults' (published as JSON): allow covers manifest-declared installs like pip install -r requirements.txt and in-scope local file ops; soft-deny covers git push --force, pushes to main, curl | bash, pickle/yaml.unsafe_load deserialization, and cloud storage mass deletes. Anthropic's docs concede the classifier may allow risky actions when intent is ambiguous, and Willison argues for deterministic sandboxing over probabilistic AI guardrails.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Claude Code Claude Sonnet 4.6 LiteLLM --dangerously-skip-permissions
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
OpenGame: turn your local coding agent into a full-stack game studio
Developers with a local coding agent can now scaffold full playable 3D games, art, music, testing, publishing, instead of only refactoring code, opening a path from hobby coding to shippable mini-games.
Let Claude Code or any agent tap, type, and read your real phone
Agents can now close the mobile testing gap by driving and reading a real phone themselves, with nothing installed on the device.
System-wide ad-blocking that catches trackers browser extensions can't
Desktop apps and OS components can now be ad-blocked system-wide, not just browser traffic, closing a privacy gap browser extensions cannot reach.
n8n's open source personal agent runs on your machine and asks before it acts
Developers uneasy about cloud-based AI agents get a local, approval-gated alternative they can download today, though its research-preview status limits real reliance.
A flight recorder for AI agents that even auditors can verify offline
Teams running AI agents on production systems get tamper-evident, auditor-verifiable records of every tool call instead of logs the agent could rewrite.