Auto mode is now the default in Claude Code for Pro, Max, and Team plans
https://claude.com/blog/auto-mode-default-in-claude-code📌 【Anthropic】Claude Code 預設開啟 Auto mode:比人工審核更安全,且能提升 25% 的開發效率
TL;DR:Claude Code Pro/Max/Team 用戶將預設進入 Auto mode,透過分類器取代人工逐一確認,安全性與效率雙增。
當開發者每天需要處理數百個權限確認時,「點擊同意」往往會變成一種肌肉記憶。Anthropic 發現,開發者在面對 Claude Code 的權限請求時,有 97% 的情況會直接點擊同意。這種習慣性的操作,反而讓錯誤的指令更容易溜進開發環境。
為了打破這種「審核疲勞」,Anthropic 宣布從 2026 年 8 月 14 日起,Pro、Max 與 Team 計畫的 Claude Code 新對話將預設開啟 Auto mode(自動模式)。
🧩 Auto mode 的運作機制:用分類器取代「點擊確認」
Auto mode 的核心設計理念,是在「減少干擾」與「確保安全」之間取得平衡。它不再針對每個工具調用(tool call)跳出視窗詢問,而是透過一個專門的分類器(classifier)來進行路由:
- 攔截機制:分類器會針對「不可逆」、「具破壞性」或「超出當前環境範圍」的指令進行攔定。
- 自動處理:當分類器攔截到風險指令時,Claude 通常會自動尋找更安全的執行路徑;若無法繼續,則會直接詢問使用者。
- 退回機制:若在單次對話中連續遇到 3 次攔截,或整個對話中累積 20 次攔截,系統會自動退回到手動確認模式(manual approvals)。
- 成本優化:為了推廣此功能,Anthropic 已決定不再向 Pro、Max 與 Team 用戶收取分類器運行的額外 Token 費用。
📊 實驗數據:Auto mode 在安全性上勝過人類審核
Anthropic 進行了大規模的對照實驗(包含內部紅隊演練、第三方滲透測試及 1,053 位專業測試者的受控研究),結果顯示 Auto mode 在安全性上表現優異:
- 攔截率對比:在針對危險指令的測試中,人類測試者僅能捕捉 13.6% 的危險指令;而 Auto mode 的攔截率高達 89%。
- 疲勞度影響:隨著對話進行,人類的攔截能力會隨之下降(從 17% 降至 5%),但 Auto mode 的攔截率能保持穩定。
- 非預期傷害:在分析實際生產環境的紀錄時,手動確認模式中出現「非使用者明確要求之傷害行為」的機率,是 Auto mode 的兩倍以上。
💡 對開發流程的實際影響:更高的生產力
Auto mode 不僅僅是為了安全,它更釋放了模型處理長時程任務的能力。
- 任務連續性:對於像 Claude Opus 5 這樣專為長時間工作設計的模型,Auto mode 讓其能長時間自主執行大型任務,無需頻繁等待人工點擊。
- 產出量提升:根據數據,使用 Auto mode 的 Teams 與 Enterprise 用戶,其 Pull Requests (PR) 的提交量增加了約 25%。
⚠️ 限制與部署建議
目前 Auto mode 仍採取「選擇性加入(opt-in)」策略給予以下平臺,以供管理員審核:
- Claude Enterprise
- Claude API
- AWS Amazon Bedrock
- Google Cloud Agent Platform
- Microsoft Foundry
若您是 Enterprise 管理員,可以透過管理設定來預設開啟 Auto mode。此外,若您在 Claude Code 中設定了極度寬鬆的規則(例如 python:* 允許任何 shell 指令),這些規則在 Auto mode 下會被暫時擱置,以確保分類器能發揮作用。
🎯 實務啟示
對於追求開發效率的工程團隊來說,Auto mode 的轉向代表 AI 代理(AI Agent)正從「指令執行者」轉向「自主工作者」。開發者應從「逐一審核指令」的思維,轉向「定義環境邊界與安全規則」的思維。
🔗 來源
- 標題:Auto mode is now the default in Claude Code for Pro, Max, and Team plans
- 連結:https://claude.com/blog/auto-mode-default-in-claude-code
#AI #ClaudeCode #Anthropic #LLM #SoftwareEngineering #AIAgent #Productivity #DeveloperTools #MachineLearning #CodingAssistant
原始資料 Claude Blog · 收集於 2026-08-08
摘要原文
Auto mode is now the default in Claude Code for Pro, Max, and Team plans Claude Code will soon run auto mode by default for Pro, Max, and Team plans, enabling longer-running autonomous work, and catching more dangerous commands than manual review in our testing. Category Claude Code Product Claude Code Date August 7, 2026 Reading time 5 min Share Copy link https://claude.com/blog/auto-mode-default-in-claude-code We're making auto mode the default in Claude Code. Starting on August 14, new sessions on Pro, Max, and Team plans will run in auto mode. If you've already set a different default yourself, you may get a one-time prompt asking whether you want to switch to auto mode. If you have a pinned default, nothing changes for you. The auto mode classifier uses a small number of extra tokens per tool call, and we're no longer charging Claude Code users on Pro, Max, and Team plans for that classifier overhead, effective today. Auto mode remains opt-in for now on Claude Enterprise, the Claude API, Claude Platform on AWS, Amazon Bedrock, Google Cloud's Agent Platform, and Microsoft Foundry, giving admins time to review the change. In the coming month, working with our cloud partners, we plan to make it the default across all of these and no longer charge for classifier overhead. In the meantime, Enterprise admins can make Claude Code's auto mode the default through managed settings. Auto mode is designed to balance users’ desire not to be interrupted with a system that helps avoid harmful actions: instead of prompts, it routes each tool call through a classifier targeted at blocking actions that are irreversible, destructive, or aimed outside your environment. When the classifier blocks something, Claude usually finds a safer way to proceed on its own or asks you directly for the go-ahead; if it can't make progress—three blocks in a row, or twenty across a session—Claude Code falls back to manual approvals. We spent the last several months testing whether auto mode is as safe or safer than an average user clicking through prompts. We ran internal red-teaming, third-party red-teaming and prompt-injection evaluations, a controlled study with 1,053 paid testers, and analysis of real production sessions. On every measure we tested, auto mode matched or outperformed manual review. Auto mode also lets Claude work autonomously for longer stretches. This makes models built for long-running work, like Claude Opus 5, more practical to leave running for hours on large tasks. Reducing overhead for users also increases output. Among Teams & Enterprise adopters, auto mode users ship about 25% more PRs. Unblocking Claude allows tasks to run longer uninterrupted and get more work done. Teams at Adobe, Nuro, Gusto, and Garner Health already run auto mode as their production default. Below, we share the safety data and customer results motivating the change, and how to set a different default if you prefer. Comparing manual review to auto mode Data suggests that manual review can become habitual: users approve 97% of permission prompts in Claude Code. While most prompts are likely for safe, routine commands, an approval rate that high suggests many users are clicking through reflexively rather than reviewing each command. These prompts ask developers to make dozens or hundreds of important security decisions every day, often in the middle of projects, which places the review burden on users and increases the chance that something important slips through the cracks. Data also suggests that users more frequently scrutinize and push back on other types of dialogues: for example, when Claude presents a plan for approval, users reject 39% of them. But for individual permissions requests, the rejection rate is only 3%. The same pattern shows up in settings files. As of June 2026, 49.5% of active CLI users have manually created a Bash allow-rule—5% allow any shell command outright, and another 43% have interpreter rules like Bash(python:*) or Bash(node:*) that are essentially equivalent in practice—and that share is growing roughly 5 percentage points every 5 weeks. Beyond allow-rules, 62% of users have used bypassPermissions or clicked “don't ask again” on Bash, and 25% of interactive sessions start in bypass permissions mode. Permission rules still fire before the classifier in auto mode, except for allow rules broad enough to grant arbitrary code execution (e.g. python:*). These arbitrary rules are set aside while in auto mode, since they would let commands skip the classifier entirely. Settings files aren't modified, and the rules apply again the moment you switch to another mode. Improving safety with auto mode Research conducted internally and through several third parties suggests that auto mode is safer than how a typical user engages with permission prompts today. We tested auto mode against what developers actually approve when they're clicking through permission prompts. Across each of these measures—internal red-teaming, third-party penetration testing, and analysis of real-world sessions—auto mode matched or outperformed human approval. Auto mode outperforms manual permissions on safety In a controlled experiment with 1,053 paid professional testers, human review caught just 13.6% of dangerous commands, while auto mode caught 89%. We hired 1,053 paid testers through a research vendor for a coding study. These participants worked in a test environment set up specifically for the study, not in their own codebases or on real projects. Participants knew they were being evaluated, but—following standard blind-study design—weren't told which behavior was being measured. Partway through each session, a single permission prompt was swapped for a clearly dangerous command, and the vendor recorded whether the tester approved it (Note: approving the prompt never resulted in anything dangerous being run; only the text of the prompt testers saw was changed). The testers caught the dangerous command just 13.6% of the time (143 of 1,053), while auto mode blocked 89% of the same commands (937 of 1,053). Head to head, auto mode blocked 800 commands that a human approved, while humans blocked only 6 that auto mode allowed. As sessions got longer, humans did worse: they blocked about 17% of dangerous commands early in a session, dropping to about 5% after 50 or more prior prompts, while auto mode's block rate stayed flat regardless of session length. Auto mode prevents more harmful actions Our research also suggests that auto mode leads to fewer harmful actions than manual permissions mode. We examined how auto mode performs in real usage. From May to June 2026, we examined sessions our safety pipeline had flagged for review, drawn only from accounts that have opted in to data use for training and analysis. We re-graded each one with a model on two 0–10 scales. The first was harm severity with 10 being company-wide, irreversible harm, such as leaking a company's entire source code, 7 representing production-level severity such as deleting rows from a production database, and 0 a fully reversible action confined to the local workspace, like overwriting a scratch file. The second was how explicitly the user had asked for the action, so we could separate harmful actions the user directly requested from harmful actions the agent took with less explicit direction. Among the flagged sessions, those that went through manual approval contained serious unintended harm more than twice as often as auto mode sessions. At production-level severity (7+), 6.3% of manually approved sessions contained a harmful action the user hadn't explicitly asked for, compared to 2.4% of auto mode sessions, and the gap held at every severity level we tested.
由 tencent/hy3:free 自動生成