Vibe Tts — Development skill for Claude Code
独立 TTS(配音)技能:edge 预置音色与 IndexTTS-2.5 本地声音克隆,文本加风格一步产出 mp3.
How to install Vibe Tts
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ThreeFish-AI/vibe-tts and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Vibe Tts does
独立 TTS(配音)技能:edge 预置音色与 IndexTTS-2.5 本地声音克隆,文本加风格一步产出 mp3.
Alternatives in Development
- Codenotch — A macOS app that pins usage limits from Claude Code, Cursor, Codex, and Antigravity to a screen edge 1.3k ★
- HERO Anti OverDefense — HERO = Hashing · Edge cases · Rubrics · Overbuild — the four shapes coding agents over-defend in 333 ★
- Google Tts — Text-to-speech narration and podcast generation using Google Cloud TTS 159 ★
README
vibe-tts
把一段文字配成 `.mp3`:给文本和风格,选引擎,产出落到环境变量指定的统一目录。
- edge:微软预置音色,联网免密钥,几秒出声。
- index-tts 2.5:本地 IndexTTS-2.5 声音克隆,用你自己的声音、
story等段落演绎风格朗读。
# 默认 edge
uv run --no-project --with edge-tts --with mutagen scripts/vibe_tts.py say \
--text "今天我们拆解的是:Agent Skills"
# 本人声音克隆 + story 风格(须本人显式授权,见下)
uv run --no-project --with mutagen --with soundfile --with numpy scripts/vibe_tts.py say \
--engine index-tts --final-voice --style story \
--ref ~/voices/me-bright.wav --expect-ref-sha1 54b699cce97f \
--text "今天我们拆解的是:Agent Skills"
stdout 最后一行是回执 JSON:
{"path": "…/今天我们拆解的是-agent-skills.847fb978afff.mp3", "durationSec": 3.471, "sampleRate": 22050, "engine": "index-tts", "style": "story", "cached": false, "chunks": 1}
核心能力
- 一句话出 mp3:文本来源
--text或--text-file;输出目录--out-dir,缺省读VIBE_TTS_OUTPUT_DIR,两者皆无则大声退出,不替你选落点。 - 风格即数据:10 个风格预设(
story、sunny-steady、passionate…),vibe-video 经委托复用;vibe_tts.py styles查看。 - 长文本不丢字:index-tts 上游单请求约 36 秒封顶、超出的尾部会被静默吞掉,vibe-tts 按句界分块逐块合成再拼接,不需要 ffmpeg。
- 缓存:同文本同参数直接命中;index-tts 另有块级版本库,改一句只重合成变更的块。
- 服务按需起停:index-tts 服务未就绪时自动拉起,合成完只停自己拉起的实例;若仍被其他进程占用,不杀,起有界 watchdog 巡检到连续空闲再停。
安装
前置:[uv](https://docs.astral.sh/uv/);index-tts 引擎另需 macOS、本地 `~/tools/index-tts`(IndexTTS-2.5 权重,约 10 GiB 常驻内存)与你自己的声音样本。
git clone https://github.com/ThreeFish-AI/vibe-tts ~/Documents/projects/aurelius/vibe-tts
ln -sfn ~/Documents/projects/aurelius/vibe-tts ~/.claude/skills/vibe-tts # Claude Code
ln -sfn ~/Documents/projects/aurelius/vibe-tts ~/.agents/skills/vibe-tts # 其他宿主
务必用 `ln -sfn`:不带 `-n` 时,目标已是目录软链会在仓内造出自指嵌套。装好后重启会话才能发现新 skill。
验证:`python3 ~/.claude/skills/vibe-tts/scripts/vibe_tts.py styles` 能列出风格表。
指定统一输出目录(建议写进 `~/.claude/settings.json` 的 `env` 块):
{ "env": { "VIBE_TTS_OUTPUT_DIR": "~/Documents/vibe-tts-output" } }
声音与授权
index-tts 用的是**本人声音克隆**,这是生物特征资产:
- 默认引擎是 edge;index-tts 须由本人明确要求并显式带
--final-voice,缺此 flag 的实跑硬失败。Agent
Related Skills
PDF To Tts Zh Skill
Turn a PDF into a single narrated Traditional Chinese audiobook MP3 via edge-tts. Install: npx skills add htli
CodeTalk
A spoken reflection layer for Claude Code CLI — gives Claude a voice using edge-tts
Terminal Talk
Hands-free voice output for Claude Code on Windows. Free, MIT licensed, no signup, no accounts. Microsoft Edge
Claude Voice System
Add self-learning voice notifications for Claude Code with edge-tts, phrase pools, priority queues, and anti-r
Catacomb Abbyss Md
A W.I.P. vibe-port of Softdisk's The Catacomb Abyss (Gamer's Edge shareware v1.13, 1992) to the Sega Genesis /
R2D2 Agent Sound
Play a custom MP3 sound in Claude Code when waiting for permission or user input
Related Agents
Personal Ingest
Ingests personal/private material — meeting notes (Granola, pasted, hand-summarized), voice memos (.opus / .m4
Seminar Transcriber
세미나·강연 녹음 파일(m4a/mp3/wav/mp4)을 전사 텍스트로 변환한다. 오디오→텍스트 변환, 자막 파일 정제, 화자 구간 분리, 타임코드 정리 작업에 위임한다. 판단이 아니라 기계적 변환만
Voice Engineer
GAIA voice interaction specialist. Use PROACTIVELY for Whisper ASR, Kokoro TTS, the Talk SDK, speech-to-speech