Auto mode is the default in Claude Code. What a pre-action gate still adds

4 min read · For developers running Claude Code

TL;DR: Anthropic made auto mode the default for new Claude Code sessions on Pro, Max, Ultra and Team plans. A classifier now reviews tool calls instead of asking you. Hooks still run first. We changed ThumbGate to follow the same rule auto mode uses for broad allow rules, and added an auto mode section to npx thumbgate doctor.

What Anthropic shipped

From Anthropic's article (linked below). The numbers are Anthropic's own; we did not reproduce them.

How a ThumbGate hook fits

ThumbGate runs as a PreToolUse hook. We tested how hooks and auto mode interact on Claude Code 2.1.332 with claude -p --permission-mode auto:

The two layers do different jobs. The classifier judges general risk. ThumbGate checks the call against rules your own thumbs-down taught it in this project, in milliseconds, the same way every time.

What we changed in ThumbGate

  1. The same line Anthropic drew. Auto mode sets aside allow rules that let an agent run any code. A ThumbGate 👍 on python build.py or npx some-tool was doing what those rules do. Now, in auto mode, a learned approval for an interpreter or one-off package runner (python, node, bash, npx, uvx, npm exec, uv run and similar) is left to the classifier. Other modes keep the approval. This was already true for git commands that can discard work.
  2. An auto mode check in thumbgate doctor. It shows whether your mode is pinned or auto mode is turned off, lists allow rules like Bash(python:*) that auto mode sets aside, and says whether ThumbGate can skip the classifier.
  3. A claim we checked and dropped. We had a note that ask rules stop prompting in auto mode. On Claude Code 2.1.334, run headless in auto mode, an ask rule was still honored. So ThumbGate makes no claim about it.

Try it

  1. Install or update: npx thumbgate init.
  2. Check the fit: npx thumbgate doctor, and read the "Claude Code auto mode" section.
  3. Optional: npx thumbgate auto-approve on to turn your 👍 into fewer interruptions, without skipping the classifier on code runners.

What this does not do

Sources

ThumbGate is an independent project and is not affiliated with or endorsed by Anthropic.

Fewer prompts, your own rules

Pre-action gates built from your own thumbs-down, checked before every tool call, in auto mode too.

npx thumbgate init
Auto mode on, your rules still checked npx thumbgate init Setup guide