Skip to content
Back to skills

Model Migration Strategy

ASecurity

Use when migrating between model families — eval suite first, avoid per-family hyper-optimization, hedge new failure modes, cost attribution. Triggers on "model migration", "gpt-5 gotchas", "em dashes model", "AI telltale signs", "hyper-optimization prompts", "model failure modes".

  • 2 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsgo

Works with

  • claude code

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 28, 2026

npx -y skills add majinmagros/magros.ai-skills --skill model-migration-strategy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Model Migration Strategy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Model Migration Strategy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majinmagros-model-migration-strategy/badge)](https://www.skillsdirectory.com/skills/majinmagros-model-migration-strategy)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: model-migration-strategy
description: Use when migrating between model families — eval suite first, avoid per-family hyper-optimization, hedge new failure modes, cost attribution. Triggers on "model migration", "gpt-5 gotchas", "em dashes model", "AI telltale signs", "hyper-optimization prompts", "model failure modes".
metadata:
  origin: ECC
  source_docs:
    - https://docs.anthropic.com/en/docs/managed-agents/models
  video_source: "hm8NzEd5io0 - How founders build on Claude Managed Agents (Claude Oficial)"
  related_skills:
    - roteamento-modelos-baratos
    - claude-model-router
    - eval-harness
    - verification-loop
    - cost-aware-llm-pipeline
---

# Skill: model-migration-strategy — Estratégia de Migração de Modelos

Migração segura entre famílias: **eval suite primeiro**, sem hyper-optimization por família, hedge de **novos failure modes**, cost attribution granular. Código em `references/implementation.md`.

## Quando usar

- Nova família de modelo lançada (GPT-5, Claude 4, etc.)
- Precisa migrar produção de um modelo para outro
- Quer evitar **hyper-optimization** para família específica
- Precisa detectar **novos failure modes** por família
- Quer **attribution granularity** de custos por modelo

## Quando NÃO usar

- Roteamento simples → use `roteamento-modelos-baratos`, `claude-model-router`
- Cost tracking genérico → use `cost-aware-llm-pipeline`
- Eval harness genérico → use `eval-harness`
- Subscription tier routing → use `subscription-tier-routing`

---

## Validação Oficial (2026-09-09)

| Claim | Status | Fonte |
|---|---|---|
| Eval suite FIRST before migration | ✅ | Video + Anthropic best practices |
| Avoid hyper-optimization per model family | ✅ | Video |
| GPT-5: mais em dashes, AI telltale signs | ✅ | Video (empirical) |
| New failure modes per family | ✅ | Video |
| Cost attribution granularity | ✅ | Video |

---

## Os 4 Princípios

1. **EVAL SUITE FIRST** — não migre sem evals que peguem regressão (vibes → curated → customer queries; mesmas rubricas offline + outcomes)
2. **AVOID HYPER-OPTIMIZATION** — prompts otimizados para Opus falham no Sonnet; para GPT-4 falham no GPT-5. Prompting robusto, não family-specific
3. **HEDGE NEW FAILURE MODES** — cada família tem gotchas: GPT-5 (em dashes, sentence structures, tom acadêmico), DeepSeek (caracteres chineses), Opus (over-thinking). Teste gotchas ANTES de otimizar
4. **COST ATTRIBUTION** — telemetria fine-grained: que calls custam o quê, por model/feature/operation; alerta se feature passa de 50% do budget

## Fases de Migração (com auto-rollback)

| Fase | Tráfego | Duração | Sucesso | Rollback |
|---|---|---|---|---|
| canary | 5% | 24h | pass ≥ 0.95 | pass < 0.90 |
| partial | 25% | 48h | pass ≥ 0.97 | pass < 0.93 |
| majority | 75% | 72h | pass ≥ 0.98 | pass < 0.95 |
| full | 100% | — | pass ≥ 0.99 | pass < 0.97 |

## Exemplo

```text
Opus → Sonnet em produção: eval suite primeiro (vibes→curated→customer, mesmas rubricas)
Acha gotcha: prompt hiper-otimizado p/ Opus quebra no Sonnet → prompting robusto
Canary 5%/24h (pass 0.96) → partial → full; custo por feature atribuído no dashboard
```

## Unhobbling no Claude 5 (Batch 17f, #77)

Anthropic removeu ~80% do system prompt do Claude Code nos modelos 5
sem perda mensuravel: modelos novos interpretam intent, e instrucoes
defensivas antigas viram atrito (ate orientacoes conflitantes entre
si). Na migracao para Claude 5, audite CLAUDE.md/skills/system prompts
e remova o defensivo obsoleto em vez de empilhar mais regra. Fonte:
Tharik (Anthropic), "new rules of context engineering".

## Auditoria pre-Fable (Batch 17b, #59)

Skills e prompts escritos antes do Fable 5 costumam ser prescritivos
demais e DEGREDAM a qualidade no novo modelo (guia oficial Anthropic).
Na migracao para Claude 5, revise o inventario e remova instrucoes
antigas (steps fechados, double-checks manuais, continuacoes forcadas)
antes de culpar o modelo. Vale tambem para Astra 6 (OpenAI).

## Failure modes da serie nova (leva YouTube rodada 9)

Checklist ao migrar de serie: AI tells novos, formatacao ilegivel, tool-use que mudou de forma, custo/latencia por task (nao por token). Regra: nunca hiper-otimizar a ultima gota na serie antiga na vespera da migracao — congele e migre com eval suite verde.

## Migração vigente 2026-09-26 — Opus 5→5.5, Fable/Astra→Sol (captura semanal)

- **Opus 5→5.5**: eval suite primeiro; gotchas novos = safety redirect
  (cyber→modelo antigo, bio→verificação) e default effort medium (não high);
  fast mode só com extra usage. Ganho esperado ~40% custo/task sem mudar prompt.
- **Fable 5.1/Astra ($10/$50) → Sol ($2/$10) p/ volume**: migrar workers
  paralelos primeiro (canary 5%/24h), manter SOTA no architect; hedge =
  managed prose do 5 (piada) sumiu no 5.5 — remover workarounds de verbosidade
  na migração. Fontes: Maestros `XsRt-kwqtVA`, N. Herk `eF3yeJuifoQ`.

Files in this skill

  • SKILL.md4.3 KB
  • references/implementation.md8.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.