CodeTalk: Open-source tool adds spoken reflections to Claude Code CLI

✍️ OpenClawRadar📅 Published: February 28, 2026🔗 Source
CodeTalk: Open-source tool adds spoken reflections to Claude Code CLI
Ad

CodeTalk is an open-source tool that adds a spoken reflection layer to the Claude Code CLI. When Claude generates code or analysis, it can embed brief spoken observations that get played aloud through your speakers.

How it works

The tool uses a Stop hook to extract text that Claude embeds inline at the end of responses. There's no second LLM call — the main model decides when to speak and includes the text directly in its output. The extracted text is then played through Microsoft's free neural TTS (edge-tts).

Technical details

  • 3 files total, approximately 150 lines of Python
  • Uses Azure's AndrewMultilingualNeural voice for natural speech (not robotic)
  • No API key needed — just edge-tts and a Stop hook
  • Speaks 20-30% of the time — silence is the default to avoid annoyance

Setup

pip install edge-tts
Add the Stop hook to ~/.claude/settings.json
Copy voice instructions into your project's CLAUDE.md
Ad

Example response format

Here's what a response looks like with CodeTalk:

Here's my analysis of the database migration... [normal response content]
---
> *Dropping that table also removes the foreign key constraint 
> on user_sessions — might want to check if anything still references it.*

The text after the "---" gets spoken aloud via TTS.

Use cases

Claude uses the spoken layer for:

  • Non-obvious tradeoffs in code decisions
  • Task start/complete announcements
  • Connections to the bigger picture of the project

The developer is seeking feedback on voice behavior — specifically how often it should speak and what kinds of observations are actually useful versus annoying. The tool was built with Claude Code (Opus), including the architecture, code, voice tuning, and even the original Reddit post.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also