{"slug": "show-hn-readback-hear-claude-code-and-approve-its-prompts-by-voice", "title": "Show HN: Readback – hear Claude Code and approve its prompts by voice", "summary": "Developer Bade Okun released Readback v0.1.0, a free, open-source Claude Code plugin that speaks a one- or two-sentence summary when Claude finishes a turn, alerts when Claude is idle or needs permission, and lets users approve or deny permission prompts by voice. In 3,422 recorded test answers on macOS, voice approval never approved by mistake and heard 96.4% of the words it asks for (\"go ahead\" and \"no\"), including all 60 from voices it was not tuned on, with any miss falling back to the keyboard dialog; destructive commands such as rm -rf, git push --force and sudo are never approved by voice. The plugin runs locally using system voices (say on macOS, Piper or espeak-ng on Linux), requires Claude Code 2.1.275 or later and was tested with Claude Code 2.1.332, and installs via /plugin install readback --marketplace badedokun/readback.", "body_md": "**Hear Claude Code.** Readback is a free, open-source Claude Code plugin that speaks a one- or two-sentence summary when Claude finishes, tells you when Claude needs you, and lets you approve or deny permission prompts by voice.\n\n*25 seconds; what Readback says is shown as captions. To hear it, download [demo.mp4](https://github.com/badedokun/readback/releases/download/v0.1.0/demo.mp4) (with sound). A real Claude Code session with the real plugin; the spoken answer is a synthetic voice fed to the microphone input. Re-record with `spike/demo/record.py` and `render.py`.*\n\n- **You talk** with Claude Code's built-in`/voice` dictation.\n- **Readback speaks** through Claude Code hooks: a short summary at the end of each turn, plus alerts when Claude is idle or needs permission. It never reads code, diffs or paths aloud.\n- **You answer permission prompts by voice:** say \"go ahead\" or \"no\", or \"show me\" to answer on screen. Anything unclear, and any protected command, falls back to the normal keyboard dialog.\n- **Stop it** with`/readback:stop` , or by sending any prompt.\n- **Local by default.** It uses your system voice (`say` on macOS, Piper or espeak-ng on Linux), and nothing about your sessions leaves your machine.\n\n**v0.1.0. Voice approval is beta:** in 3,422 recorded test answers on macOS it never approved by mistake. It heard 96.4% of \"go ahead\" and \"no\" (the words it asks for), all 60 from voices it was not tuned on, and 80% of all accepted phrases. A miss falls back to the keyboard (test plan §4). Spoken turn summaries, attention alerts, `/readback:*` commands and voice approval work on macOS and pass the live acceptance run (`spike/run_m1_live.py`). Linux engines and the Linux listener pass their smoke tests. Tested with Claude Code 2.1.332. See the [changelog](https://github.com/badedokun/readback/blob/main/CHANGELOG.md).\n\nIn Claude Code (2.1.275 or later):\n\n```\n/plugin install readback --marketplace badedokun/readback\n```\n\nOr from a shell: `claude plugin marketplace add badedokun/readback`, then `claude plugin install readback@readback`. To run from a clone instead: `claude --plugin-dir /path/to/readback`.\n\nThen type `/readback:test`.\n\n**macOS:** speech works out of the box. For voice approval, `brew install sox whisper-cpp`. macOS asks your terminal for microphone access the first time you answer by voice.\n\n**Linux:** install `espeak-ng` for speech, or [Piper](https://github.com/rhasspy/piper) for a natural voice (`pip install piper-tts`, then put a voice's `.onnx` and `.onnx.json` in `~/.local/share/readback/voices/`). For voice approval you need `pulseaudio-utils` (works with PipeWire too) and `whisper-cli` built from [whisper.cpp](https://github.com/ggml-org/whisper.cpp).\n\nWith voice approval available, the first session downloads the speech model once: Whisper `base.en` (148 MB) on macOS, `tiny.en` (75 MB) on Linux. The URL is pinned and the SHA-256 checked. When Claude asks for permission, Readback reads the request aloud. Say **\"go ahead\"** or **\"no\"** (\"yes\" works too), or just answer on screen: the keyboard always wins. If Readback doesn't catch your answer, it asks once more. Voice answers are for permission prompts only: when a spoken summary ends with Claude's question, Readback adds \"Answer on screen.\", so type your reply. Destructive commands (`rm -rf`, `git push --force`, `sudo`, …) are never approved by voice.\n\nCommands work in any session, typed as `/readback:mute` or `/readback mute`: `/readback:stop`, `/readback:mute`, `/readback:unmute`, `/readback:mode alerts|brief|chatty`, `/readback:voice <name>`, `/readback:rate <words per minute>`, `/readback:repeat`, `/readback:status`, `/readback:test`. Add `--save` to `mode`, `voice` or `rate` to keep the setting.\n\nSettings live in `~/.config/readback/config.toml`:\n\n```\nmode = \"brief\"              # alerts | brief | chatty\nengine = \"auto\"             # auto | say | piper | espeak\nvoice = \"\"                  # engine voice; empty = the engine's default\nrate = 190                  # words per minute\nsummarizer = \"rules\"        # rules | claude-haiku | off\nmin_turn_seconds = 10       # brief mode: stay quiet for quick turns\nquiet_hours = \"\"            # e.g. \"22:00-07:00\"; permission prompts still speak\nvoice_approval = true\nnever_by_voice = []         # extra regexes that always need the keyboard\n```\n\nA project can add `.claude/readback.toml`, but it may only set `mode`, `min_turn_seconds`, `voice_approval` (only to turn it off) and extra `never_by_voice` patterns.\n\n**Privacy.** With the default settings nothing about your sessions leaves your machine. The only network call is the one-time model download above. `summarizer = \"claude-haiku\"` is opt-in: it sends each final message to Claude Haiku through your own `claude` CLI and account, for a more natural summary (about 1 second per turn).\n\n```\nnpm install            # dev only: typescript + @types/node for the type check\nnpm test               # unit, golden, contract, end-to-end and no-network tests (no audio)\nnpm run typecheck\nnode test/smoke/engines.mjs    # each local TTS engine speaks one line\nnode test/audio/record-sets.mjs <dir> && node test/audio/score-sets.mjs <dir> <model.bin>   # voice-approval audio sets (macOS, test plan §4)\npython3 spike/run_m1_live.py   # live run: real Claude Code, speakers and mic (~5 min)\n```\n\nReadback has **no runtime dependencies**. It is plain ES modules with JSDoc types, so the plugin runs straight from the repository with no build step.\n\n| Doc | Contents | \n|---|---|\n| [01 Requirements](https://github.com/badedokun/readback/blob/main/docs/01-requirements.md) | Functional and non-functional requirements, speech rules, acceptance criteria | \n| [02 Architecture](https://github.com/badedokun/readback/blob/main/docs/02-architecture.md) | Context, components, hook map, flows, risks | \n| [03 Detailed design](https://github.com/badedokun/readback/blob/main/docs/03-detailed-design.md) | Hook contracts, IPC protocol, summarizer, queue, broker, listener, config | \n| [04 Security and privacy](https://github.com/badedokun/readback/blob/main/docs/04-security-privacy.md) | Voice-approval threat model, IPC, supply chain, privacy | \n| [05 Test plan](https://github.com/badedokun/readback/blob/main/docs/05-test-plan.md) | Golden corpus, traceability matrix, audio release gates | \n| [06 Implementation plan](https://github.com/badedokun/readback/blob/main/docs/06-implementation-plan.md) | Milestones M0–M3 with gates | \n| [07 Release and operations](https://github.com/badedokun/readback/blob/main/docs/07-release-and-operations.md) | Distribution, versioning, CI, support, troubleshooting | \n| [ADRs](https://github.com/badedokun/readback/blob/main/docs/adr) | Key decisions and why | \n| [Diagrams](https://github.com/badedokun/readback/blob/main/docs/diagrams) | SVG + PNG. Regenerate with `node docs/diagrams/src/build.mjs` | \n\nMIT. See [LICENSE](https://github.com/badedokun/readback/blob/main/LICENSE).", "url": "https://wpnews.pro/news/show-hn-readback-hear-claude-code-and-approve-its-prompts-by-voice", "canonical_source": "https://github.com/badedokun/readback", "published_at": "2026-12-04 00:45:44+00:00", "updated_at": "2026-12-04 01:17:10.757930+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "ai-products"], "entities": ["Readback", "Claude Code", "Bade Okun", "Anthropic", "Whisper", "Piper", "espeak-ng", "macOS"], "also_reported_by": [], "takeaway": "Readback v0.1.0 adds voice approval to Claude Code permission prompts with a keyboard fallback, hearing 96.4% of \"go ahead\" and \"no\" across 3,422 macOS test answers while never approving destructive commands like rm -rf or sudo by voice.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-readback-hear-claude-code-and-approve-its-prompts-by-voice", "markdown": "https://wpnews.pro/news/show-hn-readback-hear-claude-code-and-approve-its-prompts-by-voice.md", "text": "https://wpnews.pro/news/show-hn-readback-hear-claude-code-and-approve-its-prompts-by-voice.txt", "jsonld": "https://wpnews.pro/news/show-hn-readback-hear-claude-code-and-approve-its-prompts-by-voice.jsonld"}}