claude-narrator
Read Claude Code's answers aloud with a local neural voice, and follow along
word by word in a terminal pane.
When a turn finishes while you're away from the keyboard, a macOS notification
appears with a Read button. Click it and Claude's answer starts playing in
under a second — with a transport you can pause, scrub by word, and re-read as
a summary.
Everything runs locally. No API key, no network at playback time, no per-use
cost.
▶ full [███████░░░░░░░░░░░░░░░░░░░░░░░] 0:12/2:23 1.15x 3/16
←/→ word · ⌥←/→ sentence · space ⏯ · r restart · f full · m summary · q close
The deploy finished cleanly and every check is green. All twenty four tests
pass on the first run. The flaky login spec is now stable across ten ▌runs▐,
so the retry wrapper can come out.
Install
/plugin marketplace add liatrio-labs/claude-narrator
/plugin install narrator@claude-narrator
/narrator-setup
/narrator-setup is a one-time download of about 500 MB (voice model, voice
styles, a Python environment). It is idempotent, so it doubles as the repair
command if anything goes missing.
Updating: /plugin marketplace update, then re-run /narrator-setup if the
release notes ask for it.
Requires macOS for the notification (everything else works anywhere), python3,
and curl. uv is used if present and makes
setup considerably faster.
Using it
/speak reads the last answer in full. It also takes a subcommand:
| |
|---|
/speak | read the last answer in full |
/speak summary | a 2–5 sentence spoken briefing instead |
/speak stop / pause | stop or toggle playback |
/speak ui | open the transport pane |
/speak faster / slower | adjust speed |
/speak status | what the player is doing |
/speak voices | list the ~50 available voices |
/speak gc | prune the audio cache now |
The reading pane
| key | |
|---|
space | play / pause |
← → | move one word |
⌥← ⌥→ | move one sentence |
↑ ↓ | speed ±0.1 (0 resets) |
[ ] | jump ∓10 seconds |
r | restart from the beginning |
s | stop, leaving the pane open |
f m | re-read in full / as a summary |
q Q | close the pane / stop and close |
Hold an arrow and the highlight scrubs without restarting the audio; playback
resumes from wherever you let go.
Closing the pane (q) does not stop playback — the player is a daemon, and the
pane is just a client. s stops audio and leaves the pane up.
Configuration
All optional, set in your environment:
| variable | default | |
|---|
CLAUDE_TTS_VOICE | af_heart | any voice from /speak voices |
CLAUDE_TTS_SPEED | 1.15 | playback rate |
CLAUDE_TTS_IDLE_SECS | 45 | how long away before you get notified |
CLAUDE_TTS_ALWAYS | unset | 1 notifies on every turn, ignoring idle |
CLAUDE_TTS_MIN_CHARS | 80 | skip answers shorter than this |
CLAUDE_TTS_CACHE_MB | 200 | audio cache ceiling |
CLAUDE_TTS_CACHE_DAYS | 30 | audio cache age limit |
CLAUDE_NARRATOR_HOME | ~/.local/share/claude-narrator | where data lives |
Pronunciation
plugins/narrator/lexicon.json maps terms to how they should be spoken. It
ships with ~100 technical terms (kubectl → "cube cuttle", nginx → "engine
ex", AWS → "A W S"). Keys match whole words, case-insensitively, longest
first. Use spaces to force letter-by-letter.
Identifiers are read as digits and quantities are not, decided by context:
| written | spoken |
|---|
account 123456789012 | "account one two three four…" |
port 8080, pid 4471 | "port eight zero eight zero" |
45000 events | "forty five thousand events" |
10.0.1.42 | "ten dot zero dot one dot forty two" |
Editing the lexicon changes the spoken text, so the next playback re-synthesizes.
Streaming makes that cheap — it still starts talking in about a second.
herdr
herdr is optional. With it, the player opens automatically
in a short pane below your Claude session. Without it, /speak ui prints the
command to run the player in any terminal.
To bind the player to a key, add to ~/.config/herdr/config.toml:
[[keys.command]]
key = "prefix+alt+r"
type = "pane"
command = "~/.local/share/claude-narrator/venv/bin/python <plugin>/bin/player.py ui"
How it works
A Stop hook caches each finished answer, so playback never depends on reading
the transcript live. Text is normalized to something worth hearing — tables
unrolled into sentences, code blocks summarized, paths shortened — then split
into paragraph-sized chunks and synthesized with
Kokoro-82M. Playback starts on the
first chunk while the rest is still rendering, so a 12,000-character plan begins
speaking as fast as a one-liner.