Agent skill

Opus 4 5 Migration

by gotalab in gotalab/skillport

Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5.

MITAuto-check passedAgent Workflows

Install Opus 4 5 Migration

skills CLI
$ npx skills add gotalab/skillport --skill opus-4-5-migration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install gotalab/skillport opus-4-5-migration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/gotalab/skillport.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.skills/experimental/opus-4-5-migration .claude/skills/opus-4-5-migration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
opus-4-5-migration
GitHub stars
413
Used in
4 other repos
Token cost
~1.2k tokens
SKILL.md length
520 words
Files
3 (incl. references)
Skills in repo
3
Repo updated
First seen
Licence
MIT

At a glance

Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5.

  • Works in 5 steps: Tool Overtriggering → Over-Engineering Prevention → Code Exploration → …
  • The user wants to update their codebase
  • SKILL.md covers Migration Workflow, Model String Updates, Prompt Adjustments and Reference
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Opus 4 5 Migration is an agent skill from gotalab/skillport. 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.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/effort.md` and `references/prompt-snippets.md`).

It sits in Agent Workflows. It works with Model Context Protocol. The repository describes itself as: Bring Agent Skills to Any AI Agent and Coding Agent — via CLI or MCP. Manage once, serve anywhere. The licence is MIT.

When your agent uses it

  • The user wants to update their codebase
  • API calls to use Opus 4.5

Example prompts

  • “/opus-4-5-migration”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Tool Overtriggering
  2. Over-Engineering Prevention
  3. Code Exploration
  4. Frontend Design
  5. Thinking Sensitivity

What it can do on your machine

Read from SKILL.md and the folder at commit 51334ae. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are python).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Opus 4 5 Migration loads about 1.2k tokens when it runs, and up to ~3.2k if it reads all its reference files. Until then it costs about 79 tokens; SKILL.md has 520 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from gotalab/skillport at commit 51334ae, republished under its MIT licence (© gotalab). 520 words, ~1,211 tokens.

Download SKILL.mdSave it as .claude/skills/opus-4-5-migration/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
opus-4-5-migration
description
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.

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:

python
# 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.

Show full SKILL.md (177 more words)Show less
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).

© gotalab, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in .skills/experimental/opus-4-5-migration of gotalab/skillport.

  • SKILL.md
  • references/effort.md
  • references/prompt-snippets.md

Open the folder on GitHubat commit 51334ae

Used in 4 other repositories

We found 15 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in gotalab/skillport, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Opus 4 5 Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Opus 4 5 Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Opus 4 5 Migration this skillgotalab/skillport4134 repos~1.2kAutomated safety check: PassMIT
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
MCP Integration for Pluginsanthropics/claude-plugins-official38k11 repos~3.1kAutomated safety check: PassApache-2.0
MemPalace Memory SearchMemPalace/mempalace59k—~1.4kAutomated safety check: PassMIT
Crush Configurationcharmbracelet/crush29k—~3.7kAutomated safety check: PassCustom licence

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • MCP Integration for Plugins

    anthropics/claude-plugins-official

    Official

    Explains how to bundle Model Context Protocol servers in a Claude Code plugin, covering config files, stdio, SSE, HTTP and WebSocket server types, and authentication.

    38k GitHub starsUsed in 11 repos~3.1k tokens
    Agent WorkflowsAuto-check passed
  • MemPalace Memory Search

    MemPalace/mempalace

    Mines project files and conversation exports into a local, searchable memory palace and recalls past work by semantic search through the mempalace CLI.

    59k GitHub stars~1.4k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Crush Configuration

    charmbracelet/crush

    Explains how to configure the Crush coding agent with crushrc or crush.json, covering providers, models, LSPs, MCP servers, hooks, permissions and config precedence.

    29k GitHub stars~3.7k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Context Mode Output Sandbox

    mksglu/context-mode

    Routes large command, file, API and browser output through context-mode tools so only the needed result enters the agent's context, instead of dumping it via Bash.

    26k GitHub stars~4.1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from gotalab/skillport

  • Skill Evaluator

    gotalab/skillport

    Evaluates agent skills against Anthropic's best practices. An agent skill from gotalab/skillport.

    413 GitHub stars~1.6k tokensUpdated 3 mo ago
    Auto-check passed
  • Git Branch Cleanup

    gotalab/skillport

    Analyzes and safely cleans up local Git branches. An agent skill from gotalab/skillport.

    413 GitHub stars~2k tokensUpdated 3 mo ago
    Auto-check passed

Categories

Questions about Opus 4 5 Migration

What does Opus 4 5 Migration do?

Migrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5. Opus 4 5 Migration is an agent skill from gotalab/skillport.5.

When should I use Opus 4 5 Migration?

Opus 4 5 Migration fits situations like: the user wants to update their codebase; API calls to use Opus 4.5.

How do I install Opus 4 5 Migration in Claude Code?

Run `npx skills add gotalab/skillport --skill opus-4-5-migration -a claude-code`. Or copy the skill folder (.skills/experimental/opus-4-5-migration in gotalab/skillport) into .claude/skills/opus-4-5-migration in your project. Claude Code loads it when a task matches its description.

How do I install Opus 4 5 Migration in Codex?

Run `npx skills add gotalab/skillport --skill opus-4-5-migration -a codex`. Or copy the skill folder (.skills/experimental/opus-4-5-migration in gotalab/skillport) into .agents/skills/opus-4-5-migration in your project. Codex loads it when a task matches its description.

Can I use Opus 4 5 Migration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gotalab/skillport --skill opus-4-5-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/opus-4-5-migration, .gemini/skills/opus-4-5-migration, .github/skills/opus-4-5-migration and .opencode/skills/opus-4-5-migration in your project.

What does Opus 4 5 Migration need to run?

SKILL.md names no scripts, command-line tools or credentials: Opus 4 5 Migration is instructions for the agent only. Our summary lists: Python 3.

Does Opus 4 5 Migration access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Opus 4 5 Migration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Opus 4 5 Migration use?

Opus 4 5 Migration is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Opus 4 5 Migration use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2k tokens, read only when the agent opens those files.

What are the alternatives to Opus 4 5 Migration?

Skills that share tags, products or a category with Opus 4 5 Migration: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MCP Integration for Plugins (anthropics/claude-plugins-official, 38k stars) and MemPalace Memory Search (MemPalace/mempalace, 59k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Opus 4 5 Migration?

gotalab (a GitHub user) maintains it in gotalab/skillport, which has 413 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on June 24, 2026.

Source: gotalab/skillport on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.