/voice-foundations:voice-audio-frontendsfrom Voice Agent Skills
Select, configure, and evaluate microphone and incoming-call audio processing for voice agents. Use when echo, background noise, competing speakers, gain changes, or speech suppression affect transcription, VAD, turn detection, and interruptions.
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.
Reviewed: 2026-11-16 UTC. Use the audio frontend engineering guide for processing mechanisms, placement diagrams, deployment limits, source contracts, and paired-test metrics. Read the relevant sections before recommending settings.
Preserve speech information while addressing a specific interference source. Confirm the application's SDK/API version and target device; configuration examples from a different browser, native SDK, or phone transport are not interchangeable.
Draw capture through VAD/model input, plus agent output through device rendering. Inventory device/OS enhancement, browser constraints, native SDK processing, frontend model filters, carrier/trunk effects, agent-side enhancement, and provider input reduction. For every stage record enabled mode, observed support, input/output format, and bypass control. Mark inaccessible stages unknown.
Distinguish these operations in the diagnosis:
Do not treat a denoiser as proof that an echo path is controlled. Confirm which component has capture and actual render timing. An agent's TTS bytes do not automatically form the caller device's echo reference.
Use a short authorized synthetic or consented fixture. Preserve capture, available render reference, transcript labels, configured effects, and timestamps privately. Record upstream processing that cannot be disabled. Never publish customer recordings, credentials, or device identifiers in the report.
Keep model, prompt, turn settings, volume, and fixture fixed while changing one processing stage. Compare headphone and loudspeaker paths when echo is suspected. Inspect browser getSupportedConstraints() and track getSettings() after configuration and device changes; settings report configuration, not cancellation effectiveness.
For native AEC, verify reference routing, common timing, dropped frames, output-device switches, and clock drift through its supported API. Include near-end speech while agent output is playing. Avoid muting all microphone input when the product must support barge-in.
Record codec, container/raw format, rate, channel order, sample representation, byte order, numeric scale, frame size, and timestamps. Decode before PCM processing, retain array channels until beamforming, and keep any reference channel out of the speech downmix.
Validate the selected library's sample scale as well as its float/integer type. RNNoise's C demo uses integer-valued PCM converted to floats; normalized browser floats need explicit adaptation. Query its frame size. Use stateful resampling with continuous timestamps, and measure frame accumulation and lookahead. An offline delay-compensation option does not remove live latency.
If formats or playback are already wrong, apply voice-media-debugging before tuning suppression.
Use the guide's comparison. Check code, selected weights, dependencies, and service terms separately. Open-source orchestration does not grant rights to a commercial enhancement model.
For LiveKit, use the guide's current placement/model table: agent-side Krisp or ai-coustics isolation or suppression, frontend NC or BVC depending on the client SDK, and SIP-trunk NC. Verify the Cloud route or the self-hosted license path (ai-coustics, or Krisp in Python) and its billing explicitly. Avoid stacked enhanced frontend/agent filters while retaining required capture AEC; Python 1.8.9 and later warn when both sides apply enhanced cancellation. Record the agent input's automatic gain control, which the Python room input enables by default unless a filter is passed directly. Confirm the installed plugin contract instead of importing an older model alias.
For a provider input filter, confirm whether it precedes VAD and whether processed samples are observable. Some streaming STT engines (for example Soniox stt-rt-v6) also accept the agent's spoken text stream to suppress residual agent bleed in transcripts; treat that as a transcript safeguard rather than a replacement for acoustic AEC. Use current microphone profiles and API schemas. Platform and language support must come from the actual SDK documentation. Preserve unavailable processed audio as a measurement limit.
Run bypass and candidate processing on the same source with paired labels. Include quiet/distant speech, language and accent cohorts, transient noise, competing talkers, reverberation, echo-only playback, and double-talk on supported devices/codecs.
Report transcription WER/CER and deletions, exact critical words, no-speech hallucinations, missed/false speech starts, clipped onsets, premature ends, interruption recall, residual echo, clipping, added delay, processing stalls, and queue growth. Calculate echo attenuation only in controlled far-end-only windows with aligned signals. Suppressing all samples is a failed preservation result even if echo energy falls.
Record cohort size and failures, not only the average. Listen to paired clips without separately normalizing away gain differences. Reference-free quality scores are estimates; a cleaner-sounding clip can still delete a needed word. Recalibrate VAD/EOT after choosing the frontend, then rerun the same labeled cases.
Use voice-agent-evaluation for the wider audio/transcript/tool evaluation and voice-latency-audit to account for added delay across the conversation.
Provide the observed failing stage, retained processing inventory, one proposed change, exact format/mode/version, license/deployment boundary, paired evidence, regressions, and rollback to the previous configuration. Name unavailable reference signals, opaque upstream effects, and untested platforms. If no authorized audio or runtime is available, return a concrete test plan and clearly label results unmeasured.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub robstrayer/voice-agent-skills --plugin voice-foundations13 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-call-reliabilityDiagnose and recover voice call failures across signaling, media, transfers, and business actions. Use for silent calls, failed handoffs, duplicate effects, stranded sessions, capacity incidents, or production readiness reviews./voice-conversation-designWrite and evaluate voice agent prompts for spoken turn taking, concise responses, clarification, tool progress, interruptions, and safe handoffs. Use when writing or reviewing a voice agent's system prompt, when replies run long or read out lists, URLs or Markdown, or when designing confirmations, repair questions and transfers to a person./voice-cost-estimationEstimate what a voice agent costs per minute, per call and per month, and find what drives the bill. Use when someone asks how much a voice agent will cost, compares a managed platform with a self-built stack, sets pricing for clients, sees a bill higher than expected, or plans for scale./voice-data-captureCapture 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.