/voice-foundations:voice-data-capturefrom Voice Agent Skills
Capture phone numbers, emails, names, addresses, dates, amounts, confirmation codes and yes or no answers correctly on a voice call. Use when a voice agent mishears or misspells what callers say, treats a transcript as truth, flips a negation, or fails on long digit strings or spelled codes, or when spoken data is read back, validated or written to a CRM, booking or payment system. Also for slot filling, E.164 phone numbers, spelling alphabets such as NATO, keypad or DTMF entry, SSML say-as read-back, and keyterms or phrase lists for speech recognition. Covers per-field protocols, asking and read-back, recognition aids, validation in code, test fixtures and keeping card data off the model path. Needs no tools. The optional script needs Python 3.
Ships in Voice Agent Skills. 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; scripts run unread.
A speech model writes a guess, and a language model will treat that guess as fact. Phone audio is narrow, callers have accents and noise, and they speak numbers in fragments. Illustrative failures, not measured ones: "five five" comes back as "nine", "never took it" comes back as "took it", and the wrong value lands in your CRM. This skill's answer is a pipeline: the model proposes a value, code normalizes and checks it, the caller confirms it, and only then does anything write.
Read these with the skill and keep them together:
scripts/readback.py: read-back text with ambiguity flags, a transcript-support check and a check symbol. Standard library only. python scripts/readback.py --selftest runs its checks. It helps with speaking and sanity checks and does not replace a phone library, an address service or your own lookups.This skill builds and reviews capture flows. Do not place calls, record, send provider API requests or write to a real customer system without the user's existing authorization for that work. Test with fictional data, as the test set describes. This is engineering guidance, not legal advice. Recording, consent and card-data rules are in the phone compliance skill.
Decide what you need and by which path. Capture fewer fields. Take a value without speech where you can: a signed-in session, a lookup by something you already hold, a link to a short form, a choice from your own list. Caller ID is a candidate, never proof.
| Field | Default path | Fallback |
|---|---|---|
| Phone | Confirm caller ID, or say it in groups | Keypad |
| Link to a form | Spelled, letter by letter | |
| Name | Said, then spelled | Link or person |
| Address | Address lookup, number and street confirmed apart | Link or person |
| Date and time | Choose from slots you offer | Link |
| Amount | Your system's own number | Person |
| Code | Keypad if digits. Otherwise spelled, with a check symbol | A link to a form where the caller types it, or a person |
| Yes or no | One claim per question, bound to that question | Ask again in other words |
| Card, PIN, ID number | Keypad into the processor, never the model | Person |
Ask for one field at a time. Name the format, give one example, end on the question, and allow a correction. How to ask.
Normalize in code. Turn words and numerals into one canonical value. Send number words you cannot map, such as "fifteen" or "fifty", back to the caller for digits. The model never completes or fixes digits from context. Check that the transcript supports the value, and check its shape and checksum, before you read anything back.
Read the value back from the stored value. Digits in groups with pauses, the spelling alphabet for look-alike letters, weekday with date, amounts in words. Build the spoken form in code. Start with plain words and commas, and test the result with your voice. Read-back and making the voice say it right.
Take a correction, not a restart. "No, the last four are two zero one three" replaces one piece. Read the whole corrected value back again. Corrections.
Gate every write in code. Every digit was said or keyed in answer to this question. The format and checksum pass. The real system agrees. The caller's yes belongs to this exact value, and the backend allows the write. Run the gate again at write time, because a lookup result or a verification level can change during the call. The write gate.
Limit retries, then change channel. Start with two voice attempts per field, then keypad, a link or a person. Tune the number on your own calls. The ladder.
Keep the evidence. The value, the raw transcript, audio offsets, recognizer settings, the read-back, the confirmation and the check results, with retention and access set on purpose. What to store.
Recognition aids (keyterms, phrase lists, prompts, end-of-turn settings) help with names and long answers and do not verify anything. Use them with care.
Card numbers, security codes, PINs and government ID numbers must not reach the transcript, the model prompt, a recognizer hint list or general logs. For an AI agent, a transcript or a prompt counts as storage (PCI section of the compliance guide).
Run the test set across the languages and accents you serve, noise, telephone-quality audio, fast speech, corrections and negations. Score the captured value, not the transcript, and report counts with their denominators. Replay wrong transcripts through the flow: a wrong transcript that the flow catches is a pass, and a wrong value written is the failure. The evaluation skill covers the harness.
Sources reviewed 2026-09-30 UTC. Each reference lists its sources, the dates the pages show and what was left out. Open the cited page again before you rely on a provider limit or setting.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub robstrayer/voice-agent-skills --plugin voice-foundationsOther plugins' skills for the same job
13 skills in this plugin
/voice-agent-evaluationDesign and run proportionate voice agent evaluations covering conversation success, turn taking, tool correctness, audio behavior, failures, and lifecycle cleanup. Use when writing tests or a regression suite for a voice or phone agent, scoring simulated or recorded calls, checking tool calls, handoffs and side effects, or deciding whether a change is safe to ship./voice-agent-securityReview and harden an AI voice agent against abuse specific to phone and voice. Use for a voice agent security review, caller verification and spoofed caller ID, prompt injection or social engineering by phone, PII or card data in transcripts and recordings, provider API keys in a browser voice app, toll fraud and cost abuse, voice cloning consent, or a pre-launch red team./voice-audio-frontends