본문으로 건너뛰기
cccskills
무료GitHub에 공개

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.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md7.1 KB
  • references/api-examples.md2.0 KB
  • references/squad-configuration.md2.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 handoff tool.
  • 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

  1. 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.
  2. 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 the create-assistant skill.
  3. Create handoff relationships after destinations exist.

    • Resolve every destination assistant before building a persistent handoff tool.
    • Use type: "assistant" plus a verified assistantId for 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 the create-tool skill.
    • For OpenAI models, current public guidance recommends one handoff tool per destination. For Anthropic models, one tool with multiple destinations is supported and recommended.
  4. Configure public context controls only when needed.

    • Use contextEngineeringPlan on a handoff destination: all, lastNMessages, userAndAssistantMessages, previousAssistantMessages, or none when supported by the current schema.
    • Use variableExtractionPlan.schema only 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.
  5. Create and verify the Squad.

    • Build members from verified assistant IDs in explicit order.
    • Optionally set assistantVersion only 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 /squad only after explicit live-create intent.
    • Validate the returned Squad ID, complete member order, entry member, pins, and handoff attachments before reporting success.
  6. Handle failures honestly.

    • On a 400, correct a documented field placement or limit before at most one justified retry.
    • On 401 or 403, stop for authentication or permission issues. On 404, report the missing assistant, tool, or Squad. On 5xx, 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.

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 help.",
      "contextEngineeringPlan": {
        "type": "userAndAssistantMessages"
      },
      "variableExtractionPlan": {
        "schema": {
          "type": "object",
          "properties": {
            "accountNumber": { "type": "string" }
          }
        }
      }
    }
  ]
}

Placeholders are acceptable in templates, never in live requests. Read Squad Configuration for transient Squads, context transfer, version pins, and safe Squad updates. Read Squad API Examples when the user requests TypeScript, Python, or cURL implementation code.

Update Safely

Send only the changed top-level fields to PATCH /squad/{id}. Omit members for a name-only or other non-member update. When the requested change affects member order, membership, version pins, assistant overrides, or handoff destinations:

  1. GET /squad/{id}.
  2. Copy the complete ordered members array and current membersOverrides when it must also change.
  3. Apply only the requested change, preserving each member's assistantId or inline assistant, assistantVersion, assistantOverrides, and any documented destination fields already present.
  4. Patch the complete merged members array plus only the other changed top-level fields.
  5. Re-fetch and verify order, entry member, pins, overrides, and handoffs.

Public Sources

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Design, create, or validate saved and transient Vapi voice assistants. Use for new phone or web agents, production system prompts and first messages, saved-versus-transient architecture, model/voice/transcriber selection, multilingual compatibility, existing tool attachment, native call-control tools, assistant hooks, and Create Assistant API validation errors.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VapiAI/skills672026년 10월 15일 업데이트

Create one-off outbound phone calls, web calls, scheduled calls, and simple batch calls using the Vapi API. Use when making or testing individual calls or initiating a bounded /call request programmatically. Use create-campaign for a persistent multi-contact Campaign with lifecycle, reporting, cancellation, duplication, or campaign webhooks.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VapiAI/skills672026년 10월 15일 업데이트

Create, schedule, duplicate, inspect, cancel, archive, and troubleshoot Vapi outbound Campaigns. Use for persistent multi-contact calling, CSV or API contact personalization, campaign concurrency, campaign webhooks, pre-dial eligibility, contact outcomes, or rerunning an audience. Do not use for a single call or a simple one-off /call batch.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VapiAI/skills672026년 10월 15일 업데이트

Plan, provision, import, route, update, and verify Vapi phone numbers through the public API. Use for Vapi-hosted US PSTN numbers, explicitly requested SIP addresses, Twilio/Vonage/Telnyx or BYO carrier numbers, secure credential handling, assistant or squad routing, area-code requests, outbound limitations, and phone-provider troubleshooting.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VapiAI/skills672026년 10월 15일 업데이트

Design, create, inspect, update, attach, detach, preview, execute, and verify reusable Vapi Structured Outputs through public API or Server SDK workflows. Use for post-call extraction, typed call artifacts, AI-versus-regex extraction, JSON Schema design, backfilling existing calls, or retrieving structured results programmatically.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VapiAI/skills672026년 10월 15일 업데이트

Select, define, create, inspect, update, attach, detach, and verify reusable Vapi tools through the public API. Use for native call-control tools, supported provider integrations, API Request tools, custom function tools, MCP tools, tool messages, credentials, or configuration-preserving assistant attachment changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

VapiAI/skills672026년 10월 15일 업데이트

VapiAI의 스킬 모두 보기

이 스킬의 문제 신고