# claude-opus-4-5-migration

A skill that scans your codebase for model strings and API calls and switches them to Opus 4.5. Useful when a project needs the newer model.

- skill · `type=skill` · Claude Code · 55 installs
- Author: davila7
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/claude-opus-4-5-migration
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/claude-opus-4-5-migration

## What it does

The skill walks the repository looking for model strings and API calls, then swaps in the Opus 4.5 identifier for whichever platform you use: `claude-opus-4-5-20251101` on the Anthropic API, `anthropic.claude-opus-4-5-20251101-v1:0` on AWS Bedrock, `claude-opus-4-5@20251101` on Google Vertex AI, `claude-opus-4-5-20251101` on Azure AI Foundry. It also strips the `context-1m-2025-08-07` beta header, which Opus 4.5 does not accept yet, and leaves a comment in its place.

Model strings are the only thing changed by default. Prompt rewrites happen only when you ask for them or describe a specific problem. In that case the skill pulls ready snippets from `references/prompt-snippets.md` and folds them into the prompt with XML tags instead of tacking them on at the end. Effort parameter setup lives in `references/effort.md`.

Migration runs one way: Haiku models stay untouched, and the accepted sources are Claude, Claude and Opus 4.1. At the end the skill lists everything it changed.

## Install

### Claude Code (native platform)

1. **claude-code-templates**
```bash
npx claude-code-templates@latest --skill development/claude-opus-4-5-migration
```

2. **Skills CLI (Vercel)**
```bash
npx skills add davila7/claude-code-templates --skill claude-opus-4-5-migration -a claude-code
```

3. **Manually: put the files in place**
- File: `~/.claude/skills/claude-opus-4-5-migration/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/claude-opus-4-5-migration/

### Codex

**Manually: put the files in place**
- File: `.agents/skills/claude-opus-4-5-migration/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

**Manually: put the files in place**
- File: `.cursor/skills/claude-opus-4-5-migration/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install davila7/claude-code-templates claude-opus-4-5-migration
```

2. **Manually: put the files in place**
- File: `.github/skills/claude-opus-4-5-migration/SKILL.md`

### Gemini CLI

**Platform CLI**
```bash
gemini skills install https://github.com/davila7/claude-code-templates --path cli-tool/components/skills/development/claude-opus-4-5-migration
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/claude-opus-4-5-migration/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/davila7/claude-code-templates/tree/HEAD/cli-tool/components/skills/development/claude-opus-4-5-migration

## When to use it
- locate every model string and API call across a repository
- swap Claude, Claude and Opus 4.1 identifiers for Opus 4.5
- drop the `context-1m-2025-08-07` beta header that Opus 4.5 rejects
- soften forceful prompt wording that makes tools fire too often
- fold new snippets into a prompt with XML tags without breaking its structure

## Example prompts
- Move this project to Opus 4.5: find the model strings and API calls and update them
- The model calls tools too often now — soften the wording in my prompts
- Add the snippet against extra files and abstractions from `references/prompt-snippets.md` to my prompt

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [davila7/claude-code-templates](https://affpapa.org/en/nevibecode/by/davila7/claude-code-templates.md) — 361 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
