/synthflow:regression-testfrom Synthflow
Build and run simulated-caller tests against a Synthflow voice agent, then report which scenarios pass or fail with transcript evidence. Use this whenever the user wants to test an agent before or after a change, check that a prompt fix works, reproduce a failure from a real call, build a test suite, or re-run existing simulations. Trigger on phrases like "test the agent", "run the simulations", "regression test", "make sure this didn't break anything", "build a test suite", "reproduce this call", or "re-run the tests".
Ships in Synthflow. 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.
None: SKILL.md is the whole skill.
Catch behaviour regressions with simulated callers before real customers hit them. A simulation is an AI caller with a persona prompt who talks to the agent for up to N turns; each case passes or fails against its success criteria.
The loop:
plan cases → build or reuse a suite → run → collect results → report
Use it before publishing a non-trivial change (see the safe-agent-change skill), after publishing to confirm a fix, or to reproduce a failure found by the call-review skill.
This playbook runs on the Synthflow MCP tools, whether they come from the plugin's bundled server or the official Synthflow connector. Simulations place no phone calls.
list_agents, get_agent, get_agent_actions — the agent under test, its prompt, and what it can do.list_simulation_suites, list_simulation_cases — reuse existing tests before writing new ones.create_simulation_suite — name, model_id, language (default en-US).create_simulation_case — name, prompt (the caller persona), success_criteria (list), call_success_type (all or any), suite_id.execute_simulation_suite — suite_id, target_agent_id, max_turns (10–50, default 20). Returns a session id.get_simulation_session — status, transcripts, and per-criterion results for that run.list_simulations — past runs, filterable by agent, session, and status.get_call_details — when turning a real failed call into a test case.model_id (and subaccount workspace_id if needed, via list_subaccounts). Never guess IDs.get_agent_actions. If the agent has actions that write to real systems, tell the user before running, and recommend a test copy with those actions detached or pointed at a sandbox.Reuse first: list_simulation_suites for this agent and list_simulation_cases for the suite. If a suite already covers the behaviour, re-run it instead of creating duplicates.
When new cases are needed, aim for a small, focused set — 5 to 10 cases for one change is usually enough. Cover:
get_call_details and write a persona that reproduces the caller's behaviour from the transcript.Show the user the planned cases (name plus a one-line description each) before creating more than a handful.
Persona prompt (prompt): describe who the caller is and what they do, in the second person, concretely:
language (for example de-DE, es-ES).Success criteria (success_criteria): each one a single, checkable statement about the agent's behaviour:
Use call_success_type: all unless the criteria are genuine alternatives.
Don't include base_agent_id when creating custom cases.
Call execute_simulation_suite with the suite_id and the target_agent_id. Keep max_turns at 20 unless the scenario needs a long conversation (multi-step booking, long intake), then raise it to 30–40.
If the call errors or times out, the run may still have started. Check list_simulations filtered by target_agent_id before running again, so you don't start a duplicate batch.
Call get_simulation_session with the returned session id.
Simulations take a while to finish. Don't poll in a tight loop: check once, tell the user how many are complete, and check again after a pause (30–60 seconds). After about 10 checks, stop and report what has finished so far, with the session id so the user can check later.
For each simulation, read:
A failing case isn't always the agent's fault. Before calling it a regression, check whether:
max_turns before the scenario could finish.Report those as test problems, separately from agent failures, and offer to fix the case.
Lead with a table, one row per case:
| Case | Result | Failed criteria | Evidence |
|---|
Then a short summary:
list_simulations), call out anything that used to pass and now fails first — that's the regression.prompt-review and safe-agent-change), then re-run the same suite to confirm it.What SKILL.md sets; muted values are Claude Code's defaults
7 skills in this plugin
/build-actionCreate, update, test, and attach Synthflow agent actions over MCP — custom HTTP actions, information extractors, transfers, SMS, real-time booking (Cal.com, GoHighLevel), IVR navigation, custom evaluations, and call-summary emails. Use this whenever the user wants to give an agent a new capability, connect it to an API or CRM, extract data from calls, add a transfer or SMS, set up booking, change an action's URL, body, or variables, or fix an action that isn't firing or is failing. Trigger on phrases like "add an action", "call my API during the call", "extract the caller's email", "set up a transfer", "connect booking", "update the webhook URL", or "the action isn't working"./call-reportBuild a call-volume and outcome report for a Synthflow agent, workspace, or agency — counts, durations, statuses, end-call reasons, call reasons from information extractors, transfer and booking results, and trends over a period. Use this whenever the user wants a daily, weekly, or monthly report, a call-reason breakdown, KPIs for a customer, an operations dashboard dataset, or numbers like "how many calls did we get", "what are people calling about", or "what share of calls were transferred". For a quality audit of individual calls, use the call-review skill instead./call-reviewReview the last 100 calls for an agent and surface problems. Use this whenever the user wants a call-quality audit, a QA pass over recent calls, a "what's going wrong with this agent" review, or to find failed, unresolved, dropped, or otherwise problematic calls. Trigger on phrases like "review my calls", "what's wrong with the calls", "QA the last 100 calls", "find bad calls", or "audit recent calls"./diagnose-callInvestigate why a specific Synthflow call (or a small set of similar calls) went wrong — failed or missed transfers, calls cut off, the agent going silent or repeating itself, actions or webhooks that didn't fire or failed, wrong data captured, or outbound calls that didn't connect. Use this whenever the user points at a call or a phone number and asks what happened or why, e.g. "why did this call drop", "the transfer didn't ring", "the booking didn't happen on this call", "the webhook never arrived", or "check the call from +1… this morning". For an audit of many recent calls, use the call-review skill instead./prompt-reviewReview AI voice-agent prompts, especially Synthflow Single-Prompt, for contradictions, missing context, unsafe tool/action behavior, escalation gaps, compliance risk, and regression risk. Use this when the user asks to review, audit, validate, improve, or compare a prompt before deployment./safe-agent-changeMake a change to a live Synthflow voice agent safely — record a baseline, save a draft, review the diff, publish only on approval, verify the published state, and roll back if needed. Use this whenever the user wants to edit, update, fix, tweak, or publish an agent's prompt, greeting, voice, transcriber, LLM, actions, or any other setting, or wants to roll an agent back. Trigger on phrases like "update the prompt", "change the voice", "fix the agent", "publish the draft", "push this live", "roll back the agent", or "undo the last change".npx claudepluginhub synthflowai/anthropicplugin --plugin synthflowOther plugins' skills for the same job