davila7 avatar

Claude Opus 4 5 Migration

Handles the grunt work of migrating your codebase from Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5. It searches for model strings across different platforms (Anthropic API, Bedrock, Vertex, Azure), updates them to the correct Opus 4.5 variants, removes unsupported beta headers, and adds the effort parameter. The real value is in the conditional prompt adjustments. It knows about Opus 4.5's quirks like tool overtriggering and over engineering tendencies, but only applies fixes when you actually report those issues rather than blindly changing everything. Use this when you're switching models and want someone else to remember all the platform specific string formats and behavioral gotchas.

skills.sh installs
308
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill claude-opus-4-5-migration --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Categories
Backend & APIs, AI & Agent Building
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618
1rysweet avatardocumentation-writingrysweet/amplihackWriting clear, discoverable software documentation following the Eight Rules and Diataxis framework. Use when creating README files, API docs, tutorials, how-to308skills.sh installs
2secondsky avatarnuxt-studiosecondsky/claude-skillsThis skill should be used when the user asks to "set up Nuxt Studio", "configure Studio OAuth", "deploy Studio to Cloudflare", "add visual editor to Nuxt", "con308skills.sh installs
3patricio0312rev avatarreadme-generatorpatricio0312rev/skillsGenerates comprehensive README files with badges, installation, usage, API docs, and contribution guidelines. Use when users request "README", "project document307skills.sh installs
4senpi-ai avatarautonomous-tradingsenpi-ai/senpi-skillsGive your agent a budget, a target, and a deadline — it does the rest. Orchestrates DSL + Opportunity Scanner + Emerging Movers into a full autonomous trading l307skills.sh installs
5aicoincom avataraicoin-onchainaicoincom/coinos-skillsUse this skill for **on-chain DEX trading and wallet operations on EVM/Solana chains**: token swap quotes, swap execution, wallet portfolio/balance queries, gas306skills.sh installs
6troykelly avatarpexels-mediatroykelly/claude-skillsSource royalty-free images and videos from Pexels API for design, placeholders, or content. Supports search, curated/popular content, collections, multiple reso303skills.sh installs