Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Search the documentation

50 pages for auto-mode.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it. Cut at 50, so a narrower query shows the rest.

Configure auto mode Claude Code CLI · path auto-mode-config How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …pts. See [Auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) for availability and behavior… Intercept and control agent behavior with hooks Claude Code CLI · in the page agent-sdk/hooks …for the [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) permission classifier. Because your callback runs in your application's own process, the classifier may weigh a user st… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …to the [classifier](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) in `auto` mode on Claude Code v2.1.218 or later, and are denied in `dontAsk` mode. </Step> <Step title="canUseTool… Orchestrate teams of Claude Code sessions Claude Code CLI · in the page agent-teams …ely. In [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode), the classifier applies two checks to messages between agents: * It treats an approval claim relayed from another agen… Share session output as artifacts Claude Code CLI · in the page artifacts …ing permission mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode). * **Manual and Accept edits modes**: Claude Code asks for permission; it might say something like `Claude wants to pub… Best practices for Claude Code Claude Code CLI · in the page best-practices …ing permission mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) for interactive terminal and VS Code sessions: a separate classifier model reviews most actions instead of you and bloc… Claude Code changelog Claude Code CLI · in the page changelog …ways); warns on billed fallback. See [https://code.claude.com/docs/en/auto-mode-classifier-billing](https://code.claude.com/docs/en/auto-mode-classifier-billing) * Added an `Auto mode server` row to… Claude apps gateway for Amazon Bedrock, Claude Platform on AWS, Google Cloud, and Microsoft Foundry Claude Code CLI · in the page claude-apps-gateway …ows the [third-party provider rules](/docs/en/permission-modes#enable-auto-mode-on-bedrock-agent-platform-or-foundry): only the models eligible on third-party providers can use it. Before v2.1.207, au… Let Claude coordinate ongoing work with Projects Claude Code CLI · in the page claude-projects …s run in [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) when the thread's model supports it, so most tool calls run without asking you. When a thread needs your approval, the… CLI reference Claude Code CLI · in the page cli-reference …laude attach 7c5dcf5d` | | `claude auto-mode defaults` | Print the built-in [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) classifier ru… Commands Claude Code CLI · in the page commands …| | `/auto-mode-setup` | [Draft `autoMode.envi… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …vailable, and [auto](/docs/en/permission-modes#eliminate-prompts-with-auto-mode), `acceptEdits`, and `dontAsk` count as prompting: * **The receiving session prompts for permissions**: Claude Code del… Desktop application Claude Code CLI · in the page desktop …s while maintaining oversight. Appears when [auto mode is available](#auto-mode-availability); there is no separate Settings toggle for it.… Development containers Claude Code CLI · in the page devcontainer …consider [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) instead, which has a classifier review actions before they run. To prevent engineers from using `--dangerously-skip-per… Environment variables Claude Code CLI · in the page env-vars …block on [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) classifier requests even when you set `0`. In [System prompt attribution block](/docs/en/llm-gateway-protocol#system-pr… Error reference Claude Code CLI · in the page errors …| [Server errors](#auto-mode-cannot-determine-the-safety-of-an-action) | | `Auto mode could… Feature availability Claude Code CLI · in the page feature-availability …> <td>✗</td> </tr> <tr> <td>[Auto mode](/docs/en/auto-mode-config)</td> <td>✓</td> <td>✓</td> <td>See note <sup><a href="#fn2">2</a></sup></td> <td>✓</td>… Glossary Claude Code CLI · in the page glossary …mpts with auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) ## B ### Bare mode With `--bare`, Claude Code starts without loading hooks, skills, custom commands, subagents, plug… Keep Claude working toward a goal Claude Code CLI · in the page goal …ic checks or a prompt for model-evaluated ones. [Auto mode](/docs/en/auto-mode-config) on its own approves tool calls within a single turn but doesn't start a new one. Claude stops when it judges the… Run Claude Code programmatically Claude Code CLI · in the page headless …task in [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode). The classifier reviews each action as usual, and Claude Code denies anything that would have fallen back to a prompt:… Hooks reference Claude Code CLI · in the page hooks …ecution, PermissionDenied as a side branch from PermissionRequest for auto-mode denials, WorktreeCreate, WorktreeRemove, Notification, ConfigChange, InstructionsLoaded, CwdChanged, FileChanged, and Di… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …block on [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) classifier requests even when you set the variable to `0`: * The requests go to `api.anthropic.com`, with `ANTHROPIC_B… Model configuration Claude Code CLI · in the page model-config …uto mode classifier](/docs/en/permission-modes#eliminate-prompts-with-auto-mode)**: the classifier's Claude Sonnet 5 default applies only when the allowlist permits Sonnet 5. When it's excluded, the c… Choose a permission mode Claude Code CLI · in the page permission-modes …ommands, or reach the network. In [auto mode](#eliminate-prompts-with-auto-mode), a second model, the classifier, reviews actions instead of you; [how the classifier evaluates actions](#how-the-classi… Configure permissions Claude Code CLI · in the page permissions …e> When [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) is available to your session, the dialog also includes the [auto mode classifier rules](/docs/en/auto-mode-config#edit-… Quickstart Claude Code CLI · in the page quickstart …ing permission mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) for interactive terminal sessions on Pro, Max, and Team plans: a classifier reviews actions instead of you, and Claude… Choose a sandbox environment Claude Code CLI · in the page sandbox-environments …t user. [Auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) replaces the prompt with a classifier that reviews actions. The classifier is a per-action control, not an isolation bo… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …oval; in [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode), Claude instead names the hosts a command needs [on the command itself](#per-command-allowed-domains-in-auto-mode) for… Security Claude Code CLI · in the page security …tly. In [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode), a separate classifier model reviews actions instead of you and blocks the ones it judges unsafe. [How the classifier e… Customize sessions in self-hosted environments Claude Code CLI · in the page self-hosted-environments-configuration …nds, pin [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) from your wrapper script or [`command` hook](#command). Auto mode lets sessions run without routine permission prompts:… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …gure the [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) classifier so it knows which repos, buckets, and domains your organization trusts, deliver an `autoMode` block the same… Manage sessions Claude Code CLI · in the page sessions …o mode requirements](/docs/en/permission-modes#eliminate-prompts-with-auto-mode)… Claude Code settings Claude Code CLI · in the page settings …what the [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) classifier blocks and allows. Contains `environment`, `allow`, `soft_deny`, and `hard_deny` arrays of prose rules. Incl… All settings Claude Code CLI · in the page settings-reference …s to the [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) classifier | Permi… Extend Claude with skills Claude Code CLI · in the page skills …odel. In [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode), and in [plan mode while the classifier reviews commands](/docs/en/permission-modes#analyze-before-you-edit-with-plan-m… Create custom subagents Claude Code CLI · in the page sub-agents …tarts as [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) on Pro, Max, and Team plans unless your settings or your organization change it. The main conversation's permission mo… Tools reference Claude Code CLI · in the page tools-reference …sions in [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode), where a classifier decides most of these prompts instead of you. The `Permission required` column shows whether the to… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …you. See [auto mode](/docs/en/permission-modes#eliminate-prompts-with-auto-mode) for what it reviews and blocks. * **Manual**: Claude asks permission before file edits and most shell commands. * *… Week 13 · March 23–27, 2026 Claude Code CLI · in the page whats-new/2026-w13 …rc="https://mintcdn.com/claude-code/CfffsX01JHFnIKvD/images/whats-new/auto-mode.png?fit=max&auto=format&n=CfffsX01JHFnIKvD&q=85&s=367c9e9d4ba5bc57ec4b935154bf1fbb" alt="Claude Code prompt footer showi… Week 16 · April 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w16 …v> <div><a href="/docs/en/permission-modes#eliminate-prompts-with-auto-mode">Auto mode</a> is now available for Max subscribers on Opus 4.7, and the <code>--enable-auto-mode</code> flag is no long… Week 17 · April 20–24, 2026 Claude Code CLI · in the page whats-new/2026-w17 …div>Auto mode: include <code>"\$defaults"</code> in <a href="/docs/en/auto-mode-config"><code>autoMode.allow</code>, <code>soft\_deny</code>, or <code>environment</code></a> to add custom rules alongs… Week 21 · May 18–22, 2026 Claude Code CLI · in the page whats-new/2026-w21 …-feature-link" href="/docs/en/permission-modes#eliminate-prompts-with-auto-mode">Auto mode requirements</a> </div> <div className="digest-wins"> <p className="digest-wins-title">Other wins</p> <… Week 23 · June 1–5, 2026 Claude Code CLI · in the page whats-new/2026-w23 …lassName="digest-feature-link" href="/docs/en/permission-modes#enable-auto-mode-on-bedrock-agent-platform-or-foundry">Auto mode on third-party providers</a> </div> <div className="digest-feature">… Week 26 · June 22–26, 2026 Claude Code CLI · in the page whats-new/2026-w26 …ll</code> setting routes all Bash and PowerShell commands through the auto-mode classifier, and denial reasons now show in the transcript, the denial toast, and <code>/permissions</code></div> <di… Week 29 · July 13–17, 2026 Claude Code CLI · in the page whats-new/2026-w29 …btask</code></div> <div><a href="/docs/en/permission-modes#enable-auto-mode-on-bedrock-agent-platform-or-foundry">Auto mode</a> no longer needs the <code>CLAUDE\_CODE\_ENABLE\_AUTO\_MODE</code> op… Week 30 · July 20–24, 2026 Claude Code CLI · in the page whats-new/2026-w30 …, and suspicious Windows paths no longer open permission dialogs; the auto-mode classifier adjudicates them instead</div> <div>Bash permission checks fail closed on more shell forms, including fil… Week 32 · August 3–7, 2026 Claude Code CLI · in the page whats-new/2026-w32 …-feature-link" href="/docs/en/permission-modes#eliminate-prompts-with-auto-mode">Auto mode requirements and controls</a> </div> <div className="digest-wins"> <p className="digest-wins-title">Other… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …<div>Run <code>/permissions</code> and open the new <a href="/docs/en/auto-mode-config#edit-rules-from-permissions"><strong>Auto mode</strong> tab</a> to view and edit auto mode classifier rules witho… Week 37 · September 7–11, 2026 Claude Code CLI · in the page whats-new/2026-w37 …sifier blocks an action, the reason Claude receives <a href="/docs/en/auto-mode-config#fix-a-denial-with-an-allow-rule-an-environment-entry-or-a-retry">usually names the rule that matched</a>, such as…
Feedback