voice
Speak Claude's responses aloud through the native OS voice (macOS `say`) — on demand via /speak:speak (last response) or /speak:specify (pick one), or automatically on every response via a toggleable Stop hook. Works locally on a Mac and, through a manually started host listener, from inside a Dev Container. Use when the user wants responses read aloud / spoken / voice output, wants auto-speak turned on or off, or asks whether the speak install is healthy.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-23
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- voice
- description
- Speak Claude's responses aloud through the native OS voice (macOS `say`) — on demand via /speak:speak (last response) or /speak:specify (pick one), or automatically on every response via a toggleable Stop hook. Works locally on a Mac and, through a manually started host listener, from inside a Dev Container. Use when the user wants responses read aloud / spoken / voice output, wants auto-speak turned on or off, or asks whether the speak install is healthy.
- argument-hint
- [optional: text to speak]
02 资源文件 24
- 参考文档.claude-plugin/plugin.json353 B
- 其他bin/speak99.1 KB
- 参考文档commands/off.md829 B
- 参考文档commands/on.md750 B
- 参考文档commands/speak.md2.9 KB
- 参考文档commands/specify.md3.2 KB
- 参考文档commands/status.md1.1 KB
- 参考文档commands/test.md1.0 KB
- 参考文档hooks/hooks.json478 B
- 脚本hooks/stop-speak.sh9.6 KB
- 参考文档README.md9.0 KB
- 脚本tests/cli_test.sh23.0 KB
- 脚本tests/coverage.sh4.8 KB
- 其他tests/fixtures/cluster_trailer.jsonl817 B
- 其他tests/fixtures/no_id_final.jsonl447 B
- 其他tests/fixtures/sidechain_tail.jsonl614 B
- 其他tests/fixtures/string_content.jsonl257 B
- 其他tests/fixtures/thinking_only.jsonl306 B
- 其他tests/fixtures/tool_use_final.jsonl305 B
- 其他tests/fixtures/torn_tail.jsonl353 B
- 其他tests/fixtures/two_clusters.jsonl611 B
- 其他tests/fixtures/user_final.jsonl359 B
- 脚本tests/hook_test.sh11.8 KB
- 脚本tests/listener_test.sh19.5 KB
03 SKILL.md 正文
speak — spoken voice output for Claude responses
Give Claude a voice: responses are cleaned of markdown/code/URLs and spoken
through the Mac's system voice (say). One speak CLI is the primitive
everything calls — the slash commands, the Stop hook, and the user in a
terminal. Full setup, dependency, and troubleshooting detail lives in
README.md.
Commands
The command surface is exactly six slash commands (namespaced by the plugin
name — these are /speak:*, not /speak-*):
| Command | What it does |
|---|---|
/speak:speak |
Speak the very last assistant response immediately — never asks. Also answers to unprefixed /speak while no other installed command claims the name. Works regardless of the auto-speak toggle. |
/speak:specify |
Speak a chosen recent assistant response. Always asks WHICH response first (pick list, most-recent first) — several responses can accumulate between prompts. Works regardless of the auto-speak toggle. |
/speak:on |
Turn auto-speak ON — the Stop hook speaks every assistant response until /speak:off. Defaults to OFF; opt-in. |
/speak:off |
Turn auto-speak OFF. |
/speak:status |
Full diagnostic (speak doctor): toggle state, detected mode, port, listener reachability, per-dependency presence with required-vs-optional labels. |
/speak:test |
Run the bundled test suite (tests/coverage.sh --plain) and report pass/fail. |
Terminal forms of the same CLI: speak <text> (or echo text \| speak),
speak --serve, speak doctor [--hook|--listener] (speak status is an
alias), and speak on / speak off. An exact reserved first arg
(--serve/doctor/status/on/off) dispatches to that subcommand; to
speak a literal reserved word use stdin or speak -- doctor.
Two modes, one transport
Context detection is separate from dependency availability:
- Local (macOS host): Darwin → play directly via
say. A missing/brokensayis reported as a missing local dependency — never a silent switch to forwarding. - Forward (Dev Container): Linux plus a container marker (
/.dockerenv//run/.containerenv), or explicitSPEAK_MODE=forward→ the response is base64-encoded and sent over TCP (nc) to a listener on the Mac athost.docker.internal:${SPEAK_PORT:-47837}. This container→host path is the shipped, verified transport — no fallback needed. - Anything else (bare non-container Linux, unknown OS) → a clear "unsupported host OS" diagnostic, never a guessed forward attempt.
The host listener (manual, never auto-started)
Forward mode needs speak --serve running on the Mac. The plugin NEVER starts
it for you: open a terminal on the host at the workspace root and run
./plugins/speak/bin/speak --serve — or better, install the always-on LaunchAgent once with ./plugins/speak/bin/speak agent install (starts at login, restarts on crash; agent status/agent uninstall to manage). Either way it binds 127.0.0.1:${SPEAK_PORT:-47837},
queues incoming utterances, and plays them through say. Ctrl-C stops it.
Auto-speak toggle + debounced notice
The toggle is a single global flag file managed atomically by
/speak:on / /speak:off and read by the Stop hook; absent/unreadable reads
as OFF. When auto-speak is ON and something is wrong (listener unreachable,
missing dependency, invalid config), the hook emits at most ONE non-blocking
notice per session per reason — reason-specific, naming the exact fix (the
listener-unreachable notice contains the ./plugins/speak/bin/speak --serve
command). It never blocks or fails the response.
OS support
macOS is the only implemented TTS backend today. The playback path is isolated
behind a single OS seam (play_local), so Windows support can be added later
without rearchitecting — non-Darwin forced-local reports "unsupported local
TTS backend" rather than guessing. Remote dev containers / Codespaces are out
of scope: audio only works when the container runs on the same machine as the
speakers.
04 同仓库更多 Skills
wendy
Summon Wendy, a performance coach modeled on Wendy Rhoades from Billions, when the user invokes /wendy or asks for Wendy by name, or explicitly asks to get his head right — tilting, stalling, spiraling, avoiding, flat, or needing to lock in before a hard push. Wendy works the operator's state, never the plan. Do NOT use for feedback on strategies, plans, or decisions, and do not trigger uninvited.
ubiquitous-language
Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to ./docs/ubiquitous-language.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD". Forked from Matt Pocock's "ubiquitous-language" skill.
tdd
Test-driven development with red-green-refactor loop. Use when user wants to build features or fix bugs using TDD, mentions "red-green-refactor", wants integration tests, or asks for test-first development. Forked from Matt Pocock's "tdd" skill.
merge-request:review
Review a pull/merge request (by id) or batch-review every open one against Chris's own engineering standards, staging high-signal findings to .data/merge/<ID>.md for later posting. Fetches head SHAs and applies the "Reviewed at commit" skip check BEFORE any checkout, resolves the head fork-safely, builds/tests it in a dedicated worktree, and treats a failing build/checkout as the top blocking finding. First runs /detect-source-control and hard-stops when the forge is unsupported. Use as "review the PR", "review the open MRs", "any PRs need my eyes", "review <id>".
merge-request:post-findings
Take the findings staged by /merge-request:review in .data/merge/<ID>.md and, with per-finding approval, post the approved ones to the forge as inline comments (general-comment fallback when a finding has no valid diff location) — or formally sign off a clean PR/MR with a single "Looks good." First runs /detect-source-control and hard-stops when the forge is unsupported. Nothing reaches the forge except through the bundled scripts. Also runs a propose-then-confirm learned-preferences loop that teaches /merge-request:review what you value (Don't-raise / Wording / Confirmed-valued), and records skipped findings to the artifact's
merge-request:fix
Monitor an open pull/merge request (by id) and, as feedback arrives, gather every actionable item — human + bot/AI review comments and MR-attributable CI failures — deduplicated against a durable ledger so nothing is handled twice. Polls on an adaptive scheduled-wakeup cadence until the PR/MR closes. First runs /detect-source-control and hard-stops when the forge is unsupported. Use as "watch the PR", "monitor the MR for feedback", "fix review feedback on <id>", or the continuation of /merge-request:create.