Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

migration-flow-map

БесплатноБез исполняемых скриптовНе проверен

Map how a Vapi assistant or squad is used in production before changing its model. Reads a sample of its real calls through the Vapi API, builds a…

VapiAIот VapiAI★ 71 звезда на GitHub

Об этом скилле

Migration flow map

Before testing a new model, find out what the assistant really does: which reasons people call for, which paths those calls take, how they end, which tools answer what, and how the team's metrics look today. The result is the input to migration-simulations, so the tests reflect real traffic instead of guesses.

It always uses both the system prompt and production calls. When calls can't be read, it uses the prompt alone and produces the same files; each step says what changes.

This skill is read-only. It never creates, updates or deletes anything in Vapi.

Safety and privacy rules

  • Call data is personal data. Create the working folder outside any git repository (~/vapi-migration/<slug>/ by default). If the user wants it inside a repository, add it to .gitignore first and confirm with git check-ignore. Raw API responses and configuration snapshots go in its raw/ folder, which is deleted when the migration is done. Every other output holds no names, phone numbers, emails, addresses, account numbers or dates of birth: in text taken from transcripts or tool results, mask digit runs of 3 or more (spaced or spelled-out digits count too, such as "5 8 6 9" or "five eight six") and use synthetic values of the same format.
  • Never paste transcripts into chat, tickets or shared documents. Quote at most a short, masked phrase when a finding needs evidence.
  • If the account has compliance constraints (HIPAA, PCI or similar), ask the user whether call content may be read, and by which tools, before pulling transcripts.
  • Never print or store API keys, credential values, server URLs or webhook secrets in any output, and never ask for a key in chat.
  • The live prompt and the team's rules are the answer key. What the real assistant did on a call is evidence of the caller's situation, not of what it should have done.

Inputs

  • The assistant ID or squad ID. For a transient assistant or squad (sent per call by the team's server through assistant-request, or inline when the call is created), there is no ID to fetch: ask the user to paste the full configuration JSON or give a file path. A transient configuration is mapped from the configuration alone (step 2).
  • The org's API key, read from the VAPI_API_KEY environment 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, run export 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 team's metrics, or time with the user to define them (step 1).
  • The sample size: how many calls to read. This is the one cost setting. See Reading call data.

Procedure

  1. Agree the metrics.

    • Ask the user which metrics they track for this assistant and exactly how production measures each one: deflection or containment, satisfaction scores, transfer, booking or payment rate, handle time, and any rule that must never break.
    • If metrics.md already exists in the working folder (the model-migration skill writes it in its step 1), confirm it with the user instead of asking again. Otherwise fill it from Metrics template. Ask; don't guess. A metric the team doesn't track doesn't belong in the file.
    • Ask whether post-call analysis or structured outputs already capture any of them (analysis, artifact.structuredOutputs on each call).
  2. Snapshot the configuration.

    • Fetch the assistant (GET /assistant/{id}), or the squad (GET /squad/{id}) and every member assistant, including the squad's membersOverrides (hooks, voice and transcriber settings) and each member's handoff tools (assistantOverrides). For a transient configuration, use the one the user provided. Resolve every tool (GET /tool/{id}).
    • Save the responses in raw/config_snapshot/, with server URLs, headers and credential values replaced by <redacted>. Record the prompt, the first message, every tool's function name and description, handoff destinations, and every {{variable}} the prompt uses.
    • Check whether calls can be read. Skip steps 4 and 6 (pulling and reading calls) when any of these holds, and tell the user which one:
      • The assistant or squad is transient. Its calls carry no assistant or squad ID, so they can't be reliably matched to the configuration the user gave.
      • The org has zero data retention, or the calls are stored without transcripts or messages (check one recent call).
      • The user says call content may not be read (step 1 and the compliance rule above).
      • The key can't list the org's calls.
      • Fewer than about 50 calls ended in a conversation in the window.
  3. Draft the category list and the prompt's branches.

    • Read the whole system prompt (every member's, for a squad, and the squa
Полный SKILL.md на GitHub

Установить migration-flow-map в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/call-data.mdreferences/metrics-template.mdreferences/outputs.mdreferences/reading.mdreferences/scenario-plan.md

FAQ

Что делает скилл migration-flow-map?

Map how a Vapi assistant or squad is used in production before changing its model. Reads a sample of its real calls through the Vapi API, builds a traffic-weighted flow tree (intent, path, ending), a tool catalog of every tool and the answers it returns, production baselines for the team's own metrics (deflection, containment, transfer or booking rate), and a scenario list tagged Critical or All for the migration-simulations skill. When call content can't be read (zero data retention, compliance limits, no access) or traffic is too thin, it builds the same files from the system prompt and tool definitions instead. Use before a model migration (for example GPT-4.1 to gpt-5.6-terra or gpt-5.6-luna), or when the user wants to know what callers actually do with an assistant. Read-only; never changes the assistant.

Как установить скилл migration-flow-map?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл migration-flow-map запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить migration-flow-map с