{"id":117798,"plugin_id":"plugin_asdk_app_6b05b38f87c88191940bdb3f43f5dff3","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-26T00:16:47.782Z","digest":"c0abaaed1b0004a37bbdfc7f51ec455fdbc8db9d2f0a9dcb56b86ab8e22c5cc2","against":null,"payload":{"description":"Build or extend Voiceflow agents and playbooks, choose the right architecture, and connect routing and tools. Use after the user describes what they want to build.","included_files":[{"relative_path":"LICENSE","size_in_bytes":1072},{"relative_path":"references/cli-commands.md","size_in_bytes":17918},{"relative_path":"references/documentation.md","size_in_bytes":8179},{"relative_path":"references/operations.md","size_in_bytes":7655},{"relative_path":"references/request-shapes.md","size_in_bytes":10461}],"name":"voiceflow-build","skill_md_contents":"---\nname: voiceflow-build\ndescription: Build or extend Voiceflow agents and playbooks, choose the right architecture, and connect routing and tools. Use after the user describes what they want to build.\nlicense: MIT\n---\n\n# Build an agent\n\nFor questions about architecture, agent capabilities, routing behavior, or a requested feature\nthat this skill does not answer, follow the\n[docs MCP workflow](references/documentation.md) before answering\nor implementing. For every new Voiceflow troubleshooting issue, consult it even\nwhen this skill suggests a fix. Leave `why` out when it is optional; otherwise\nsend only the package/skill/stage tag described there. Reuse guidance for the\nsame issue; consult it whenever unsure.\n\nRead the [operation contract](references/operations.md). Resolve the\nuser's intended project and environment from context; clarify only missing\nchoices. For a project with a live version, first propose a working environment,\nas the \"Where to make a change\" section of the `voiceflow-environments` skill\ndescribes. A build request authorizes its necessary draft work, not publishing.\n\nKeep knowledge-only Q&A and lightweight conversational collection on the main\nagent. Use a playbook for a distinct multi-step job needing its own tools or\nprocedures; a workflow for deterministic branching or ordered actions. A series\nof questions alone does not require a workflow. Preserve valid details already\nsupplied, including in the request that triggers routing, and ask only for what\nis missing. Avoid creating a playbook solely to wrap the KB.\n\nSeparate three instruction layers: global identity/style/guardrails, main-agent\nrouting, and playbook job instructions. Playbooks inherit the global prompt;\nthey do not see each other's private instructions.\n\nBefore building for a new business, read the actual global `prompt` and main-agent\n`instructions`, not just route metadata. CLI `agent get` needs both\n`--include-prompt --include-instructions`; MCP `get` needs `includePrompt: true`\nand `includeInstructions: true`. See [identity and greeting fields](references/request-shapes.md#identity-and-greeting).\nReplace sample identity and starter instructions in those fields, preserving\nunrelated settings. A business name in a playbook does not override the global\nidentity. For an existing agent, retain its identity unless the task changes it.\n\nWrite the job's completion language around what its tools actually do. Collecting\ndetails or setting conversation variables is not submitting a request. A pure\nlookup or calculation does not book, reserve, send, or arrange human follow-up.\nWithout an action that performs that effect, summarize what was collected and\nexplain the next available step without promising it will happen automatically.\n\nBuild in dependency order: agent context, playbook, required resources, tool\nattachments, then instructions referencing those attached tools. Every attachment\nand routing description must say both WHAT it does and WHEN to use it.\n\nDefine who gives the final answer. A playbook that answers should stay active\nand wait for the next visitor message, returning to main only when a new message\nneeds another capability. Do not unconditionally return immediately after an\nanswer: main can repeat it or route the same request back. If main owns the\nanswer, the playbook should hand off its result without also answering.\n\nAdd, change or remove one workflow with `vf_agent_add_workflow`,\n`vf_agent_update_workflow` or `vf_agent_remove_workflow`. Each changes one\nentry and keeps every other. A playbooks or workflows list sent with\n`vf_agent_update` replaces the whole list. Before you send one, read the\ncomplete existing routing registry and keep its entries. Do not empty a\nregistry during a migration when the customer still needs those routes.\n\nA workflow runs when it is in the main agent's `workflows` list, reached from\nanother workflow, or set as the Initialization workflow. The main agent and\nevery playbook can call a workflow in that list. A workflow is never a tool: do\nnot create a tool of type `workflow`. The `voiceflow-workflows` skill explains\nhow to add a workflow to the main agent. Adding one that already runs another\nway changes what the main agent can do, so add it only when the main agent or a\nplaybook should call it.\n\nThe Initialization workflow runs at launch, before the user's first turn: use it\nto load data, greet with fixed text, or copy launch values into variables. Read\nwhich one is set with `vf_agent_get_initialization_workflow`. Build the\nworkflow, then set it with `vf_agent_set_initialization_workflow`. Only one is\nset: a new one replaces it, and `null` clears it. The UI step is the\nInitialization section of the agent's Behaviour settings. Values the widget or API pass at launch arrive in the `last_event`\nvariable, not as variables of their own. To use one, add a Code step to that\nworkflow that copies it from `last_event.payload` into a variable. A project\nwith no Initialization setting refuses the set: then give the user the Code\nstep's code and tell them where it goes. On every path after which the agent\nshould take over, leave the last port unlinked: an End step there ends the\nwhole conversation before the agent says a word. Keep End on a path that should\nclose the conversation, such as out of hours, and a Handoff on one that goes to\na person.\n\nThe main agent takes a turn at launch, after the Initialization workflow, and\nagain each time a workflow returns to it. Put the greeting in one place: fixed\ntext in the Initialization workflow, or a main-agent rule such as \"Greet only on\nthe first turn. After a workflow returns, carry on without greeting.\" Without\none, the agent greets at launch and again after every workflow.\n\nUse returned IDs. Confirm write results, unresolved references, tool descriptions,\nand routing before reporting the draft ready. Do not run tools that contact\nexternal services merely to inspect configuration. Check a new or changed\nfunction on test cases, as the `voiceflow-functions` skill describes,\nbefore offering a conversation test.\n\nWhen runtime testing is authorized, compile the draft and check a fresh greeting\nand the job's completion response. Ask whether the requested action actually\nhappened; verify the answer against the executed tool's effect. See the\n`voiceflow-evaluations` skill. Report configuration-only checks\nas such when runtime testing is outside scope.\n\nRead the `voiceflow-prompting` skill for instructions and the `voiceflow-wiring`\nskill before attaching functions/API tools.\nSource: [Playbooks](https://www.voiceflow.com/docs/documentation/build/playbooks).\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}