Claude Code 推出Auto功能,讓使用者無需逐一批准檔案寫入和 bash 指令,由系統代為做出權限決策。儘管引入了安全防護機制,官方仍認可該功能存在風險,建議在隔離環境中使用。
權限決策自動化
- 免除使用者對每個檔案寫入和 bash 指令的逐一批核需求
- Claude 代為做出權限決策,簡化工作流程
安全防護機制
- 分類器在每次工具呼叫前檢查潛在的破壞性操作
- 安全操作自動執行,高風險操作則被阻止,Claude 改採不同方法
風險認知與使用建議
- 官方明確表示該機制「降低風險但不能消除風險」
- 建議使用者在隔離環境中啟用此功能
可用性與啟用方式
- 目前作為研究預覽版本在 Team 方案上線
- Enterprise 和 API 存取將在未來數日推出
- 使用指令
claude --enable-auto-mode啟用,按 Shift+Tab 切換
New in Claude Code: auto mode.
— Claude (@claudeai) March 24, 2026
Instead of approving every file write and bash command, or skipping permissions entirely, auto mode lets Claude make permission decisions on your behalf.
Safeguards check each action before it runs. pic.twitter.com/kHbTN2jrWw
Before each tool call, a classifier reviews it for potentially destructive actions. Safe actions proceed automatically. Risky ones get blocked, and Claude takes a different approach.
— Claude (@claudeai) March 24, 2026
This reduces risk but doesn't eliminate it. We recommend using it in isolated environments.
Available now as a research preview on the Team plan. Enterprise and API access rolling out in the coming days.
— Claude (@claudeai) March 24, 2026
Enable with claude --enable-auto-mode, then cycle to it with Shift+Tab.
Learn more: https://t.co/eOurVAnoKc
