Works with the AI Agents you already use
Model Migration Planner: Retire or Swap an LLM Safely
The usual result: a find-and-replace on one model string, a few manual spot checks, and a surprise in production from the call site nobody remembered.
$12
Model Migration Planner: Retire or Swap an LLM Safely
Example session with this skill installed
Our provider is retiring gpt-sample-large-2025-03-01 on 2027-02-15. Scan this repo, then plan the migration. Candidates are the successor gpt-sample-large-2026-09-01, claude-sample-fast, and mistral-sample-small. Eval results for 60 tickets are attached.
- Read your context and instructions
- Compiled the model migration planner
Model migration plan: gpt-sample-large-2025-03-01 -> claude-sample-fast (summaries, digest),
gpt-sample-large-2026-09-01 (classifier fallback)
Scanner: 11 matches in 5 files, 4 distinct IDs
gpt-sample-large-2025-03-01 7 hits, 5 files (2 code, 3 config, 2 doc)
claude-sample-fast 2 hits (alias?) llama-sample-embed-v2 1 mistral-sample-small 1
Manual finds the scan cannot see:
- production env SUMMARY_MODEL = gpt-sample-large-2025-03-01
- app/summarize.py:15 builds f"gpt-sample-{tier}" at run time (floating aliases)
Retirement: 2027-02-15 (provider page, checked 2026-12-01). Cutover latest 2027-02-01.
Eval: 60 real tickets (45 summaries, 15 digest) + 12 classifier-fallback tasks,
rule and blocking failures dated before the run.
incumbent 54/60 90.0% 0 blocking $0.0178 per accepted
gpt-sample-large-2026-09-01 55/60 91.7% 0 blocking $0.0153
claude-sample-fast 53/60 88.3% 0 blocking $0.0057
mistral-sample-small 50/60 83.3% 1 blocking (promised a refund) $0.0036
Classifier fallback: incumbent 11/12, gpt-sample-large-2026-09-01 12/12.
Caution: 60 tasks cannot rank models a few points apart (53/60 is about 78% to 94%).
Decision:
1. mistral-sample-small out: blocking failure. Cheapest, still out.
2. Floor 87.0% overall, 88.1% summaries, 83.7% digest. Both others clear.
3. Lowest cost per accepted: claude-sample-fast. Runner-up: gpt-sample-large-2026-09-01.
Classifier fallback -> gpt-sample-large-2026-09-01 (the fallback cannot be the primary).
Pin claude-sample-fast alias as an accepted risk: it is the exact ID the eval ran on.
Any dated snapshot needs a full 60-task re-run first.
Paired vs incumbent: 50 both pass, 4 incumbent only, 3 candidate only, 3 both fail.
Rollout:
Data terms for claude-sample-fast's provider confirmed 2026-12-15, before shadow.
Shadow 2027-01-04 to 01-15: >= 500 requests, errors <= +1 pt, JSON valid >= 99.5%,
p95 <= 1.5x, cost within 20%, 50 graded summaries pass the Wilson gate
(fail at 40/50 or fewer vs 88.1%), rollback tested in staging.
Runner-up shadowed at 10%, 01-12 to 01-15.
Canary 5% (01-18) -> 25% (01-20) -> 100% (01-23), one config switch.
Rollback on: blocking failure, 23/30 or fewer in a sample review (Wilson upper
bound below 87.0%), errors > +2 pts for 30 min, p95 > 2x for 30 min,
complaint tickets > 2x baseline. Raw "below 87%" would roll back an equally
good model about 47% of the time; the Wilson gate about 5%.
Rollback target: old model until 2027-02-15, then gpt-sample-large-2026-09-01.
Pins: 9 changes (code, config, .env.example, runbook, production env). Move IDs into
config/models.yaml. Expected rescan: zero hits for gpt-sample-large-2025-03-01
outside CHANGELOG.
Connects securely to your tools. The creator never sees your data.
About this skill
A deprecation email lands, or someone wants to swap in a cheaper model before Friday. The usual result: a find-and-replace on one model string, a few manual spot checks, and a surprise in production from the call site nobody remembered.
What you get
- An eight-step method: inventory, retirement record, candidates, paired eval, decision, shadow, canary, pin and doc updates.
- A tested Python scanner (standard library only, no network) that walks a repo, skips
.git,node_modules, virtual environments, lockfiles, and binaries, and writes an inventory CSV (file, line, model ID, code/config/doc) plus a summary by model ID that flags undated aliases. - A fill-in plan template and a full worked example: fictional repo, exact scanner output, eval results, and the finished plan.
What makes it different
Hard decision rules instead of "test thoroughly", with sample-review gates that account for small-sample noise. The acceptance rule and blocking failures are written before any model runs. Candidates are judged per feature against a floor set from the incumbent. Cost per accepted result breaks ties, and lower cost never overrides the floor. Rollout has numeric shadow exit criteria, canary steps, and rollback triggers, and names a rollback target for after the old model is gone. The skill also lists what a string scan cannot see (run-time IDs, deployed env vars, flags) so you go find them.
What it does not do
It does not know any provider's retirement dates, model names, or prices. You verify those on the provider's pages and the plan records where. It does not run your eval or change your code.
Does not find IDs constructed at runtime via string interpolation. Requires manual entry of provider retirement dates and pricing. No automated execution of API calls or evals.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
- Software
Python 3.10+ (standard library only, for the repo scanner)
Read access to the repos that call the model. 30 to 100 real tasks from your logs for the eval
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.