Vapi Prompt Builder 标志

Vapi Prompt Builder

组织
VapiAI
vapi-prompt-builder

Create, improve, or audit Vapi voice agent and Squad system prompts for production phone and web based voice agents. Use when the user wants help designing a Vapi assistant prompt, multi-assistant Squad prompt set, refining an existing prompt, creating prompt sections, building an intake or handoff workflow, improving tool-use instructions, adding guardrails, or optimizing voice-agent behavior for brevity, turn-taking, error handling, caller data collection, escalation, handoffs, and spoken formatting.

Add to TypingMind

概览

发布者VapiAI
代码仓库skills
技能名称vapi-prompt-builder
星标数
68
复刻数
8
附带文件
9
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 9 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 VapiAI 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Vapi Prompt Builder AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/VapiAI/skills/tree/main/plugins/vapi-voice-ai/skills/vapi-prompt-builder
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/VapiAI/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/vapi-voice-ai/skills/vapi-prompt-builder .claude/skills/vapi-prompt-builder
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Vapi Prompt Builder,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Vapi Prompt Builder。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Vapi Prompt Builder 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Vapi Prompt Builder

Core Workflow

Use this skill to produce production-ready Vapi voice agent system prompts. Optimize for spoken interaction, low latency, explicit turn-taking, tool reliability, safe escalation, and predictable call outcomes.

Start by classifying the request:

  • Create: Build a new Vapi system prompt from a business goal or agent concept.
  • Improve: Rewrite an existing prompt while preserving intended behavior.
  • Audit: Review an existing prompt and return findings, gaps, and recommended changes.

Then resolve deployment shape:

  • Single assistant: one Vapi assistant owns the call flow.
  • Squad: multiple specialized assistants hand off between each other.

If the request is ambiguous and the workflow may involve multiple specialized roles, routing, or handoffs, stop and ask: "Should this be designed as one Vapi assistant, or as a Vapi Squad with multiple assistants and handoffs?" Do not draft until this is resolved.

Read references/squad-prompting.md when the user mentions squads, Handoff Tools, handoffs between assistants or squads, silent handoffs, dynamic routing, router/triage assistants, specialist assistants, or a workflow that is too broad for one reliable prompt.

Before writing or preserving workflow details, run a capability-grounding pass. Verify that every claimed input, artifact, tool action, side effect, and example is possible through the actual call channel, runtime context, visible Vapi tools, or explicitly described backend behavior. Read references/capability-grounding.md when the prompt mentions files, uploads, attachments, documents, screenshots, browser/web actions, async jobs, integrations, or any action the phone caller cannot perform directly during the call.

Read references/voice-prompt-patterns.md when creating or substantially rewriting a prompt, or when the request involves voice style, examples, tool behavior, information collection, or call endings.

Run an identifier-hygiene pass before finalizing. Read references/identifier-hygiene.md when the prompt uses tool names, resource IDs, snake_case identifiers, placeholder names, or generic values such as the_tool_name.

Run a Vapi trust-boundary pass when the prompt, tools, or configuration mention authentication, caller identity, account IDs, permissions, secrets, secure values, verified values, static parameters, function.parameters, dynamic variables, variableExtractionPlan, tool aliases, handoff arguments, or sensitive tool responses. Read references/vapi-security-trust.md before recommending where those values belong.

Run a Vapi readiness pass before presenting an artifact as ready to build or configure. Read references/vapi-readiness.md when the output includes tools, structured outputs, dynamic variables, Squads, handoffs, pronunciation guidance, testing/evals, or configuration notes. Separate confirmed Vapi configuration from assumptions and missing deployment inputs.

Intake

Ask the fewest questions needed to make a useful first draft. Prefer a complete draft with clear assumptions over a long upfront questionnaire.

Always collect or infer:

  • Business or use case
  • Deployment shape: single assistant or Squad
  • Agent role and call objective
  • Caller type and likely intents
  • Success criteria
  • Required workflows
  • Handoff/routing boundaries when using a Squad
  • Tools or actions the agent can use
  • Tool schemas, structured outputs, and handoff destinations that are already known
  • Model provider when Handoff Tool configuration patterns depend on it
  • Which values are server-trusted, caller-spoken, tool-returned, LLM-derived, or security-sensitive
  • How each required input becomes available to the agent or backend
  • Human handoff or escalation rules
  • Information the agent may collect
  • Information the agent must not collect
  • Tone, persona, and brand constraints

Read references/intake-question-bank.md when the request is vague, high-risk, or missing several essentials.

If the user provides an existing prompt, inspect it before asking questions. Ask only about missing facts, contradictions, tool behavior, compliance constraints, or ambiguous handoff rules.

Prompt Sections

For a single assistant, generate or improve these sections unless the user asks for a narrower output:

  1. Identity and purpose
  2. Personality and speaking style
  3. Response guidelines
  4. Guardrails and safety behavior
  5. Context and dynamic variables
  6. Workflow and intent routing
  7. Tool-use rules
  8. Error handling and recovery
  9. Smart information collection
  10. Escalation, transfer, and call ending
  11. Few-shot examples

For a Squad, generate or improve:

  1. Squad purpose and member map
  2. Entry assistant behavior
  3. One focused system prompt per assistant
  4. Handoff decision rules
  5. Context handoff requirements
  6. Tool boundaries per assistant
  7. Shared guardrails
  8. Per-assistant examples, including handoff examples
  9. External test scenarios for routing and context preservation

