/voice:handbookfrom voice
Troubleshooting and detailed usage guide for the voice MCP server, covering browser/audio issues, conversation lifecycle (pause/resume/reset), context management, and the HTML stage.
Ships in voice. 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.
Detailed usage and troubleshooting for the voice MCP server. Match the situation to a reference under When to load what and load that file.
The voice MCP tools may arrive deferred — load them by name with ToolSearch (select:conversation,set,inject,html,postMessageToHtml) before calling:
conversation({ action }) — pause | resume | reset | status. Start/end are automatic (below).set({ topics?, context?, personality?, instructions? }) — steer the live session. Use topics/context/personality; leave instructions unset (it's the startup persona).inject({ role, message, source?, triggerResponse? }) — low-level transcript insert; prefer set for steering.html({ path? }) — render an HTML file on disk as a full-viewport stage; call with no path to clear it.postMessageToHtml({ payload }) — send arbitrary JSON into the mounted HTML's window message event; it can post back as an html.message event. No-op if no HTML is up.Two facts shape everything below:
http://localhost:<port> (and the mic is ready) and ends when they close the page. You cannot start or end it — only pause/resume/reset a running one.conversation({ action: "status" }) returns server and conversation lifecycle states plus a browser object (connection state and audio — mic permission, devices, readiness) and realtimeConnected / responseInFlight. It does not include the transcript — track that from transcript.item channel events as they arrive.
set({ context }) — background knowledge, facts, answers the avatar absorbs silently. Latest call replaces the prior <context> block.
set({ topics }) — what the avatar should talk about next, in its own words. Latest call replaces the prior <topics> block. One to three sentences; describe subject matter, not a script.
set({ personality }) — the avatar's tone, manner, and persona, i.e. how it speaks (distinct from what it says via topics, or what it knows via context). Latest call replaces the prior <personality> block; an empty string resets it to the default ("Speak naturally and directly. Match the user's vocal and conversational style."). The block is always present, defaulting until you set it.
Resetting is routine hygiene for a sustained conversation, not a last resort — reset on a topic change, on avatar drift/repetition, or when the transcript has grown long enough to drag. A bare reset drops continuity, so always re-seed, and clear the stage as part of it unless the visual still applies:
html({}) // clear the stage if one is up
conversation({ action: "reset" }) // atomic end + restart, no audible gap
set({ context: "<tight summary that carries forward>", topics: "<next direction>" })
Any personality/context/topics/instructions you set are cleared when the session ends (reset, reload, or close — personality resets to its default) — so re-seeding after a reset is mandatory, not optional. On each session end you'll receive an agent.deactivate event reporting what was cleared.
html(...) is visual-only — the voice model never sees the staged HTML. Every time you stage something, in the same step describe it with set({ context }) (and set({ topics }) if it should steer). Full guidance: reference/html-stage.md.
reference/browser-audio.md (opens in a new tab)reference/context-management.md (opens in a new tab)reference/conversation-lifecycle.md (opens in a new tab)reference/html-stage.md (opens in a new tab)reference/intervention.md (opens in a new tab)reference/shutdown.md (opens in a new tab)reference/startup-failure.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub goodfoot-io/marketplace --plugin voice