whats-new/2026-w22.md +0 −80 deleted
File Deleted View Diff
1> ## Documentation Index
2> Fetch the complete documentation index at: https://code.claude.com/docs/llms.txt
3> Use this file to discover all available pages before exploring further.
4
5# 第 22 週 · 5 月 25–29 日,2026 年
6
7> 在 Claude Opus 4.8 上執行 Claude Code、使用動態工作流程協調大型任務、使用 security-guidance 外掛程式捕捉安全問題,以及以更低的價格在 Opus 4.8 上使用快速模式。
8
9版本 [v2.1.150 → v2.1.157](https://code.claude.com/docs/en/changelog.md#2-1-150)
104 項功能 · 5 月 25–29 日
11
12Claude Opus 4.8
13新模型
14
15Opus 4.8 現在是 Max、Team Premium、Enterprise 隨用隨付和 Anthropic API 上的預設值。它預設為高努力;對於更難的任務,請使用 `/effort xhigh`。需要 v2.1.154 或更新版本。
16
17<video autoPlay muted loop playsInline src="https://mintcdn.com/claude-code/QsIrGXGFg6xd7joy/images/whats-new/opus-4-8.mp4?fit=max&auto=format&n=QsIrGXGFg6xd7joy&q=85&s=6ebcf5fe136467da2b254de1fe749ea7" />
18
19按名稱切換到 Opus 4.8,或從模型選擇器中選擇它:
20
21```text title="Claude Code" wrap theme={null}
22/model claude-opus-4-8
23```
24
25[模型配置](https://code.claude.com/docs/zh-TW/model-config.md#available-models)
26
27Dynamic workflows
28研究預覽
29
30工作流程是 Claude 為您的任務編寫的協調指令碼,並在背景中跨許多子代理執行。當任務對於一個對話來協調太大時,請使用一個:整個程式碼庫審計、大型遷移、需要交叉檢查的研究問題。使用 `/workflows` 管理執行。
31
32
33
34描述任務並要求工作流程:
35
36```text title="Claude Code" wrap theme={null}
37create a workflow that migrates every internal fetch() call to the new HttpClient wrapper
38```
39
40[Dynamic workflows](https://code.claude.com/docs/zh-TW/workflows.md)
41
42Security guidance plugin
43plugin
44
45security-guidance 外掛程式檢查 Claude 的程式碼變更是否存在漏洞,並在同一工作階段中修復它們。它在每次編輯時執行快速模式檢查,在每個回合結束時執行模型檢查,以及在提交或推送時執行更深入的代理檢查。在 `.claude/claude-security-guidance.md` 中新增專案規則。
46
47<video autoPlay muted loop playsInline src="https://mintcdn.com/claude-code/QsIrGXGFg6xd7joy/images/whats-new/security-guidance.mp4?fit=max&auto=format&n=QsIrGXGFg6xd7joy&q=85&s=c91d865936411586f42b24c558bcdd1d" />
48
49從官方 Anthropic 市場安裝它:
50
51```text title="Claude Code" wrap theme={null}
52/plugin install security-guidance@claude-plugins-official
53```
54
55然後在目前工作階段中啟用它:
56
57```text title="Claude Code" wrap theme={null}
58/reload-plugins
59```
60
61[Security guidance plugin](https://code.claude.com/docs/zh-TW/security-guidance.md)
62
63Fast mode on Opus 4.8
64研究預覽
65
66快速模式現在預設為 Opus 4.8,每 MTok 為 \$10/\$50:標準速率的 2 倍,速度約為 2.5 倍。Opus 4.7 和 4.6 保持在 \$30/\$150。Opus 4.6 快速模式已棄用。
67
68切換快速模式,現在在 Opus 4.8 上:
69
70```text title="Claude Code" wrap theme={null}
71/fast
72```
73
74[快速模式定價](https://code.claude.com/docs/zh-TW/fast-mode.md#understand-the-cost-tradeoff)
75
76其他成果
77
78在 `claude agents` 中,在 shell 命令前加上 `!` 以將其作為背景工作執行,您可以附加到該工作並從中分離;也可用作 `claude --bg --exec 'pytest -x'`位於 `.claude/skills` 目錄中的外掛程式現在會自動載入,不需要市場,`claude plugin init <name>` 會為新外掛程式搭建框架新的 `/reload-skills` 命令重新掃描技能目錄而無需重新啟動,`SessionStart` hooks 可以傳回 `reloadSkills: true` 以使它們安裝的技能在同一工作階段中可用技能和命令可以在 frontmatter 中設定 `disallowed-tools` 以在技能處於活動狀態時從模型中移除工具新的 `MessageDisplay` hook 事件讓 hooks 在顯示助手訊息文字時轉換或隱藏它Claude Code 現在在找不到主要模型時會切換到您配置的 `--fallback-model` 以進行工作階段的其餘部分,而不是使每個請求都失敗外掛程式可以在 `plugin.json` 或市場項目中宣告 `defaultEnabled: false`,以便它們安裝而不開啟,直到您啟用它們Vim 模式:在 NORMAL 模式下按 `/` 開啟反向歷史搜尋,與 Bash 和 Zsh vi-mode 相符串流工具執行現在始終啟用,包括在禁用遙測和 Amazon Bedrock、Google Cloud 的 Agent Platform 和 Microsoft Foundry 上`←←` 開啟代理檢視現在適用於 Amazon Bedrock、Google Cloud 的 Agent Platform、Microsoft Foundry 和禁用遙測的情況Chrome 中的 Claude:透過 `/chrome` → "選擇瀏覽器…" 選擇要使用的連接瀏覽器,或在瀏覽器操作執行時在聊天中選擇多個連接的瀏覽器`claude mcp list` 和 `claude mcp get` 現在將未批准的 `.mcp.json` 伺服器顯示為待批准,而不是在輸出被管道傳輸時自動批准和連接
79
80[v2.1.150–v2.1.157 的完整變更日誌 →](https://code.claude.com/docs/en/changelog.md#2-1-150)