claude-read-aloud
Hear Claude's replies instead of reading them. A speaker button inside
Claude Code's chat box, right-click Read aloud on any highlighted text, a
hotkey, and a settings panel in Claude's own sidebar — voices from free system
TTS up to Speechify / ElevenLabs / OpenAI with your own key.
If you work with Claude Code all day, you read all day — and at some point you
stop absorbing and start skimming. Listening shifts the load from your eyes to
your ears: you take in the whole answer, keep your eyes on the code it
describes, and reply better. And when reading itself is the hard part — low
vision, dyslexia, screen fatigue — it makes Claude Code usable at all.
Free out of the box: system voices with zero setup, or one command installs
[Kokoro], a genuinely good local neural voice — no account, no key, 54 voices.
▶ Watch the 30-second demo
Two pieces
| Piece | What it gives you |
|---|
| Claude Code plugin (this repo) | the engine: voices, chunked playback, /read-aloud:* commands, auto-read hook |
VS Code extension (vscode-extension/) | the buttons: status bar, toolbar, hotkeys, right-click Read aloud, the in-chat speaker, and a Read Aloud settings panel inside Claude's sidebar |
Install the plugin first (it's the engine), then the extension if you use
VS Code. Terminal-only users need just the plugin.
Install
claude plugin marketplace add michaelpgifford/claude-read-aloud
claude plugin install read-aloud@claude-read-aloud
(Same two steps work inside Claude Code as /plugin marketplace add … and
/plugin install …, or from a local clone by passing its path to
marketplace add.)
Requires Python 3.9+ on your PATH (python3, or python on Windows).
No packages to install — the whole engine is one standard-library script.
Use
| |
|---|
/read-aloud:speak | read the last reply aloud |
/read-aloud:speak-stop | stop |
/read-aloud:speak-auto on | read every reply automatically (off by default) |
/read-aloud:speak-status | show provider, voice, and where the config lives |
/read-aloud:voice-setup | one-time install of the free Kokoro neural voice |
On Linux, run /read-aloud:voice-setup first. macOS and Windows system
voices are decent out of the box; Linux's stock voice is espeak, which is not.
One command and ~340MB later you have a genuinely pleasant local voice, free
forever — the plugin will remind you once if you skip this.
(Type /speak and let completion fill the namespace — commands are listed
under their plugin name.)
Long replies start speaking in ~1–3 seconds regardless of length: text is
split at sentence boundaries into ramped chunks (small first — its size is
the time-to-first-sound), and each next chunk synthesises while the previous
one plays, so there are no gaps.
Voices
| Provider | Cost | Setup |
|---|
system (default) | free | none — uses macOS say, Linux speech-dispatcher, or Windows SAPI |
kokoro | free | /read-aloud:voice-setup — local neural voice, 54 voices, no account (one-time ~340MB download) |
speechify | ~$10 / 1M chars | export SPEECHIFY_API_KEY=… |
elevenlabs | from ~$5/mo | export ELEVENLABS_API_KEY=… |
openai | ~$15 / 1M chars | export OPENAI_API_KEY=… |
command | free | any local engine ([Piper], [Kokoro], …) via a command template |
Config lives at ~/.config/claude-read-aloud/config.json
(%APPDATA%\claude-read-aloud\config.json on Windows):
{
"provider": "speechify",
"voice": "oliver",
"speed": 1.0,
"auto_read": false
}
voice is the provider's own voice name/id (macOS: say -v '?' lists yours;
cloud providers list voices in their consoles). API keys go in environment
variables, never in the file.
A local neural engine plugs in through command — {text} is replaced with
the text to speak; add {out} if your engine writes a WAV for the plugin to
play (that's what enables gapless chunking):
{
"provider": "command",
"command": "piper -m /path/to/voice.onnx -f {out}"
}
The fine print that saves you a support ticket
- Auto-read is off by default, on purpose. A working session produces hours
of speech per day (we measured 4+). Try
/speak-auto on — most people come
back to on-demand within a day, and that's the intended workflow.
- Replies cap at 12,000 characters (~14 minutes) and say so when cut.
Code blocks are spoken as "code omitted" — nobody wants JSON read aloud.
- Stop always works mid-sentence:
/speak-stop, or the button/hotkey below.
- Speechify's WAV arrives with broken (streaming) header sizes; the plugin
repairs them — if you ever hear a burst of static with another tool, that's
what it was.
Buttons and hotkeys in VS Code