---
title: "Claude Code auto mode: how it works and its risks | Bombos"
description: "Claude Code auto mode cuts permission prompts: rules and auto-approvals settle some actions, a classifier model reviews the rest. It cannot guarantee safety."
image: "https://bombos.ai/assets/og-en-v2.png"
---

# What is auto mode in Claude Code, and is it safe to use?

Short answer

Auto mode is a Claude Code permission mode in which Claude acts without asking, while a separate classifier model reviews what rules and auto-approval do not settle and blocks what goes beyond your request, such as a force push or a production deploy. Since v2.1.283 it is the starting mode for interactive terminal and VS Code sessions. The docs state that it reduces prompts but does not guarantee safety.

*Piet Baudoin · published November 17, 2026 · November 17, 2026*

## Auto mode among the permission modes

Claude Code has six permission modes. They differ in what Claude may do without asking you:

| Mode | Runs without asking |
| --- | --- |
| Manual (`default`) | Reads only |
| `acceptEdits` | Reads, file edits and common file commands in the working directory |
| `plan` | Reads and exploration; no source edits until you approve a plan |
| `auto` | Everything, subject to permission rules, automatic approvals and classifier review |
| `dontAsk` | Only pre-approved tools; everything else is denied |
| `bypassPermissions` | Everything, with no check |

Deny rules block in every mode, including `bypassPermissions`. Explicit ask rules still force a prompt in auto mode.

## How the check works

Actions that permission rules and automatic approval do not settle go to a separate classifier model before they run. Reads and file edits in the working directory, outside protected paths, skip it; mainly shell commands and network operations reach it. It blocks actions that escalate beyond what you asked for, that target infrastructure it does not recognize, or that appear driven by hostile content Claude read along the way. By default the classifier runs on Claude Sonnet 5.

The classifier sees your messages, Claude’s tool calls other than read-only lookups, and your CLAUDE.md. Tool results are stripped, so text in a file or web page cannot talk to the classifier directly.

**Blocked by default**, among others: downloading and executing code (`curl | bash`), sending sensitive data to outside endpoints, production deploys and migrations, force push, `git reset --hard`, `terraform destroy`, merging a pull request no human approved, and printing live credentials into the transcript.

**Allowed by default**, among others: local file work in the working directory, installing dependencies declared in lock files or manifests, read-only HTTP requests, and pushing to any branch of the current repository.

On entering auto mode, broad allow rules that grant arbitrary code execution, such as a blanket `Bash(*)`, are dropped. Narrow rules like `Bash(npm test)` stay, and the dropped ones come back when you leave auto mode. Run `claude auto-mode defaults` to see the full rule lists.

## How to turn it on, and availability

With Claude Code v2.1.283 or later, auto mode is the starting mode for interactive terminal and VS Code sessions on every plan and provider. Otherwise:

1.  Press Shift+Tab until the status bar shows `⏵⏵ auto mode on`.
2.  Or start with `claude --permission-mode auto`.
3.  Or set `"defaultMode": "auto"` under `permissions` in `~/.claude/settings.json`. A project settings file will not do it.
4.  For `claude -p` and the Agent SDK, pass `--permission-mode auto` or `permissionMode: "auto"`.

It works on all plans. On Team and Enterprise an administrator can switch it off in managed settings. It needs a recent model: on the Anthropic API Opus 4.6 or Sonnet 4.6 and later, Haiku 5.5 or a Fable model; on Bedrock, Google Cloud’s Agent Platform and Foundry, Sonnet 5 or Opus 4.7 and later, Haiku 5.5 or Fable.

## The risks

The docs say it plainly: auto mode reduces permission prompts but does not guarantee safety. Use it where you trust the general direction of the task, and keep human review for sensitive operations. In practice:

