claude-opus-4-5-migration
Automates migration of project model strings and settings to Claude Opus 4.5.
Install
mkdir -p .claude/skills/claude-opus-4-5-migration && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/128" && unzip -o skill.zip -d .claude/skills/claude-opus-4-5-migration && rm skill.zipInstalls to .claude/skills/claude-opus-4-5-migration
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5. Use when the user wants to update their codebase, prompts, or API calls to use Opus 4.5. Handles model string updates and prompt adjustments for known Opus 4.5 behavioral differences. Does NOT migrate Haiku 4.5.Key capabilities
- →Searches for legacy model strings
- →Updates configuration for Anthropic API, Bedrock, and Vertex AI
- →Injects high-effort parameter into existing calls
- →Strips unsupported beta context headers
- →Adds comments regarding header removal
How it works
It parses source code to identify specific model string patterns and replaces them with corresponding Opus 4.5 identifiers while modifying associated header blocks.
Inputs & outputs
When to use claude-opus-4-5-migration
- →Updating API model strings
- →Switching from Sonnet 4.0/4.5 to Opus 4.5
- →Migrating AWS Bedrock configuration
- →Removing unsupported beta headers
About this skill
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
- Search codebase for model strings and API calls
- Update model strings to Opus 4.5 (see platform-specific strings below)
- Remove unsupported beta headers
- Add effort parameter set to
"high"(seereferences/effort.md) - Summarize all changes made
- 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)
| 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 Strings to Replace
| 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 |
| Opus 4.1 | claude-opus-4-1-20250422 | anthropic.claude-opus-4-1-20250422-v1:0 | claude-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 softenYou MUST...→You should...ALWAYS do X→Do XNEVER 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).
When not to use it
- →Projects using Haiku models
- →Files requiring structural architecture changes
Limitations
- →Does not automatically validate prompt behavior changes
- →Requires manual verification of platform-specific headers
How it compares
It performs automated, platform-aware string replacement and parameter injection instead of manual refactoring.
Compared to similar skills
claude-opus-4-5-migration side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| claude-opus-4-5-migration (this skill) | 9 | 8mo | No flags | Beginner |
| copilot-sdk | 7 | 4mo | Review | Intermediate |
| agentica-sdk | 1 | 7mo | No flags | Intermediate |
| groq-core-workflow-a | 0 | 26d | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by anthropics
View all by anthropics →You might also like
copilot-sdk
github
Build agentic applications with GitHub Copilot SDK. Use when embedding AI agents in apps, creating custom tools, implementing streaming responses, managing sessions, connecting to MCP servers, or creating custom agents. Triggers on Copilot SDK, GitHub SDK, agentic app, embed Copilot, programmable agent, MCP server, custom agent.
agentica-sdk
parcadei
Build Python agents with Agentica SDK - @agentic decorator, spawn(), persistence, MCP integration
groq-core-workflow-a
jeremylongshore
Execute Groq primary workflow: Core Workflow A. Use when implementing primary use case, building main features, or core integration tasks. Trigger with phrases like "groq main workflow", "primary task with groq".
mcp-create-declarative-agent
ArryoRuma
Skill converted from mcp-create-declarative-agent.prompt.md
mcp-builder
anthropics
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
mcp-integration
anthropics
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context Protocol", "connect external service", mentions "${CLAUDE_PLUGIN_ROOT} with MCP", or discusses MCP server types (SSE, stdio, HTTP, WebSocket). Provides comprehensive guidance for integrating Model Context Protocol servers into Claude Code plugins for external tool and service integration.