claude-opus-4-5-migration

โดย anthropic

โยกย้ายสตริงโมเดลและพรอมต์ของ Claude จาก Sonnet 4.0, Sonnet 4.5 หรือ Opus 4.1 ไปยัง Opus 4.5 อัปเดตสตริงโมเดลบนแพลตฟอร์ม Anthropic API, AWS Bedrock, Google Vertex AI และ Azure AI Foundry ลบส่วนหัวเบต้าที่ไม่รองรับ (เช่น context-1m-2025-08-07) และเพิ่มพารามิเตอร์ effort ที่ตั้งค่าเป็น "high" ให้การปรับแต่งพรอมต์เสริมสำหรับความแตกต่างทางพฤติกรรมที่ทราบของ Opus 4.5: การทริกเกอร์เครื่องมือมากเกินไป การออกแบบมากเกินไป การสำรวจโค้ดแบบอนุรักษ์นิยม การออกแบบส่วนหน้า และความไวต่อการคิด...

npx skills add https://github.com/anthropics/claude-code --skill claude-opus-4-5-migration

Opus 4.5 Migration Guide

One-shot migration from Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5.

Migration Workflow

  1. Search codebase for model strings and API calls
  2. Update model strings to Opus 4.5 (see platform-specific strings below)
  3. Remove unsupported beta headers
  4. Add effort parameter set to "high" (see references/effort.md)
  5. Summarize all changes made
  6. Tell the user: "If you encounter any issues with Opus 4.5, let me know and I can help adjust your prompts."

Model String Updates

Identify which platform the codebase uses, then replace model strings accordingly.

Unsupported Beta Headers

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

Target Model Strings (Opus 4.5)

PlatformOpus 4.5 Model String
Anthropic API (1P)claude-opus-4-5-20251101
AWS Bedrockanthropic.claude-opus-4-5-20251101-v1:0
Google Vertex AIclaude-opus-4-5@20251101
Azure AI Foundryclaude-opus-4-5-20251101

Source Model Strings to Replace

Source ModelAnthropic API (1P)AWS BedrockGoogle Vertex AI
Sonnet 4.0claude-sonnet-4-20250514anthropic.claude-sonnet-4-20250514-v1:0claude-sonnet-4@20250514
Sonnet 4.5claude-sonnet-4-5-20250929anthropic.claude-sonnet-4-5-20250929-v1:0claude-sonnet-4-5@20250929
Opus 4.1claude-opus-4-1-20250422anthropic.claude-opus-4-1-20250422-v1:0claude-opus-4-1@20250422

Do NOT migrate: Any Haiku models (e.g., claude-haiku-4-5-20251001).

Prompt Adjustments

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:

  • Use XML tags (e.g., <code_guidelines>, <tool_usage>) to organize additions
  • Match the style and structure of the existing prompt
  • Place snippets in logical locations (e.g., coding guidelines near other coding instructions)
  • If the prompt already uses XML tags, add new content within appropriate existing tags or create consistent new ones

1. Tool Overtriggering

Opus 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 soften
  • You MUST... → You should...
  • ALWAYS do X → Do X
  • NEVER skip... → Don't skip...
  • REQUIRED → remove or soften

Only apply to tool-triggering instructions. Leave other uses of emphasis alone.

2. Over-Engineering Prevention

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.

3. Code Exploration

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.

4. Frontend Design

Apply if: User requests improved frontend design quality or reports generic-looking outputs.

Add the frontend aesthetics snippet from references/prompt-snippets.md.

5. Thinking Sensitivity

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."

Reference

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).

Skills เพิ่มเติมจาก anthropic

analyzing-financial-statements
anthropic
ทักษะนี้คำนวณอัตราส่วนทางการเงินและตัวชี้วัดสำคัญจากข้อมูลงบการเงินเพื่อการวิเคราะห์การลงทุน
applying-brand-guidelines
anthropic
ทักษะนี้ใช้การสร้างแบรนด์และสไตล์องค์กรที่สอดคล้องกันกับเอกสารที่สร้างขึ้นทั้งหมด รวมถึงสี แบบอักษร เค้าโครง และข้อความ
creating-financial-models
anthropic
ทักษะนี้มีชุดเครื่องมือสร้างแบบจำลองทางการเงินขั้นสูง พร้อมการวิเคราะห์ DCF การทดสอบความไว การจำลองแบบมอนติคาร์โล และการวางแผนสถานการณ์สำหรับการลงทุน…
board-minutes
anthropic
ร่างรายงานการประชุมคณะกรรมการหรือคณะอนุกรรมการในรูปแบบขององค์กรของคุณ ตรวจจับการประชุมคณะกรรมการและคณะอนุกรรมการที่กำลังจะมาถึงจากปฏิทินของคุณโดยอัตโนมัติ สอบถามวาระการประชุมและ…
crm-cleanup
anthropic
สแกน HubSpot เพื่อหาดีลที่ค้างอยู่ คอนแทคที่ซ้ำกัน และฟิลด์ที่ขาดหาย จากนั้นแก้ไขตามที่เจ้าของอนุมัติ รองรับอาร์กิวเมนต์ขอบเขตแบบเลือกได้สำหรับดีล คอนแทค…
redshift-api
anthropic
รัน SQL กับ Amazon Redshift — ส่งคำสั่ง ตรวจสอบสถานะ เรียกดูผลลัพธ์แบบแบ่งหน้า และเรียกดูฐานข้อมูล/สคีมา/ตาราง ใช้สิ่งนี้เมื่อผู้ใช้ต้องการ…
ticket-deflector
anthropic
อ่านอีเมลหรือตั๋วของลูกค้าที่ถูกส่งต่อ ดึงสถานะคำสั่งซื้อ/การคืนเงินจาก PayPal และประวัติบัญชีจาก HubSpot ร่างคำตอบที่ปรับโทนเสียงให้ตรงกับเจ้าของ...
reg-feed-watcher
anthropic
ตรวจสอบฟีดข้อบังคับตอนนี้และรายงานสิ่งใหม่ตั้งแต่การตรวจสอบครั้งล่าสุด โดยกรองตามเกณฑ์ความสำคัญที่คุณกำหนด ใช้เมื่อผู้ใช้พูดว่า "ตรวจสอบฟีด"…