/voice-agent-handbook:voice-agent-handbookfrom Voice Agent Handbook
Architecture advisor, code reviewer, and builder for real-time voice agents. Covers cascade vs S2S, turn detection, barge-in, TTFA, ASR/TTS selection, and framework choices (Pipecat, LiveKit Agents, TEN).
Ships in Voice Agent Handbook. 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.
这个 skill 把一本实时语音 agent 手册的判断变成可执行的流程。手册的核心命题:做语音 agent,时间是架构的一部分。用户停止说话后一秒多就必须出声,这个约束决定了链路形态、判停、打断、工具回合的大部分设计。skill 的所有建议都从这里出发。
完整手册在本 skill 上两级目录(../../,即仓库根)或 https://github.com/wananing/voice-agent-handbook 。references/ 下是手册的蒸馏版,够日常使用;需要项目源码级细节时再去手册的 04-projects/。
先判断用户在哪个阶段,三种模式可以在一次对话里接着用。
| 模式 | 用户的状态 | 进入信号 | 主要参考 |
|---|---|---|---|
| 设计顾问 | 还没动手,或在重新选型 | "要做一个…""选哪个""怎么搭" | references/consult.md |
| 代码评审 | 已有代码,想知道哪里有问题 | 给了仓库或文件,"帮我看看""为什么打断后…" | references/review-checklist.md |
| 搭建助手 | 架构已定,要产出协议、组件、代码骨架 | "给我设计协议""写一个仲裁器""trace 怎么打" | references/specs/ |
拿不准时从设计顾问进,问清场景再切。
这些原则适用于三种模式,它们来自手册读 28 个仓库后的结论。
python3 scripts/latency_budget.py --help:输入各段延迟,算出有声音和有内容两个首音,可以比较级联、半级联、S2S。给用户做预算或解释为什么慢时用。python3 scripts/trace_check.py <file.jsonl>:校验回合 trace 的字段和口径,汇总 P50 / P90。用户有 trace 数据时先跑它。| 文件 | 什么时候读 |
|---|---|
| references/consult.md | 设计顾问模式必读 |
| references/review-checklist.md | 代码评审模式必读 |
| references/mechanisms/*.md | 讨论某个具体机制时读对应文件:turn-detection、interruption、first-audio、tool-calls、session-recovery、audio-preprocessing、evaluation |
| references/projects.md | 推荐或识别框架和模型时,或用户问"X 怎么做 Y" |
| references/specs/*.md | 搭建模式按组件读 |
references 里引用手册页面的写法是"手册:03-mechanisms/turn-detection.md",对应仓库根目录下的路径。用户要看更深的依据时把路径或 GitHub 链接给他们。
evals/evals.json (opens in a new tab)evals/fixtures/toy-bot/README.md (opens in a new tab)evals/fixtures/toy-bot/server.py (opens in a new tab)evals/fixtures/toy-bot/tools.py (opens in a new tab)references/consult.md (opens in a new tab)references/mechanisms/audio-preprocessing.md (opens in a new tab)references/mechanisms/evaluation.md (opens in a new tab)references/mechanisms/first-audio.md (opens in a new tab)references/mechanisms/interruption.md (opens in a new tab)references/mechanisms/session-recovery.md (opens in a new tab)references/mechanisms/tool-calls.md (opens in a new tab)references/mechanisms/turn-detection.md (opens in a new tab)references/projects.md (opens in a new tab)references/review-checklist.md (opens in a new tab)references/specs/context-session.md (opens in a new tab)references/specs/output-arbiter.md (opens in a new tab)references/specs/tool-closure.md (opens in a new tab)references/specs/trace-evaluation.md (opens in a new tab)references/specs/turn-protocol.md (opens in a new tab)references/specs/upstream-adapter.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
voice-agent, real-time-voice, speech-to-speech, voice-bot, telephony
npx claudepluginhub wananing/voice-agent-handbook --plugin voice-agent-handbookOther plugins' skills for the same job