model-migration
Installation
SKILL.md
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.