For new prompts and substantial rewrites, include a compact Examples section inside the final Vapi system prompt unless the user explicitly asks to omit examples or there is a strong latency/token reason to keep the prompt minimal. Do not substitute external test scenarios for in-prompt examples.

Keep the final system prompt lean. Do not include tutorial prose, rationale, or markdown intended for humans unless the user requests it. Use section headers only if they improve maintainability.

Format the final prompt for fast model parsing, not as human-facing documentation:

  • Prefer compact bullets, numbered workflow steps, and short imperative rules over dense paragraphs.
  • Keep each rule to one idea; split multi-clause paragraphs into separate rules.
  • Use paragraphs only for brief identity/personality context, and keep them to one to three short sentences.
  • Do not confuse prompt formatting with spoken output: markdown is acceptable inside the system prompt, but instruct the agent not to speak markdown, bullets, or numbered lists to callers.
  • Before finalizing, compress any section that reads like explanatory prose into operational instructions.

Example Design

Design in-prompt examples as behavioral training data for the voice agent:

  • Include at least three examples when the prompt covers a complete workflow: happy path, edge case, and error recovery.
  • Cover each primary workflow when the agent has multiple high-value intents.
  • Show realistic caller turns, concise assistant responses, tool calls, and tool outcomes.
  • Include branching behavior for zero results, multiple results, invalid input, unclear speech, and tool failure when relevant.
  • Ground every example in actual channel, runtime, tool, or backend capabilities.
  • Use exact tool identifiers only in explicit Tool Call: lines or machine-facing configuration notes.
  • Keep examples short enough to justify their latency cost.
  • Use shape examples instead of repeating forbidden phrases, sensitive values, or unsupported artifacts.

Keep external test scenarios separate from the final prompt. Test scenarios are for the human/operator to validate the prompt; examples are instructions embedded in the prompt for the model to imitate.

Voice Optimization

Before returning the final prompt, run a voice-agent pass:

  • Keep caller-facing turns short, usually one or two sentences.
  • Ask one question at a time.
  • Avoid numbered lists, bullets, markdown, and visual formatting in agent responses.
  • Convert dates, phone numbers, currency, times, and URLs to spoken-friendly forms.
  • Replace tool IDs, resource slugs, snake_case identifiers, and placeholder names in prose with natural capability descriptions.
  • Add explicit rules for interruptions, silence, unclear input, and tool failures.
  • Distinguish light banter from hard off-topic requests.
  • Calibrate human-feel controls to the use case: all production agents need natural pacing, repair, and warmth; only add disfluency, banter, or personal rapport when they fit the persona and risk profile.
  • Remove channel-impossible behaviors unless a tool or backend contract makes them real.
  • Prefer deterministic Vapi configuration over prompt instructions when reliability or security matters.

Tool and Configuration Notes

When tools are involved, review both prompt instructions and tool configuration. Flag items that should be configured outside the system prompt:

  • Tool descriptions should say when to call, when not to call, and required parameter formats.
  • Prompt prose should describe tools by capability. Exact tool names belong only in tool-call examples, schemas, configuration notes, or Query Tool instructions where Vapi needs the system prompt to name the search tool.
  • Do not invent deployable tool schemas, structured output schemas, enum values, server URLs, or handoff destinations. Ask for them or mark them as configuration needed.
  • Transfer and end-call tools need explicit descriptions.
  • Slow tools should use request-start messages to fill dead air.
  • Pronunciation issues should use pronunciation dictionaries when available.
  • Values that must be secure, verified, or impossible for the LLM to fake should use Vapi's server-side/static-parameter patterns, not prompt text or LLM-filled schemas.
  • Tool responses should be short, structured, and limited to fields the model needs.

Output Modes

For a new prompt, return:

  • Brief assumptions, if any
  • Final Vapi system prompt, or Squad prompt set when using a Squad
  • Suggested Vapi configuration notes, if relevant
  • Configuration needed or blocking questions, if deployment-critical details are missing
  • External test scenarios, separate from the prompt

For an improved prompt, return:

  • Final revised prompt, or revised Squad prompt set when using a Squad
  • Important changes made
  • Remaining questions or risks
  • Configuration needed or blocking questions, if deployment-critical details are missing
  • External test scenarios, separate from the prompt

For an audit, return:

  • Findings ordered by severity
  • Missing or weak prompt sections
  • Vapi configuration concerns
  • Concrete rewrite recommendations

Read references/review-checklist.md before finalizing an audit or substantial rewrite.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Vapi Prompt Builder AI 技能有什么作用?

Create, improve, or audit Vapi voice agent and Squad system prompts for production phone and web based voice agents. Use when the user wants help designing a Vapi assistant prompt, multi-assistant Squad prompt set, refining an existing prompt, creating prompt sections, building an intake or handoff workflow, improving tool-use instructions, adding guardrails, or optimizing voice-agent behavior for brevity, turn-taking, error handling, caller data collection, escalation, handoffs, and spoken formatting.

为什么在 TypingMind 中使用 Vapi Prompt Builder?

因为您只需安装一次,就能搭配任何模型使用。Vapi Prompt Builder 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Vapi Prompt Builder?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/VapiAI/skills/tree/main/plugins/vapi-voice-ai/skills/vapi-prompt-builder。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Vapi Prompt Builder?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Vapi Prompt Builder 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Vapi Prompt Builder 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Vapi Prompt Builder AI 技能免费吗?

是的。VapiAI 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