Local Tts For AI Agents — AI skill for Claude Code
Offline Kokoro-82M TTS with Claude Code voice responses, playback controller, and global hotkeys.
How to install Local Tts For AI Agents
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open yprimakov/local-tts-for-ai-agents and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Local Tts For AI Agents does
Offline Kokoro-82M TTS with Claude Code voice responses, playback controller, and global hotkeys.
Alternatives in AI
- Whiteboard AI Tutor — Open-source whiteboard AI tutor with animated lessons and interactive playback 587 ★
- Memory Forge Rs — Stop resetting satisfying AI chats — edit the memory instead 474 ★
- Investment News — 为 A股投资者打造的全球产业链资讯看板 · 12 大赛道一一对应 A股板块(半导体/AI/机器人/新能源车…),覆盖 100+ 权威源,用你自己的大模型每日提炼中文「今日要点」+ 翻译 · 全程本地、零 API key 447 ★
README
Local TTS for AI Agents
Offline, GPU-accelerated text-to-speech powered by [Kokoro-82M](https://huggingface.co/hexgrad/Kokoro-82M).
Designed to be installed and operated by AI agents. Works as a standalone CLI tool, a Claude Code voice service, or a general-purpose TTS backend.
What it does
- Voice responses for Claude Code — a Stop hook reads a short summary of every response aloud
- On-demand TTS — read any selected text via a global hotkey (
Ctrl+Alt+Ron Windows) - Playback controller — compact dark-glass floating window with pause, seek, and ±10s skip
- Fully offline — no API keys, no cloud calls; model runs locally at ~6× real-time on CPU
- All platforms — Windows, macOS, Linux
Using this as a TTS service for AI agents
Claude Code voice responses
After installation, Claude Code will automatically speak a short voice summary at the end of every response. The hook fires on the built-in `Stop` event and requires no configuration beyond the initial setup.
Enable or disable voice responses at any time:
/voice ← toggle on/off
/voice on
/voice off
Or toggle the flag file directly:
| Platform | Enable | Disable |
|---|---|---|
| Windows | type nul > "%USERPROFILE%\.claude\voice_enabled" |
del "%USERPROFILE%\.claude\voice_enabled" |
| macOS / Linux | touch ~/.claude/voice_enabled |
rm ~/.claude/voice_enabled |
Using from any AI agent or script
Any agent can invoke the TTS engine directly:
# Speak text silently (no window, blocks until audio finishes)
venv/bin/python tts.py "Your message here" --autoplay
# Show the interactive playback controller
venv/bin/python tts.py "Your message here" --play
# Save to WAV file
venv/bin/python tts.py "Your message here" --out output.wav
Windows uses `venv\Scripts\python.exe` instead of `venv/bin/python`.
Installation
Prerequisites by platform
**Windows 10/11**
| Requirement | Notes |
|---|---|
| Python 3.10+ | [python. |
Related Skills
Nirva
NIRVA — a local, personalised hybrid AI agent for Windows. Offline speech recognition (Whisper) and speech syn
Lyns Voice
The voice of Claude Code - speak with Oracle. Local-first desktop app: on-device Whisper STT + neural Kokoro T
Tsukumo
Give your AI agent a body: a 3D VRM desktop companion that becomes the face and voice of Claude Code, Codex, G
Agent Finished
Your AI agents tell you when they're done, out loud: Windows notification + spoken message. 223 voices (local
AI Social Media Content
Create AI-powered social media content for TikTok, Instagram, YouTube, Twitter/X. Generate: images, videos, re
Deskhatch
Turn any AI-generated HTML (Claude artifacts, ChatGPT, your own) into a real desktop app: own icon, window, no
Related Agents
Voice Engineer
GAIA voice interaction specialist. Use PROACTIVELY for Whisper ASR, Kokoro TTS, the Talk SDK, speech-to-speech
QA Voice
Voice-powered QA assistant. Browses websites with Playwright, speaks questions via TTS, listens to voice respo
Speech Engineer
Implements Spark's STT and TTS backends (faster-whisper, Deepgram, Piper, Kokoro ONNX, ElevenLabs), model down