1.  **The classifier is a model.** It judges; it does not enforce. The Claude Code best practices put it in the non-deterministic column. A rule that may never bend belongs in a deny rule or a [hook](https://bombos.ai/en/questions/claude-code/claude-code-hooks/).
2.  **Pushing is allowed.** A push to any branch of the current repo goes through by default. Branch protection on `main` is what stops that from reaching production.
3.  **Trusted infrastructure is narrow at first.** The classifier trusts your working directory and the configured git remotes. An administrator adds trusted repos, buckets and services through the `autoMode.environment` setting; otherwise routine actions may get blocked.
4.  **Fewer questions.** Auto mode also nudges Claude to keep working instead of stopping for clarifying questions. If a task is ambiguous, say so in the prompt or start in [plan mode](https://bombos.ai/en/questions/claude-code/claude-code-plan-mode/).
5.  **Teammates follow the lead.** In an agent team, an in-process teammate runs in the lead’s mode while the lead is in auto mode.

Compared with `bypassPermissions`, auto mode is the safer way to skip prompts: the docs say bypass offers no protection against prompt injection and belongs only in isolated containers or VMs. For a broader view, see [is Claude Code safe for company code](https://bombos.ai/en/questions/claude-code/is-claude-code-safe-for-company-code/).

## What this means for a team

Auto mode makes a session behave differently per developer: the classifier sees each person’s own messages and CLAUDE.md, and admins decide centrally whether it is allowed and what infrastructure counts as trusted. The team’s hard limits still belong in committed deny rules, hooks and branch protection, which work the same for everyone.

## Where Bombos fits

The classifier judges actions against your request and CLAUDE.md. Bombos is a plugin that gives Claude Code and the team’s other AI tools one shared memory, so the agent works from the team’s actual knowledge and the rules learned from earlier corrections, each traceable to its source. One developer can try it on their own agents first.

## Related questions

Which plans have auto mode?

All plans, per the permission modes docs. On Team and Enterprise it is on by default, and administrators can turn it off by setting permissions.disableAutoMode to "disable" in managed settings.

Which models support auto mode?

On the Anthropic API: Claude Opus 4.6 or later, Sonnet 4.6 or later, Haiku 5.5 or a Fable model. On Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry: Sonnet 5 or later, Opus 4.7 or later, Haiku 5.5 and the Fable models. Sonnet 4.5, Opus 4.5, Haiku 4.5 and older are not supported.

What happens when auto mode blocks something?

You get a notification and the action appears under Recently blocked in /permissions, where you can approve it so Claude may retry. After 3 blocks in a row or 20 in total, auto mode pauses and Claude Code asks you again.

Does the classifier cost tokens?

It runs on Claude Sonnet 5 by default. On Enterprise plans and on accounts that use the Claude API, Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry, classifier calls count toward your token usage.

Why does auto mode in my project settings not work?

A defaultMode of "auto" in a project's .claude/settings.json or settings.local.json does not take effect. Put it in ~/.claude/settings.json, or start with claude --permission-mode auto.

## Sources

1.  [Claude Code docs: Choose a permission mode](https://code.claude.com/docs/en/permission-modes)
2.  [Claude Code docs: Best practices](https://code.claude.com/docs/en/best-practices)
3.  [Claude Code docs: Orchestrate teams of Claude Code sessions](https://code.claude.com/docs/en/agent-teams)

## What does your AI forget?

1.  01You tell us which AI you use and where it keeps starting over.
2.  02We show what a shared memory changes there, on your own examples.
3.  03You keep the plan, with or without Bombos.

![Piet Baudoin](https://bombos.ai/assets/team/piet-klein.jpg)

**Piet Baudoin**You talk to Piet, from the Bombos teamDutch team from Utrecht and Nijmegen · data in Europe

## More questions about Claude Code

-   [Is Claude Code safe to use on company code?](https://bombos.ai/en/questions/claude-code/is-claude-code-safe-for-company-code/)
-   [How do I use Claude Code in VS Code and JetBrains?](https://bombos.ai/en/questions/claude-code/claude-code-in-vs-code-and-jetbrains/)
-   [What is Claude Code Remote Control and how do I use it?](https://bombos.ai/en/questions/claude-code/claude-code-remote-control/)
-   [How do I use Claude Code with GitHub, and @claude in pull requests?](https://bombos.ai/en/questions/claude-code/claude-code-github-actions/)
-   [What does plan mode do in Claude Code and how do you turn it on?](https://bombos.ai/en/questions/claude-code/claude-code-plan-mode/)
-   [Claude Code desktop, CLI, web or mobile: what is the difference?](https://bombos.ai/en/questions/claude-code/claude-code-desktop-vs-cli-vs-web/)
-   [What are Claude Code hooks and how do I set them up?](https://bombos.ai/en/questions/claude-code/claude-code-hooks/)
-   [Does Claude Code have memory across sessions?](https://bombos.ai/en/questions/claude-code/claude-code-memory/)

[All questions about Claude Code →](https://bombos.ai/en/questions/claude-code/)


---

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://bombos.ai/#organization","name":"Bombos","url":"https://bombos.ai/","logo":"https://bombos.ai/assets/bombos-bee.png","description":"Bombos is the memory layer under every AI your team uses. One shared memory for Claude, ChatGPT, Copilot, Cursor and your own agents, that learns how you work.","sameAs":["https://www.linkedin.com/company/bombos-ai","https://www.youtube.com/@truebombos","https://www.instagram.com/truebombos/","https://bsky.app/profile/bombostrue.bsky.social","https://www.threads.com/@truebombos","https://mastodon.social/@Bombos","https://www.tiktok.com/@truebombos","https://t.me/truebombos","https://www.pinterest.com/truebombos/","https://github.com/bombos-ai","https://linktr.ee/bombos.ai","https://bombosai.substack.com","https://hashnode.com/@bombosai","https://hackernoon.com/u/bombos","https://dev.to/bombos"],"email":"info@bombos.ai","areaServed":["NL","Europe"],"knowsLanguage":["nl","en"],"contactPoint":{"@type":"ContactPoint","email":"info@bombos.ai","contactType":"sales","url":"https://bombos.ai/en/contact/","availableLanguage":["nl","en"]}},{"@type":"WebSite","@id":"https://bombos.ai/#website","name":"Bombos","url":"https://bombos.ai/","inLanguage":["nl-NL","en"],"publisher":{"@id":"https://bombos.ai/#organization"}}]}

{"@context":"https://schema.org","@type":"Article","headline":"What is auto mode in Claude Code, and is it safe to use?","description":"Claude Code auto mode cuts permission prompts: rules and auto-approvals settle some actions, a classifier model reviews the rest. It cannot guarantee safety.","abstract":"Auto mode is a Claude Code permission mode in which Claude acts without asking, while a separate classifier model reviews what rules and auto-approval do not settle and blocks what goes beyond your request, such as a force push or a production deploy. Since v2.1.283 it is the starting mode for interactive terminal and VS Code sessions. The docs state that it reduces prompts but does not guarantee safety.","datePublished":"2026-11-17T00:00:00.000Z","dateModified":"2026-11-17T00:00:00.000Z","author":{"@type":"Person","name":"Piet Baudoin"},"publisher":{"@type":"Organization","@id":"https://bombos.ai/#organization","name":"Bombos","logo":{"@type":"ImageObject","url":"https://bombos.ai/assets/bombos-bee.png"}},"image":"https://bombos.ai/assets/og-en-v2.png","mainEntityOfPage":"https://bombos.ai/en/questions/claude-code/claude-code-auto-mode/","inLanguage":"en-US","isPartOf":{"@type":"CollectionPage","name":"Claude Code","url":"https://bombos.ai/en/questions/claude-code/"},"citation":[{"@type":"CreativeWork","name":"Claude Code docs: Choose a permission mode","url":"https://code.claude.com/docs/en/permission-modes"},{"@type":"CreativeWork","name":"Claude Code docs: Best practices","url":"https://code.claude.com/docs/en/best-practices"},{"@type":"CreativeWork","name":"Claude Code docs: Orchestrate teams of Claude Code sessions","url":"https://code.claude.com/docs/en/agent-teams"}]}

{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Bombos","item":"https://bombos.ai/en/"},{"@type":"ListItem","position":2,"name":"Questions","item":"https://bombos.ai/en/questions/"},{"@type":"ListItem","position":3,"name":"Claude Code","item":"https://bombos.ai/en/questions/claude-code/"},{"@type":"ListItem","position":4,"name":"What is auto mode in Claude Code, and is it safe to use?","item":"https://bombos.ai/en/questions/claude-code/claude-code-auto-mode/"}]}

{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"Which plans have auto mode?","acceptedAnswer":{"@type":"Answer","text":"All plans, per the permission modes docs. On Team and Enterprise it is on by default, and administrators can turn it off by setting permissions.disableAutoMode to \"disable\" in managed settings."}},{"@type":"Question","name":"Which models support auto mode?","acceptedAnswer":{"@type":"Answer","text":"On the Anthropic API: Claude Opus 4.6 or later, Sonnet 4.6 or later, Haiku 5.5 or a Fable model. On Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry: Sonnet 5 or later, Opus 4.7 or later, Haiku 5.5 and the Fable models. Sonnet 4.5, Opus 4.5, Haiku 4.5 and older are not supported."}},{"@type":"Question","name":"What happens when auto mode blocks something?","acceptedAnswer":{"@type":"Answer","text":"You get a notification and the action appears under Recently blocked in /permissions, where you can approve it so Claude may retry. After 3 blocks in a row or 20 in total, auto mode pauses and Claude Code asks you again."}},{"@type":"Question","name":"Does the classifier cost tokens?","acceptedAnswer":{"@type":"Answer","text":"It runs on Claude Sonnet 5 by default. On Enterprise plans and on accounts that use the Claude API, Amazon Bedrock, Google Cloud's Agent Platform or Microsoft Foundry, classifier calls count toward your token usage."}},{"@type":"Question","name":"Why does auto mode in my project settings not work?","acceptedAnswer":{"@type":"Answer","text":"A defaultMode of \"auto\" in a project's .claude/settings.json or settings.local.json does not take effect. Put it in ~/.claude/settings.json, or start with claude --permission-mode auto."}}]}
```
