Community Tool: agent-code-tts โ Automatic TTS voice for Claude Code
Resolved ๐ฌ 2 comments Opened Mar 19, 2026 by niguerrac Closed Apr 17, 2026
agent-code-tts
Hey @anthropics team! ๐
I built a tool that makes Claude Code speak its responses aloud in real time, including the short messages written between tool calls โ not just the final response.
๐ Repo: https://github.com/delpyx-digital/agent-code-tts
How it works
Uses two Claude Code hooks:
PreToolUseโ speaks intermediate messages before each tool callStopโ speaks the final response after all tools finish
A queue-based background worker (tts_worker.py) ensures messages are spoken in order with no overlap, even when multiple tool calls fire rapidly.
Features
- ๐ฃ๏ธ Real-time voice using Microsoft Edge TTS (free, no API key)
- 40+ neural voices in Spanish, English, and more
- One-command install:
python install.py - Toggle on/off via
/ttsskill command - Windows native (10/11)
Settings snippet
{
"hooks": {
"PreToolUse": [{"hooks": [{"type": "command", "command": "~/.claude/hooks/tts_pretools.sh", "async": false}]}],
"Stop": [{"hooks": [{"type": "command", "command": "~/.claude/hooks/tts.sh", "async": false}]}]
}
}
Sharing in case it's useful for the community or inspires native TTS support in a future release. ๐
โ Nilson Guerra / @niguerrac / delpyx-digital
This issue has 2 comments on GitHub. Read the full discussion on GitHub โ