/elevenlabs:architect-migrate-from-competitorfrom ElevenLabs
Migrates voice agents from Retell AI, Vapi, or Bland to ElevenLabs Conversational AI. Handles export identification, credential mapping, and construct translation.
Ships in ElevenLabs. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The user has an agent built on Retell, Vapi, or Bland and wants it running on ElevenLabs. This skill owns the parts of that job specific to importing: identifying the export, handling credentials inside it, mapping foreign constructs onto ElevenLabs ones, naming what genuinely has no equivalent, and sequencing the work.
It does not re-teach ElevenLabs authoring. This plugin has ~30 skills that own that, and they are more detailed and better maintained than a summary here would be. Your job is to translate and to route.
What counts as finished: an agent that demonstrably runs. Not an optimal one — a conversion that starts, resolves its variables, calls a tool successfully and reaches an end. Aim to get there in one pass and one round of fixes, which means the checking in step 5 is part of the work rather than something offered afterwards. The finish line is a run, never a re-read of your own config, and "I converted everything" is not a status report.
Assume an authenticated EL workspace with $API_KEY set, as every skill in this plugin does.
Route each step rather than reimplementing it. Most migrations touch six or seven of these; read one when you reach its step, not up front.
| Step | Skill |
|---|---|
| Read the target agent's current state | architect-explore-agent |
| Choose the model | architect-llm-selection |
| Port prompt text and first message | architect-edit-string-fields |
| Build the workflow graph, nodes, edges | architect-edit-workflows |
| Author step-by-step logic as procedures | architect-structured-procedures, architect-manage-procedures |
| Recreate tools | architect-create-webhook-tool, architect-create-client-tool, code-tools |
| Fix a tool that misbehaves | architect-edit-existing-tool, architect-troubleshoot-tool-errors |
| Post-call fields and evaluation criteria | architect-post-call-data |
| Remaining config, turn-taking, latency | architect-update-config-safely, architect-turn-taking-latency |
| Auth, guardrails, retention | architect-secure-for-production |
| Stage and ramp the rollout | architect-branches-versions-merge, architect-schedule-launch |
| Mock tools before any test run | architect-mock-all-tools |
| The smoke run that proves it works (step 5) | architect-create-simulation-test |
| Parity tests, CI | -llm-test, -tool-test, architect-get-agent-ci-green |
| Score the agent — only once asked, see step 6 | agent-review, then agent-simplification |
| Check it once real calls exist (step 6) | architect-review-live-calls |
Do not create the agent through architect-generate-agent. Its own documentation warns that its
flow regenerates the prompt instead of installing the one you just converted. Create the shell
directly with POST /v1/convai/agents/create, then install the converted content.
Reading a sibling skill is not the same as routing to it, and the difference costs you at write time. The temptation is to skim the two or three you think you need and hand-roll the rest, which is faster right up to the first rejected payload — a real migration reimplemented tool creation, post-call data, model selection and all testing inline, and hit its schema surprises while writing to the live workspace rather than while reading. Each of these skills owns field-level detail this one deliberately does not restate. Before you report, account to yourself for which skill covered each step: a step you cannot attribute is a step you improvised. That accounting is for you, not for the report — a customer has no use for a list of internal skill names.
Dispatch on a field that is always present, not on one that merely often is:
| Signature | Platform | Read next |
|---|---|---|
response_engine.type | Retell | reference/retell.md |
squadId, members[], transportConfigurations, model.toolIds | Vapi | reference/vapi.md |
pathway, nodes[].type with a Default node, or a Persona payload | Bland | reference/bland.md |
Ask the user which platform it came from if the blob is ambiguous. Never guess from prose in the prompt text.
Cheap, mechanical, and it routinely finds live bugs in the source agent. A migration is the first time anyone reads the whole graph at once, so do this before deciding what to build:
dv.account_ref inside a JavaScript node is invisible to a {{...}} search, so an export with a
dozen code nodes will under-report badly on the exact check that matters most. Rank what you find by
how many tools bind it: a variable bound on every tool that nothing supplies fails every tool call at
conversation start.This is the part that decides whether a migration feels like arriving somewhere or like being handed a bill. Run every check above at full depth — the accuracy is the point, and nothing else in this skill finds these. Then write the findings to a file, and bring two things back to the user:
Everything else goes in the file with a one-line pointer. Not because it does not matter — it is the most valuable thing in this step — but because of when it arrives. A defect ledger delivered before anything runs reads as "here is how much work you have bought," and the findings are almost all pre-existing bugs in an agent that has been in production for months. Lead with a wall of red and a first-time user concludes the platform is the problem, closes the tab, and stays where they are.
So do not open with a count of defects. When nothing blocks the conversion, say that first — it is usually true and it is the single most useful sentence you can write.
Separate the three registers, in the file and in anything you say aloud. They read completely differently and mixing them is what makes a short list feel long:
reference/<platform>.md.Never silently fix a defect and never silently carry one across. Logging it in the file is not silence; it is where the mapping log and gap list already live, from step 4.
Everything above reads the export. Some of the worst defects are not in it — a prompt asserts a fact, the backend it calls disagrees, and no amount of reading the JSON can tell you. Say a prompt instructs the agent to offer same-day slots up to 5 p.m. while the scheduling endpoint refuses anything after 4:30. Both halves look right on their own, and the agent offers a slot its own tool then rejects.
So where the export hands you an endpoint, verify the facts the prompt states about it. This means calling a third party's production API, so it is fenced:
What you learn joins the findings. A prompt fact the backend contradicts is a caller-visible bug in the source agent, and it is the kind nobody has reported, because it only shows up on the calls that hit it.
Exports embed live credentials: bearer tokens, Basic auth headers, API keys in tool headers, and sometimes a secret inside a webhook URL's query string. Handle these first, because every later step copies fields around.
Scan every tool for header values, URLs with embedded userinfo or query secrets, and any field
whose name contains auth, token, key, secret, or bearer.
For each real credential found, create an ElevenLabs secret and reference it — never paste the literal value into a tool definition:
POST /v1/convai/secrets
{"type": "new", "name": "billing_api_token", "value": "<the value from the export>"}
The response carries a secret_id. Reference it in the tool's request_headers as
{"secret_id": "<that id>"}. Rotation is PATCH /v1/convai/secrets/{secret_id} with a body of
{"type": "update", "name": ..., "value": ...} — note the id is in the path, not the collection
endpoint you created against.
Secrets are workspace-scoped, so check what else uses one before you touch it.
GET /v1/convai/secrets/{secret_id}/dependencies/{resource_type} lists the resources depending on
a secret. Rotating or deleting a secret that other agents reference breaks them, and a migration is
exactly the context where someone tidies up a credential that looked unused.
Tell the user which credentials you found and that they are now live in a third system, so they can decide whether to rotate at the origin. A credential sitting in an export file has usually been shared more widely than its owner realises.
A value that is already a {{template}} reference is not a credential — do not resolve it to a
literal, which is how an agent ends up authenticating as the wrong principal for the rest of a call.
But do not carry the template across as a string either. ElevenLabs substitutes nothing in a
header string — a header given as text is sent exactly as written, so "Basic {{vault_token}}"
transmits those literal characters and the request is simply unauthenticated. It is a credential
reference that does nothing, and it fails on every call rather than visibly at build time. Use the
typed forms:
{"variable_name": "vault_token"}{"secret_id": "<id>"}{"env_var_label": "<label>"}A locator supplies the whole header value, so it cannot be composed with a literal prefix. That
sounds like a problem for Basic <token> and is not: put the scheme word inside the secret.
Create the secret with value Basic <token> and reference it with {"secret_id": ...}. The header
is then complete on its own, and the credential never appears in the agent config. If you find
yourself wanting "Basic {{vault_token}}", that is the sign to make a secret holding the whole
header value.
Watch for one variable that plays two roles. A single name is often both a static seed credential used by early calls and a per-user token that a later tool overwrites mid-call. They need different treatment and it is easy to see only one of them:
The test is mechanical: does any tool write that variable during the call? Look for a response assignment on any tool whose target is the variable name — not just on the tool you are holding, since the tool that issues a token is rarely the tool that uses it. Then:
{"variable_name": ...} locator would leave a live credential sitting in agent config in
plaintext. Make a secret holding the complete header value and reference it with
{"secret_id": ...}.{"variable_name": ...}. A secret cannot change mid-call,
and the locator leaks nothing because the value only ever exists at runtime.Because the locator supplies the whole header, a swapped variable has to hold the whole header value too. If the endpoint issuing that token returns a bare token, the assignment writing it cannot add the scheme word — so either have that endpoint return the complete value, or confirm the receiving API accepts a bare token. That is a short, concrete question for the customer, and it is worth asking before you build rather than after the first unauthenticated call.
Handling only the swap leaves a placeholder in the agent's variable defaults, which invites someone to paste a live credential into agent config in plaintext. Say explicitly which of the two you have done.
Do not write the raw export, or any redacted copy containing real values, into a repo or a log.
One decision to state and one to ask. What gets shipped has a sensible default and should not be put to the user at all; what shape it takes is worth their judgement, and this is the moment for it — after the audit, before anything is built.
The rebuild ships. A faithful port gets built quietly alongside it as an oracle. State that in one line and move on. Do not open someone's migration by asking them to choose a migration philosophy — they came to get their agent working, and the trade only means something to a person who already knows what fidelity costs.
agent-simplification wants before it will
touch anything. One line in the report's file list is the whole of its visibility.Two things change this, and both come from the user rather than from your reading of the export. If they ask how they can tell the new agent matches, the port stops being silent — that is its purpose and it is already built. If they say plainly that they are done with the source platform, skip it.
Findings are simply fixed in the rebuild and reproduced in the port. There is no per-finding question to ask; the report says which ones you fixed.
This is the one decision worth putting to the user before you build, because it is the one they can actually judge — they know their own call flow.
Four options, in increasing order of cost. Recommend one — with the reason, in a sentence they can disagree with — rather than presenting a menu and waiting:
Do not mirror the source's topology out of loyalty. Competitor editors encourage many small nodes, and every node you carry over multiplies the configuration surface that can go wrong. Say what the shape buys in terms of their agent — "your three queue components run the same algorithm, so they become one paragraph and three procedures" — not in terms of node counts, which mean nothing to them. Every real reduction comes from that kind of semantic merge; a mechanical conversion is roughly node-count-neutral, which is exactly why the port is not the thing that ships.
Discovering the API's shape rules by being rejected by it is slow, and it burns the patience of whoever is watching — a customer on a call, or someone who just uploaded their own export and is waiting. It is avoidable: nearly every rejection below is a known shape rule, and the rest can be learned somewhere harmless.
Three habits, in order of how much they save:
reference/expressions.md, and only then start writing. A shape mistake made once in a
local draft is one fix; the same mistake discovered on call forty is forty.| Rejection | What it actually means |
|---|---|
Input should be a valid dictionary or object to extract fields from | An expression was passed as a string. Conditions are structured objects — see reference/expressions.md. |
Input should be a valid dictionary | A path_params_schema was passed as an array. It is an object keyed by parameter name. |
Can only set one of: description, dynamic_variable, is_system_provided, constant_value, or is_omitted | A property declares two or more value sources. Exactly one. |
Must set one of: description, dynamic_variable, ... | A property declares none. Most often an array's items schema, which needs its own source. |
Invalid URL format | A {{...}} source interpolation survived in a tool URL. Static host, single-brace path placeholder, path_params_schema. |
Duplicate edge found between X and Y | An edge already exists for that node pair. Edges are keyed on the unordered pair, so the reverse transition becomes that edge's backward_condition. |
Input should be 'generate_immediately', 'wait_for_user' or 'auto' | entry_behavior got something outside its enum. |
Input should be 'auto', 'force' or 'off' | pre_tool_speech was given filler text. It is an enum, and it cannot carry a line — use forced_tool_name on an override_agent node instead. |
And one that never rejects at all, so no message will tell you: expression: {} is accepted and
silently becomes boolean_literal false, so the edge never fires.
And two on the test payloads, which is where people are still guessing after everything else has
gone in clean: success_conditions is a list of strings, and simulation_scenario is a plain string —
not the nested simulated_user_config object its name suggests. Both reject, and both only bite at
step 5, so they read as a broken smoke run rather than as two schema rules.
If something does go wrong in front of the customer, say what you are checking rather than narrating surprise. "That field takes an object, fixing" is fine. A string of "oh, that didn't work" is what makes a routine schema rule look like a broken migration.
Read reference/traps.md before you author anything here, and reference/expressions.md before the
first condition. They are short and they are the failure list for exactly this step: every item in
them is a thing that is accepted by the API and wrong at runtime, so nothing later in this skill will
catch it for you. Read them now rather than after a rejection, because these do not reject.
For the payload shapes themselves, read ../../reference/ — not a sample config you found in the
working repo. A complete agent and a complete webhook tool live there, every field populated. The
sample you would otherwise grep for may be stale, may be someone's scratch file, and outside
ElevenLabs does not exist at all, which is how a skill passes internally and fails in the field.
Most of the order here is forced by what references what. Getting it wrong does not produce a clear error; it produces a graph with references to things that do not exist yet.
architect-generate-agent (see above).tool node references a tool by
id, not by name, and so does additional_tool_ids on an override_agent node. You cannot build
any node that calls a tool until its id exists.architect-manage-procedures owns.
Passing them in the agent-create payload returns 200 and silently drops them.Key the id map by something that is genuinely unique, which is neither the name nor the id alone. Exports break both keys, and each failure is silent:
So key on the definition: the source id together with the fields that decide where a call lands, url and method at minimum. Two entries are the same tool only when those agree. When they do not, create two ElevenLabs tools and record in the mapping log why one source tool became two — that split is exactly the kind of thing a reader will otherwise assume was a mistake.
Two local files. They are the difference between output someone can audit and output they have to take on trust, and they cost almost nothing because you are making each of these decisions anyway:
Write both to a scratch directory, never into a repo, and never let either hold a credential value or a verbatim copy of the export.
Run a mechanical pass over what you actually emitted. Re-derive the things that are cheap to re-derive: every edge's endpoints exist, every tool id referenced was really created, every node is reachable, every variable a tool binds is assigned somewhere.
This is not ceremony. On one real migration that pass caught a bug in the converter its own author had just written: where a node pair carried an edge in only one direction, the edge was emitted reversed and unconditional, silently orphaning five nodes and one whole lookup path. Re-reading the code would not have found it, and every validator in the chain accepted the payload. Report the check's result alongside the payload; a clean result you can point at is worth more than an assurance.
Do not carry the source model across by name, and do not use any static table of compliant models.
GET /v1/convai/llm/list returns the models available to that workspace, filtered by the
deployment's data residency and the workspace's compliance entitlements. Call it, then hand the
choice to architect-llm-selection, which owns the region, HIPAA/PCI/ZRM and latency tradeoffs.
This is a step, not a formality at the end, and it is the difference between a migration that looks
finished and one that works. Every failure mode in reference/traps.md is silent: nothing rejects your
payload, the agent exists, the graph renders, and it is broken on the first real call. A migration
reported as complete without this has not been checked — it has been hoped about.
The bar for "working" is five things, and all of them are observable:
Nothing there is about quality. A first migration should be judged on whether it runs at all; tuning comes after, and confusing the two is how a broken agent gets shipped with a confident summary.
Tool mocking defaults to off. A simulation with default settings calls the customer's real endpoints — so on the agent you just migrated, a smoke test books the appointment, charges the card, and mutates the cart, for real. Nothing warns you.
So run it in two passes:
missing_dynamic_variables error naming it, which is exactly the check that is
impossible to pass by reading.Mocking everything is not the same as defining mocks, and the difference will waste your first run.
When no mock matches a call the default is to raise, not to fall through to the real tool. That default
is the right one — an unmatched call is visible instead of quietly hitting production — but it means
"mock all" with no mock bodies makes every tool call fail, and you learn nothing about the graph. Give
each tool one mock with no parameter conditions, which makes it always match, and a mock_result
holding the minimal successful response shape that tool's consumers read. Where a response assignment
pulls a field out, the mock has to contain that field or the variable silently stays unset and you are
debugging the mock instead of the migration. A mock can also be marked as an error deliberately, which
is how you exercise a failure path once the happy one works.
architect-mock-all-tools owns the mocking setup and architect-create-simulation-test owns building
the run; route to them rather than hand-rolling. The current endpoints are
POST /v1/convai/agent-testing/create and POST /v1/convai/agents/{agent_id}/run-tests —
simulate-conversation still exists but is deprecated.
Give the five items above with their actual outcome, and name anything you could not verify. "Smoke
test passed" is not a result; "first message fired, three edges traversed, fetch_profile returned 200,
checkout still mocked and untested" is.
Two rounds is the budget for fixing. If a third would be needed, the failure is probably not a conversion defect, and grinding on it is how a one-hour job becomes four. Stop fixing and work out which of these it is: a success condition that does not match what the agent was asked to do, a mock missing a field its consumer reads, or a real platform behaviour. Then say which, with the measurement, and stop. A behavioural gate that holds two runs in three is a finding, not a bug — non-determinism does not converge under repetition, so report the rate and what would make it absolute rather than re-running until it looks better. Between rounds, re-run only what failed; run the whole suite once at the end.
This is the artifact the migration is judged on, and its job is to leave someone confident enough to move. Order matters more than content here — the same facts in the wrong order read as a warning.
Do not lead with a defect count, do not grade the agent, and do not attach a scorecard. The step 1b
findings live in a file with a pointer, and agent-review is step 6's business and gated there.
These five can only be answered by running something. Do not substitute a re-read of your own config for any of them.
missing_dynamic_variables error, the only real proof that every bound variable is supplied
at conversation start.Then the report, which is what the migration is actually judged on.
agent-review was not handed over unasked.Then the silent failures — and check them against the files, not against a summary. Re-open
reference/traps.md and reference/expressions.md and read what you emitted against them: headers,
tool URLs, conditions, transfer nodes, node-scoped attachments. This file used to restate that list,
which meant two copies to keep in sync, and they drifted. One instruction is safer than a duplicate.
Parity tests are the one item that is genuinely follow-up rather than part of a working migration. Say so plainly instead of implying the agent is test-covered when it has had one smoke run, and point at the customer's own transcripts, which is where real coverage comes from.
This skill's finish line is deliberately low: a conversion that runs. Say that plainly and name who answers the next question, rather than leaving the user thinking a smoke test was a quality review.
But do not hand a scorecard to someone who has just arrived. agent-review is an operator's tool.
Pointed at a fresh migration it returns a page of structural findings that read as a verdict on the
decision to switch — and it lands right after the audit and the test results, which is three documents
in a row telling a new user their agent is broken. That sequence is how a migration gets abandoned at
the last step. So gate it: run it when the user asks, or once they have confirmed the agent does what
they need. Not by default, and not in the same breath as the report.
agent-review — scores prompt quality and workflow structure, which is the axis this skill
defers on purpose. Right for an operator tuning an agent they already trust.agent-simplification — acts on the structural findings. A faithful one-node-per-source-state
port is exactly its input, and it proves behaviour is preserved with a ground-truth suite rather
than asserting it.architect-review-live-calls — once real traffic exists, finds what is actually failing in
production. Nothing before this point can tell you that.When the review does run, it is scoring the rebuild, so a bad score is a real finding. You already
made the structural calls agent-simplification would have made, which means a pile of structural
findings says the shape was wrong — not that the review is being unfair to a migration. Do not reach
for "it's a migration" to excuse a score you earned.
The exception is if someone points a review at the port. That is supposed to score badly: it mirrors the source's topology because that is what fidelity means, and the findings are a backlog rather than defects. Refactoring them away before anyone has confirmed the new agent matches the old one destroys the only thing the port was for.
Four files matter to any one migration, and three of them are not optional reading. The point of the split is that each is short enough to actually read at the moment it applies, rather than skimmed as a wall up front.
| File | Read it | What it holds |
|---|---|---|
reference/<platform>.md | at step 1, once you know the platform | construct-by-construct mapping, the genuine gaps, export shape. Read only yours — you do not need the other two. |
reference/traps.md | before step 4, and again while authoring each surface | every way a migrated agent breaks silently, grouped by whether you are authoring tools, nodes, or config |
reference/expressions.md | before you write any condition | what can be expressed at all, why a carried-over condition inverts, and the guard builders to emit |
../../reference/ | before you write the first payload | a complete agent and a complete webhook tool, every field populated, plus the jq recipes for anything they do not show |
That last one is the plugin's shared example directory, not this skill's. Go there rather than looking for a sample config in the working repo: the one you find may be stale, may be a scratch file from another session, and in an install outside ElevenLabs does not exist at all. Read it as a field catalogue — it shows where each field lives and what shape it takes. Do not start a migration by copying it, or you ship a maximalist config whose settings nobody chose.
traps.md and expressions.md are ElevenLabs-side, so they apply whichever platform you came from.
If you are about to author a condition or a tool and have not read them, you are about to make one of
the mistakes in them — they exist because a real migration hit these with the mapping table open.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
voice-agent-migration, elevenlabs, retell-ai, vapi, bland-ai, conversational-ai
npx claudepluginhub elevenlabs/plugin --plugin elevenlabs44 skills in this plugin
/agentsBuild voice AI agents with ElevenLabs. Use when creating voice assistants, customer service bots, interactive voice characters, or any real-time voice conversation experience, and when configuring an agent's tools, workflows, or procedures, including creating, editing, and publishing free-form and structured procedure drafts on an agent branch over the SDKs or REST API./agent-simplificationSimplify a complex ElevenLabs voice agent (typically a large workflow agent) into a leaner architecture — fewer workflow nodes, deduplicated prompts, procedures where they help — while PROVING with a ground-truth test suite that every behaviour of the original is preserved or improved. Use when the user says things like 'simplify this agent', 'flatten this workflow', 'this agent is too complex', 'consolidate these nodes', 'rebuild this agent with fewer nodes', 'can we replace this workflow with procedures', or asks whether a big workflow agent can be made easier to maintain without losing behaviour./agents-platformManage ElevenLabs voice agents through the connected ElevenLabs MCP server. Use when the user asks to create, configure, test, deploy, or inspect agents, knowledge bases, agent tools, tests, or conversations directly on their ElevenLabs account — rather than writing application code. Requires the ElevenLabs MCP server bundled with this plugin./architect-agent-memoryUse when the user wants the agent to remember, learn, save, or memorize a fact, or reports a one-off "the agent said X but should say Y" correction. There is no memory endpoint over REST; this covers the durable alternatives (system prompt or knowledge base) and when to use them./architect-branches-versions-mergeUse when working with agent branches, versions, drafts, traffic splits, or merges. Fires on "make a copy to test on", "create a branch", "switch to my test branch", "send 10% of traffic to the new version", "roll it out gradually", "merge my branch back to main", or when a branch operation errored./architect-create-client-toolUse when the user wants the agent to trigger something in their own browser, app, or SDK during a call (navigate a page, open or close a dialog, read on-screen context, run client-side code), or asks "how do I add a client tool", "make the agent do something in my app", or reports a client tool that won't save or where the agent never gets a response back. For a server API tool see the create-webhook-tool skill; for editing an existing tool see the edit-existing-tool skill.Other plugins' skills for the same job