create-squad
БесплатноБез исполняемых скриптовНе проверенDesign, create, update, and verify Vapi Squads and documented handoff tools through the public API. Use for choosing a single assistant versus a…
от VapiAI★ 71 звезда на GitHubОб этом скилле
Vapi Squad Creation
Use a Squad only when multiple focused assistants improve the design. Default to a payload or implementation plan unless the user explicitly requests live Vapi mutations.
Decide Whether to Use a Squad
Prefer one assistant when one focused prompt and one compatible tool set can handle the use case reliably. Use a Squad for genuine boundaries such as:
- distinct domains or personas;
- different tool or credential access;
- deliberate context isolation;
- separately maintained specialists.
Do not create one assistant per conversational step. Keep related steps in one member and make each handoff boundary earn its latency and operational cost.
Safety and Source Rules
- Verify squad, member, handoff, context, and version fields against the current public Squads documentation, Handoff tool guide, and OpenAPI schema.
- Never invent assistant IDs, names, tool IDs, destinations, versions, credentials, server URLs, or extracted variables.
- Prompt text does not create a handoff. Configure and attach a documented
handofftool. - Keep member order explicit: the first member starts the call.
- Prefer saved assistants, reusable tools, and a saved Squad for production. Use transient members or Squads only when the request is intentionally ephemeral or a prototype.
Persistent Squad Procedure
Determine the execution mode.
- Return JSON or a plan when the user asks for a draft or does not clearly authorize live writes.
- Perform live creates or updates only with explicit intent and an available
VAPI_API_KEY.
Define focused members.
- State each member's responsibility, tools, and handoff boundaries.
- Choose the entry member and place it first.
- Reuse existing assistants by resolving names through
GET /assistant; create missing assistants first with thecreate-assistantskill.
Create handoff relationships after destinations exist.
- Resolve every destination assistant before building a persistent handoff tool.
- Use
type: "assistant"plus a verifiedassistantIdfor saved cross-assistant destinations. - Use clear descriptions that state when the model should hand off and what should be collected first.
- Create reusable handoff tools through
POST /tool, then attach them to the source assistants with the configuration-preserving procedure in thecreate-toolskill. - For OpenAI models, current public guidance recommends one handoff tool per destination. For Anthropic models, one tool with multiple destinations is supported and recommended.
Configure public context controls only when needed.
- Use
contextEngineeringPlanon a handoff destination:all,lastNMessages,userAndAssistantMessages,previousAssistantMessages, ornonewhen supported by the current schema. - Use
variableExtractionPlan.schemaonly for specific structured values needed downstream. Do not invent values or claim extraction occurred before a real handoff. - Keep sensitive tool results out of downstream context when the use case requires isolation.
- Use
Create and verify the Squad.
- Build
membersfrom verified assistant IDs in explicit order. - Optionally set
assistantVersiononly to a version returned by the public assistant API when the user wants an immutable pin. Omit it to follow latest. - Before a production-affecting create or update, recap member order, handoffs, and target and obtain explicit confirmation unless the user's current instruction already unambiguously authorizes that exact mutation now.
- Send
POST /squadonly after explicit live-create intent. - Validate the returned Squad ID, complete member order, entry member, pins, and handoff attachments before reporting success.
- Build
Handle failures honestly.
- On a
400, correct a documented field placement or limit before at most one justified retry. - On
401or403, stop for authentication or permission issues. On404, report the missing assistant, tool, or Squad. On5xx, report the service failure. - If a sequence partially succeeds, list the IDs created so the user can review or clean them up. Do not continue creating dependent resources after a fatal error.
- On a
Persistent Squad Payload
Use verified IDs only:
{
"name": "Support Squad",
"members": [
{ "assistantId": "<verified-triage-assistant-id>" },
{ "assistantId": "<verified-billing-assistant-id>" },
{ "assistantId": "<verified-technical-assistant-id>" }
]
}
The first member is the entry assistant. Handoff tools belong on the relevant source assistants; Squad membership alone does not define every transition.
Handoff Payload
{
"type": "handoff",
"function": { "name": "handoff_to_billing" },
"destinations": [
{
"type": "assistant",
"assistantId": "<verified-billing-assistant-id>",
"description": "The caller needs billing, invoice, or payment
Установить create-squad в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл create-squad?
Design, create, update, and verify Vapi Squads and documented handoff tools through the public API. Use for choosing a single assistant versus a multi-assistant Squad, persistent or transient members, entry-member ordering, specialization boundaries, context engineering, variable extraction, model-specific handoff patterns, assistant-version pins, and safe Squad updates.
Как установить скилл create-squad?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-squad запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic