opus-4-5-migration
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
Installation
Pick a client and clone the repository into its skills directory.
Installation
About this skill
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.
How to use
Udostępnij narzędziu swoją bazę kodu, prompty lub konfigurację API, którą chcesz zmigrować. Wskaż, z którego modelu przechodzisz (Sonnet 4.0, Sonnet 4.5 lub Opus 4.1).
Narzędzie przeszuka kod w poszukiwaniu stringów modeli i wywołań API związanych ze starą wersją. Zidentyfikuje wszystkie miejsca, które wymagają aktualizacji.
Stringi modeli zostaną zamienione na odpowiadające im wartości Opus 4.5 dla Twojej platformy (Anthropic API, AWS Bedrock, Google Vertex AI lub Azure AI Foundry). Każda platforma ma inny format stringu.
Narzędzie usunie nieobsługiwane nagłówki beta, takie jak context-1m-2025-08-07, i doda komentarz wyjaśniający zmianę. Doda także parametr effort ustawiony na "high" gdzie jest to wymagane.
Otrzymasz podsumowanie wszystkich dokonanych zmian oraz listę plików, które zostały zmodyfikowane. Jeśli napotkasz problemy z Opus 4.5, możesz poprosić narzędzie o dostosowanie promptów.