claude-opus-4-5-migration by anthropics/claude-code
npx skills add https://github.com/anthropics/claude-code --skill claude-opus-4-5-migration从 Sonnet 4.0、Sonnet 4.5 或 Opus 4.1 一键迁移到 Opus 4.5。
effort 参数并设置为 "high"(参见 references/effort.md)识别代码库使用的平台,然后相应地替换模型字符串。
移除 context-1m-2025-08-07 beta 标头(如果存在)——它目前不受 Opus 4.5 支持。留下注释说明:
# 注意:1M 上下文 Beta 版(context-1m-2025-08-07)目前不受 Opus 4.5 支持
| 平台 |
|---|
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| Opus 4.5 模型字符串 |
|---|
| Anthropic API (1P) | claude-opus-4-5-20251101 |
| AWS Bedrock | anthropic.claude-opus-4-5-20251101-v1:0 |
| Google Vertex AI | claude-opus-4-5@20251101 |
| Azure AI Foundry | claude-opus-4-5-20251101 |
| 源模型 | Anthropic API (1P) | AWS Bedrock | Google Vertex AI |
|---|---|---|---|
| Sonnet 4.0 | claude-sonnet-4-20250514 | anthropic.claude-sonnet-4-20250514-v1:0 | claude-sonnet-4@20250514 |
| Sonnet 4.5 | claude-sonnet-4-5-20250929 | anthropic.claude-sonnet-4-5-20250929-v1:0 | claude-sonnet-4-5@20250929 |
| Opus 4.1 | claude-opus-4-1-20250422 | anthropic.claude-opus-4-1-20250422-v1:0 | claude-opus-4-1@20250422 |
请勿迁移:任何 Haiku 模型(例如 claude-haiku-4-5-20251001)。
Opus 4.5 与之前的模型存在已知的行为差异。仅当用户明确请求或报告特定问题时才应用这些修复。 默认情况下,只需更新模型字符串。
集成指南:添加代码片段时,不要只是将其附加到提示词末尾。要深思熟虑地进行集成:
<code_guidelines>、<tool_usage>)来组织新增内容Opus 4.5 对系统提示词更敏感。为防止先前模型触发不足而使用的激进语言现在可能导致过度触发。
应用场景:用户报告工具被过于频繁或不必要地调用。
查找并软化:
CRITICAL: → 移除或软化You MUST... → You should...ALWAYS do X → Do XNEVER skip... → Don't skip...REQUIRED → 移除或软化仅应用于工具触发指令。其他强调性用词保持不变。
Opus 4.5 倾向于创建额外文件、添加不必要的抽象或构建未请求的灵活性。
应用场景:用户报告不需要的文件、过度抽象或未请求的功能。添加 references/prompt-snippets.md 中的代码片段。
Opus 4.5 在探索代码方面可能过于保守,会在未阅读文件的情况下提出解决方案。
应用场景:用户报告模型未检查相关代码就提出修复方案。添加 references/prompt-snippets.md 中的代码片段。
应用场景:用户要求提高前端设计质量或报告输出结果过于普通。
添加 references/prompt-snippets.md 中的前端美学代码片段。
当未启用扩展思考时(默认情况),Opus 4.5 对"think"一词及其变体特别敏感。仅当 API 请求包含 thinking 参数时才启用扩展思考。
应用场景:用户报告在未启用扩展思考(请求中没有 thinking 参数)时出现与"thinking"相关的问题。
将"think"替换为替代词,如"consider"、"believe"或"evaluate"。
参见 references/prompt-snippets.md 获取每个要添加的代码片段的完整文本。
参见 references/effort.md 了解如何配置 effort 参数(仅在用户请求时)。
每周安装量
1.1K
代码仓库
GitHub Stars
76.4K
首次出现
Jan 20, 2026
安全审计
安装于
claude-code909
opencode662
gemini-cli649
codex608
cursor608
github-copilot505
One-shot migration from Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5.
"high" (see references/effort.md)Identify which platform the codebase uses, then replace model strings accordingly.
Remove the context-1m-2025-08-07 beta header if present—it is not yet supported with Opus 4.5. Leave a comment noting this:
# Note: 1M context beta (context-1m-2025-08-07) not yet supported with Opus 4.5
| Platform | Opus 4.5 Model String |
|---|---|
| Anthropic API (1P) | claude-opus-4-5-20251101 |
| AWS Bedrock | anthropic.claude-opus-4-5-20251101-v1:0 |
| Google Vertex AI | claude-opus-4-5@20251101 |
| Azure AI Foundry | claude-opus-4-5-20251101 |
| Source Model | Anthropic API (1P) | AWS Bedrock | Google Vertex AI |
|---|---|---|---|
| Sonnet 4.0 | claude-sonnet-4-20250514 | anthropic.claude-sonnet-4-20250514-v1:0 | claude-sonnet-4@20250514 |
| Sonnet 4.5 | claude-sonnet-4-5-20250929 | anthropic.claude-sonnet-4-5-20250929-v1:0 | claude-sonnet-4-5@20250929 |
Do NOT migrate : Any Haiku models (e.g., claude-haiku-4-5-20251001).
Opus 4.5 has known behavioral differences from previous models. Only apply these fixes if the user explicitly requests them or reports a specific issue. By default, just update model strings.
Integration guidelines : When adding snippets, don't just append them to prompts. Integrate them thoughtfully:
<code_guidelines>, <tool_usage>) to organize additionsOpus 4.5 is more responsive to system prompts. Aggressive language that prevented undertriggering on previous models may now cause overtriggering.
Apply if : User reports tools being called too frequently or unnecessarily.
Find and soften :
CRITICAL: → remove or softenYou MUST... → You should...ALWAYS do X → Do XNEVER skip... → Don't skip...REQUIRED → remove or softenOnly apply to tool-triggering instructions. Leave other uses of emphasis alone.
Opus 4.5 tends to create extra files, add unnecessary abstractions, or build unrequested flexibility.
Apply if : User reports unwanted files, excessive abstraction, or unrequested features. Add the snippet from references/prompt-snippets.md.
Opus 4.5 can be overly conservative about exploring code, proposing solutions without reading files.
Apply if : User reports the model proposing fixes without inspecting relevant code. Add the snippet from references/prompt-snippets.md.
Apply if : User requests improved frontend design quality or reports generic-looking outputs.
Add the frontend aesthetics snippet from references/prompt-snippets.md.
When extended thinking is not enabled (the default), Opus 4.5 is particularly sensitive to the word "think" and its variants. Extended thinking is enabled only if the API request contains a thinking parameter.
Apply if : User reports issues related to "thinking" while extended thinking is not enabled (no thinking parameter in request).
Replace "think" with alternatives like "consider," "believe," or "evaluate."
See references/prompt-snippets.md for the full text of each snippet to add.
See references/effort.md for configuring the effort parameter (only if user requests it).
Weekly Installs
1.1K
Repository
GitHub Stars
76.4K
First Seen
Jan 20, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
claude-code909
opencode662
gemini-cli649
codex608
cursor608
github-copilot505
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
AI代码审查工具 - 自动化安全漏洞检测与代码质量分析 | 支持多领域检查清单
1,200 周安装
AI智能体长期记忆系统 - 精英级架构,融合6种方法,永不丢失上下文
1,200 周安装
AI新闻播客制作技能:实时新闻转对话式播客脚本与音频生成
1,200 周安装
Word文档处理器:DOCX创建、编辑、分析与修订痕迹处理全指南 | 自动化办公解决方案
1,200 周安装
React Router 框架模式指南:全栈开发、文件路由、数据加载与渲染策略
1,200 周安装
Nano Banana AI 图像生成工具:使用 Gemini 3 Pro 生成与编辑高分辨率图像
1,200 周安装
| Opus 4.1 |
claude-opus-4-1-20250422 |
anthropic.claude-opus-4-1-20250422-v1:0 |
claude-opus-4-1@20250422 |