model-migration
БесплатноБез исполняемых скриптовНе проверенMove a Vapi assistant or squad from one model to another, for example GPT-4.1 to gpt-5.6-terra or gpt-5.6-luna, without losing the behavior and metrics the…
от VapiAI★ 71 звезда на GitHubОб этом скилле
Model migration
A model change is measured, not guessed: build a test set, measure the current setup on it, and measure the new model on the same set. Aim for a candidate that holds the team's metrics on its first run: the model card lists the prompt changes that the target model needs, and you apply the ones that fit this prompt while building the candidate. Any remaining fixes happen on copies, before any caller hears the new model.
Before starting, load the model card for this migration (see Model cards). A card describes how the target model behaves differently from the starting model and, for each pattern, the prompt shape that triggers it, the change to make, what not to do, and the scenarios that check it.
Safety rules
- Never edit the live assistant or squad. Every change goes to a copy. Moving the change to production is the user's decision, after the report.
- Copies must not send events to the org's production webhook. When an assistant or squad has no
serverof its own, its server messages go to the org-level server URL. If the copies live in the org that runs production, check that URL (the org settings, or ask the user). If it is a production webhook, give both copies a testserver.urlor turn theirserverMessagesoff. - Copies must not reach production systems. Copies take no calls (no phone number attached). On both copies, remove
serverand anything that reaches outside Vapi: a server URL, a phone number or SIP destination (includingtransferCalldestinations inside hooks), and custom storage. Keep hooks whose actions onlysaysomething or end the call, identical on both copies. Turn off custom-storage uploads (artifactPlanoptions that use custom storage) andobservabilityPlan, or point each at a test destination. Simulations mock every tool (seemigration-simulations). - Copies share saved tools with the live assistant. A copy keeps the same
model.toolIds, so editing one of those tools (PATCH /tool/{id}) changes production. Never edit a tool a live assistant uses. To change a tool's name, description or parameters, create a new tool from the fetched one (POST /tool), point only the copy at it, and record it incopies.json. - Keep working files out of the customer's repository. Create the working folder outside any git repository (for example
~/vapi-migration/<slug>/). If the user wants it inside a repo, add the folder to.gitignorefirst and confirm withgit check-ignore. - Running simulations uses credits and concurrency. State how many conversations a run will start and get the user's yes before each run.
- Prompt changes are wording only. Never add a workflow, step or rule the team's prompt doesn't already define. Where two rules disagree or a situation is uncovered, ask the owner; don't pick a side.
- Never print or store API keys, credential values or caller data, and never ask for a key in chat.
Inputs
- The assistant ID or squad ID. For a transient assistant or squad (sent per call through
assistant-requestor inline), ask the user to paste the full configuration JSON instead; the copies are created from it as stored assistants or squads. - The org's API key, read from the
VAPI_API_KEYenvironment variable. Never ask the user to paste it into the chat, and never print it. If it isn't set, ask the user to copy the private key for the org that owns the assistant from https://dashboard.vapi.ai/org/api-keys, runexport VAPI_API_KEY=<key>in their terminal, and restart the agent from that terminal. Then check the key can read the assistant or squad. - The new model. If the user hasn't chosen, see Choosing a model.
- The team's metrics and how they measure them, or time to define them (step 1).
Procedure
1. Define what success means
Ask which metrics the team tracks for this assistant and how production measures each one: deflection or containment, satisfaction scores, transfer, booking or payment rate, handle time, and any rule that must never break. Fill metrics.md in the working folder from Metrics template. Every comparison and the rollout report these first.
2. Map how the assistant is used
Run the migration-flow-map skill. It reads a sample of production calls and produces the flow tree, the tool catalog, production baselines for the metrics, the Critical and All scenario list, and questions for the owner.
If calls can't be read (zero data retention, compliance limits) or traffic is too thin, migration-flow-map builds the same files from the system prompt and tool definitions instead. There is no production baseline in that case.
3. Review the prompt and tools before testing
Without running anything, check the prompt and tools against Fixes: before you test and write review.md. Each finding names the line or tool and the risk:
- tool names in the p
Установить model-migration в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл model-migration?
Move a Vapi assistant or squad from one model to another, for example GPT-4.1 to gpt-5.6-terra or gpt-5.6-luna, without losing the behavior and metrics the team relies on. Reviews the prompt and tools for known migration risks, makes a baseline copy and a candidate copy (never edits the live one), tests both with the migration-simulations skill on the same scenarios, explains each difference using documented model tendencies, applies wording-only fixes, checks voice latency and cost, and plans a gradual rollout tracked on the team's own metrics. Use when the user wants to migrate, switch or upgrade an assistant's model, compare a new model with the current one, or prepare for a model retirement.
Как установить скилл model-migration?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл model-migration запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic