The short answer
If anyone at your company uses Claude Code on a Pro, Max or Team plan, new sessions have run in auto mode since August 14, 2026, without asking about most actions. Decide whether that should stay.
On Pro, Max and Team plans, new Claude Code sessions start in auto mode. Claude no longer asks for approval before every command, file edit or network request. Instead of you, a separate model, the classifier, reviews each such action: safe ones go through, risky ones are blocked, and Claude looks for another way or asks you to decide. Anthropic announced the change on August 7, 2026: in Claude Code it has applied since August 14, 2026. In an update on October 22, 2026, it added that in the week after that date auto mode will also become the default in most other Claude apps on these plans.
Anthropic backs the change with its own study. In a controlled test with 1,053 paid testers, people stopped 13.6% of dangerous actions and auto mode stopped 89%. This is the result of a test Anthropic ran itself, in a test environment, not an independent audit.
If you prefer to approve actions yourself, you can go back to manual mode with Shift+Tab or one line in your settings. An administrator sets the starting mode for the whole company in managed settings (permissions.defaultMode) or turns auto mode off entirely (disableAutoMode).
It is written for the people responsible for Claude Code in a team: tech leads, IT administrators and owners of companies where developers already use it.
If you don't configure Claude Code yourself, ask whoever handles IT for three decisions: whether auto mode should be the default, who can turn it off, and which actions (for example a push to the main branch or production access) always need a human's approval. The checklist towards the end of this guide helps you check this.
What changes and when
Until now manual mode was the default: Claude Code stopped before most file edits, terminal commands and network requests. According to Anthropic, users approved 97% of these prompts, so in practice they clicked “yes” by reflex. In auto mode the classifier makes that call, and a person sees a prompt only when an action is blocked or matches an ask rule.
As of October 23, 2026, Anthropic's post and the documentation do not say the same thing about Enterprise and the cloud providers. The post describes auto mode there as opt-in and says it will become the default “in the coming month” (no date given). The documentation says that from version v2.1.283 auto mode is the built-in starting mode in the terminal and VS Code on every plan and provider. So we suggest not waiting for the email Anthropic says Enterprise admins will get before the change, and pinning the starting mode in your settings now.
Anyone who has already set their own default mode may see a one-time prompt about switching to auto; declining keeps their choice. Cost: on Pro, Max and Team, Anthropic no longer charges for classifier tokens. On Enterprise and with the Claude API, Claude Platform on AWS, Amazon Bedrock, Google Cloud's Agent Platform and Microsoft Foundry, classifier calls count toward token usage.
| Where | Starting mode | Source |
|---|---|---|
| Claude Code on Pro, Max and Team plans | Auto for new sessions from August 14, 2026 | Anthropic post of August 7, 2026 |
| Most Claude apps on Pro, Max and Team plans | Auto as the default, rolling out the week after October 22, 2026 | Post update of October 22, 2026 |
| Enterprise, Claude API, Claude Platform on AWS, Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry | Opt-in for now according to the post; Enterprise admins will get an email before the change | Anthropic post |
Terminal and VS Code, Claude Code v2.1.283 or later | Auto on every plan and provider | Docs: Choose a permission mode |
claude -p and the Agent SDK with no mode set, Claude Code v2.1.302 or later | Manual (default) | Docs: Choose a permission mode |
| Organization with the HIPAA configuration | Manual; users can still switch to auto | Docs: Choose a permission mode |
What the classifier blocks and what it allows
The classifier trusts your working directory and the remotes configured when the session started. It treats everything else as external until an administrator describes your trusted infrastructure. It specifically targets actions that are irreversible, destructive or reach outside your environment.
One item on the allowed list may come as a surprise: a push to any branch of the current repository, including the default branch, goes through without a prompt. The exception is branches whose name marks them as a deploy target, such as production or gh-pages. Branch protection on GitHub or GitLab still applies, but if you have none, add an ask rule for git push (example below).
If the classifier blocks an action 3 times in a row or 20 times in a session, auto mode pauses and Claude Code goes back to asking for approval. Blocked actions are listed in /permissions under the Recently denied tab. Broad rules that allow arbitrary code to run, such as Bash(*), are dropped in auto mode and restored when you leave it.
Anthropic says plainly that auto mode relies on classification and does not eliminate risk, and for high-stakes changes to production infrastructure it still recommends reviewing Claude's actions yourself. The documentation adds that the mode reduces prompts but does not guarantee safety.
| By default | Examples |
|---|---|
| Blocked | Downloading and running code (curl | bash), sending sensitive data to external endpoints, production deploys and migrations, force push, git reset --hard, terraform destroy, granting IAM or repository permissions, merging a PR no human approved, disabling CI, printing live tokens |
| Allowed | File operations in the working directory, installing dependencies from lock files and manifests, reading .env and using credentials with their matching API, read-only HTTP requests, pushing to branches of the current repository |
Anthropic's numbers: 89% versus 13.6%
The strongest argument for the change is Anthropic's own controlled test. The company hired 1,053 paid testers through an outside research vendor and had them approve actions in a test environment, not on their own code; approving never actually ran anything dangerous. People stopped the dangerous action in 13.6% of cases (143 of 1,053), auto mode in 89% (937 of 1,053).
Head to head, auto mode stopped an action a person had let through 800 times, while a person stopped an action auto mode had let through 6 times. Human attention faded over time: early in a session people caught about 17% of threats, after more than 50 prompts about 5%.
Anthropic also reports data from real sessions in May and June 2026 that its safety pipeline flagged for review (only accounts that opted in to data analysis). At production-level severity (7 or higher on a 0–10 scale), 6.3% of manually approved sessions and 2.4% of auto mode sessions contained a harmful action the user had not explicitly asked for.
How to read this: these are figures from the vendor introducing the change. The test was controlled and did not use the participants' own code. We do not know of independent audit results on your kind of code, and we have not repeated the test. The numbers say more about how little reflexive “yes” clicking protects you than about the classifier being infallible.
How to go back to manual mode
In the current terminal session: Shift+Tab cycles through the modes (auto, manual, accept edits, plan). The status bar shows the current mode, for example ⏸ manual mode on or ⏵⏵ auto mode on. For a single session, the flag claude --permission-mode default is enough.
Permanently for yourself: in ~/.claude/settings.json, set permissions.defaultMode to default (example below). Setting it in the project file .claude/settings.json also works for manual mode, but the values auto and bypassPermissions are ignored in project files.
In VS Code: in your user settings, set claudeCode.initialPermissionMode to default. This setting does not accept auto. In the desktop app you pick the mode in the mode selector, and the app remembers the choice per folder.
Order at session start: first the --permission-mode flag, then permissions.defaultMode from settings, and finally the built-in default. After a change, check the status bar in a new session.
{
"permissions": {
"defaultMode": "default"
}
}A company-wide setting: managed settings
Managed settings are settings IT deploys to developers' machines; they take precedence over user and project settings. The managed-settings.json file goes in /Library/Application Support/ClaudeCode/ on macOS, /etc/claude-code/ on Linux and WSL, and C:\Program Files\ClaudeCode\ on Windows. Claude Code no longer reads the old C:\ProgramData\ClaudeCode\ path. Next to the file, a managed-settings.d/ directory holds several JSON files merged in alphabetical order.
Through MDM: on macOS the preference domain com.anthropic.claudecode, on Windows the key HKLM\SOFTWARE\Policies\ClaudeCode with a Settings value (REG_SZ) containing the JSON. Without MDM, an organization owner (Owner or Primary Owner role) on a Team or Enterprise plan sets the same thing in the console: Organization settings > Claude Code > Managed settings. These server-delivered settings only reach sessions signed in with the organization account; CI jobs using a Console API key do not get them. The documentation adds that on devices enrolled in MDM, endpoint-managed settings give stronger guarantees than settings from the console, because the operating system can protect the settings file from user modification. A developer with administrator rights on the machine can still edit the managed source, which is why MDM tools can redeploy the profile or file on a schedule.
The keys that matter here: permissions.defaultMode sets the starting mode, but a developer can still switch to auto with the shortcut or a flag. disableAutoMode set to "disable" removes auto mode from the list of modes, and a session that would have started in it starts in manual mode. permissions.disableBypassPermissionsMode set to "disable" blocks the mode without any safeguards and the --dangerously-skip-permissions flag.
The example below is the “start manual, auto available” option: manual mode at start, the no-safeguards mode blocked, and a mandatory prompt before git push and gh pr create, even in auto mode. If the company wants to turn auto mode off entirely, add "disableAutoMode": "disable" at the top level of the file. The /status command shows in a session which settings source applies.
{
"permissions": {
"defaultMode": "default",
"disableBypassPermissionsMode": "disable",
"ask": ["Bash(git push *)", "Bash(gh pr create *)"]
}
}If you keep auto mode: describe your environment
The classifier only knows what you tell it. In autoMode.environment you describe trusted repositories, domains, buckets and services in plain language. Without it, a push to your company GitHub organization or a write to an internal bucket can be treated as exfiltration. The "$defaults" entry keeps the built-in rules; a list without it replaces them.
This configuration is read from ~/.claude/settings.json, from managed settings or from the --settings flag, but not from the project file .claude/settings.json, so a repository cannot loosen its own rules. A developer can add their own entries but cannot remove those from managed settings. Note that their own allow rule can override a company soft_deny rule, so set hard boundaries with hard_deny or permissions.deny.
A boundary stated only in the conversation, such as a request to hold pushes until review, can be lost when the context is compacted. Write permanent boundaries as ask or deny rules. The commands claude auto-mode defaults and claude auto-mode config show the built-in and effective rules, and /auto-mode-setup helps draft environment entries.
{
"autoMode": {
"environment": [
"$defaults",
"Source control: github.example.com/acme-corp and all repos under it",
"Trusted internal domains: *.corp.example.com, api.internal.example.com",
"Key internal services: Jenkins at ci.example.com, Artifactory at artifacts.example.com"
]
}
}Code security: Claude Security as a second layer
Auto mode reviews the agent's actions, not the quality of the code it writes. Anthropic has a separate tool for that. According to the announcement of October 21, 2026, Claude Security scans repositories continuously: after a baseline scan it checks new changes and marks a finding as fixed once the fix lands in the code, whether it was made in Claude Code or elsewhere. Each finding has a severity (Critical, High, Medium, Low), a description of the attack path and a proposed patch for human review.
Requirements according to the help article: a Claude Enterprise plan (public beta), a premium seat for each user and usage-based billing credits turned on. An organization owner enables it in Organization settings > Claude Security. A project covers up to 8 repositories from GitHub, GitHub Enterprise Server or other Git servers via a token. You pay the direct token cost; eligible organizations get credits of up to $25,000 a month for two months, until December 31, 2026 at the latest.
Caveats from the help article: scans are stochastic, so two scans of the same code can produce different results, and the absence of a finding does not prove the code is safe. The service does not support Zero Data Retention; for those companies and for models from third-party providers there is a Claude Security plugin for Claude Code that runs locally on the session's models. You may only scan code you own. Anthropic says that since the public beta began in April, thousands of organizations have used Claude Security to find over a million vulnerabilities; that is the vendor's claim.
A practical split: auto mode and permission rules govern what the agent does, code review checks the pull request, and Claude Security or another scanner watches the whole codebase after merge. Decisions about risk and priorities stay with people.
A checklist for your company
A list to go through now, whether or not auto mode is already on for you. For a fuller list of agent permissions, see the separate checklist.
AI agent permissions checklist for business →
To do before and after moving to auto mode
- Find out who in the company uses Claude Code, on which plan and which version (
claude --version). - Decide: auto mode by default, manual at start with auto available, or auto turned off (
disableAutoMode). - Roll out the decision in managed settings through MDM or the admin console, and check
/statuson one machine. - Block the no-safeguards mode (
permissions.disableBypassPermissionsMode). - Add ask rules for
git pushand creating PRs if branches have no protection on GitHub or GitLab. - Add deny rules in managed settings for actions that must never happen, such as production access.
- Describe trusted infrastructure in
autoMode.environmentwith the"$defaults"entry. - Check CI jobs that use an API key: console settings do not reach them.
- Tell the team how to switch modes (Shift+Tab) and where to find blocked actions (
/permissions). - Agree who reviews code before merge and what you use to scan for vulnerabilities.
What we did not check
We have not run auto mode on any repository and have not measured how many actions it blocks or how many false positives it produces. We have not deployed managed settings through MDM or the admin console, so we cannot confirm how quickly settings reach machines. We have not used Claude Security or the plugin.
All numbers in this guide come from Anthropic. We describe the difference between the post and the documentation on Enterprise as both sources show it; we do not know which version applies in a given organization. Key names and paths follow the documentation; compare them with the current version of the docs before rolling out.
Frequently asked questions
Does Claude Code still ask for approval in auto mode? Yes, but rarely. It asks when the classifier blocks an action and Claude finds no other way, when an action matches an ask rule, or when auto mode pauses after several blocks in a row.
How do I turn off auto mode in Claude Code? For one session, with Shift+Tab or the --permission-mode default flag. Permanently, with permissions.defaultMode in ~/.claude/settings.json. For the whole company, an administrator sets disableAutoMode in managed settings.
What do the 89% and 13.6% figures mean? They are results of Anthropic's controlled test with 1,053 paid testers in a test environment: auto mode stopped 89% of dangerous actions, people 13.6%. They are the vendor's figures, not an independent audit.
Do managed settings require an Enterprise plan? IT deploys the managed-settings.json file and MDM profiles directly to machines, and the documentation sets no plan requirement for them. Settings from the admin console require a Team or Enterprise plan and the organization owner role.
Does auto mode replace code review? No. The classifier reviews the agent's actions, not the quality or security of the code. A person should still review pull requests, and a scanner such as Claude Security should check for vulnerabilities.
Have you tested auto mode yourselves? No. This guide is based on Anthropic's documentation and posts. We have not measured blocks, false positives or costs.
What next
Before changing settings for the whole company, go through the agent permissions checklist. If Claude Code will also review code, we cover that in a separate guide. Ramp data shows how companies choose between Claude Code, Codex and Cursor. Content from the web and documents can try to give the agent orders, which we cover in the prompt injection guide. If you are wondering whether to split work across several agents, we cover Anthropic's advice on subagents versus one agent with skills. We explain how a malicious AGENTS.md in your Downloads folder can take over an agent in our piece on AGENTS.md in Downloads.
AI agent permissions checklist for business →Agent code review in Claude Code: it flags bugs, a human approves →Claude Code, Codex or Cursor? Ramp data →Prompt injection: when a document tries to give your agent orders →Subagents or one AI agent? Anthropic: one agent with skills often wins →An AGENTS.md in Downloads can hijack your AI agent. What to check in Codex and Claude Code →
Sources and further reading
The sources behind this article. Instructions and example scenarios are suggestions from our editorial team.
- Anthropic (Claude blog): Auto mode is now the default in Claude Code for Pro, Max, and Team plans, post of August 7, 2026, updated October 22, 2026 – dates, plans, results of the study with 1,053 testers, classifier (accessed October 23, 2026) (opens in a new tab)claude.com
- Claude Code Docs: Choose a permission mode, undated – permission modes, starting mode, Shift+Tab, VS Code, what the classifier blocks, the 3 and 20 block thresholds (accessed October 23, 2026) (opens in a new tab)code.claude.com
- Claude Code Docs: All settings, undated – permissions.defaultMode, disableAutoMode, permissions.disableBypassPermissionsMode (accessed October 23, 2026) (opens in a new tab)code.claude.com
- Claude Code Docs: Deploy managed settings, undated – managed-settings.json file paths, MDM, Windows registry, source order (accessed October 23, 2026) (opens in a new tab)code.claude.com
- Claude Code Docs: Configure server-managed settings, undated – settings from the admin console, requirements, API keys (accessed October 23, 2026) (opens in a new tab)code.claude.com
- Claude Code Docs: Configure auto mode, undated – autoMode.environment, ask and deny rules, settings scopes (accessed October 23, 2026) (opens in a new tab)code.claude.com
- Anthropic: Claude Security now scans continuously and tracks fixes, article of October 21, 2026 – continuous scanning, fix tracking, launch credits (accessed October 23, 2026) (opens in a new tab)claude.com
- Claude Help Center: Use Claude Security, undated – requirements, repositories, stochastic scans, no ZDR, costs (accessed October 23, 2026) (opens in a new tab)support.claude.com
- Claude Code Docs: Scan your codebase for vulnerabilities, undated – the Claude Security plugin for Claude Code (accessed October 23, 2026) (opens in a new tab)code.claude.com