kesha-voice-kit: Skill for Claude Code

.claude/skills/tts-internals/SKILL.md

tts-internals is a skill for Claude Code from drakulavich/kesha-voice-kit. It costs 104 tokens per session (3,122 once invoked), scanned A, original, MIT.

Technical guidance for Kesha's text-to-speech system, including voice selection, speech engines, model inputs and outputs, pronunciation handling, markup, languages, and environment settings. Text-to-speech creates spoken audio from written text.

In plain words
What is it for?
Use it when changing or debugging Kesha TTS internals, voice IDs, Kokoro or Vosk models, pronunciation conversion, SSML, multilingual output, or TTS environment variables.
Why use it?
It explains which engine handles each voice and what installation or platform requirements apply. This helps diagnose missing models, language behavior, audio formats, and voice-routing problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is drakulavich/kesha-voice-kit's own configuration. It tells Claude Code how to work on kesha-voice-kit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kesha-voice-kit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to drakulavich/kesha-voice-kit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/drakulavich/kesha-voice-kit/main/.claude/skills/tts-internals/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/drakulavich/kesha-voice-kit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tts-internals

README.md
[![agentmods](https://agentmods.dev/badge/skills/drakulavich/kesha-voice-kit/tts-internals/github.svg)](https://agentmods.dev/skills/drakulavich/kesha-voice-kit/tts-internals)
Your own site
<a href="https://agentmods.dev/skills/drakulavich/kesha-voice-kit/tts-internals"><img src="https://agentmods.dev/badge/skills/drakulavich/kesha-voice-kit/tts-internals/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tts-internals

Your own site · 80×15
<a href="https://agentmods.dev/skills/drakulavich/kesha-voice-kit/tts-internals"><img src="https://agentmods.dev/badge/skills/drakulavich/kesha-voice-kit/tts-internals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,122 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 81
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.03122
Opus 5 $0.00052 $0.01561
Sonnet 5 $0.00021 $0.00624
Haiku 4.5 $0.00010 $0.00312

Measured 7d ago against content hash 0cb7995d7057, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

tts-internals scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `KESHA_MODEL_MIRROR` — redirect HF downloads to an internal mirror (#121), preserving `/<owner>/<repo>/resolve/<ref>/<file>` for `wget --mirror`; empty/unset = no-op. Rust `models/download.rs::apply_mirror` and TS `sta
.claude/skills/tts-internals/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

TTS internals

Engines

Text-to-speech via three engines selected by voice id prefix:

  • en-*Kokoro-82M. Separate model + per-voice style embedding. Output 24 kHz.
  • ru-*Vosk-TTS (alphacep/vosk-tts). Multi-speaker model, 5 baked-in speakers. Output 22.05 kHz.
  • macos-*AVSpeechSynthesizer Swift sidecar (#141). Zero model download, notification-grade quality, darwin-arm64 release feature set coreml,tts,system_tts; kesha install places say-avspeech-darwin-arm64 next to the engine and runtime lookup is sibling-first (rust/src/tts/avspeech.rs::helper_path).

Install Kokoro + Vosk-TTS explicitly with kesha install --tts (~990 MB). macos-* voices use installed macOS voices and need no model install.

Behavior, G2P, and SSML

  • TTS models are never auto-downloadedkesha say fails loudly with a kesha install --tts hint when models are missing.
  • kesha say writes WAV mono f32 to stdout unless --out is given. Stderr is progress/errors only.
  • G2P split: English (en/en-us/en-gb) uses embedded misaki-rs (Kokoro-trained inventory, no system deps, OOV letter-spell); Russian uses Vosk-TTS internals (BERT prosody + dictionary, no system deps); es/fr/it/pt use CharsiuG2P on ONNX builds and FluidAudio's own G2P on darwin-arm64 system_kokoro (see below); every other language bails out of g2p::text_to_ipa_cached with a pointer to #212 — darwin-arm64 hi/ja/zh never reach that function at all (#492, below). espeak-ng (#210) was retired in #214, which also dropped CharsiuG2P (#123) once it had no callers left; CharsiuG2P came back for the Romance languages in #509, closing #212.
  • Auto-routing: omitted --voice calls TS NLLanguageRecognizer and picks en-am_michael, macos-com.apple.voice.compact.ru-RU.Milena on darwin Russian, or ru-vosk-m02 elsewhere. Confidence < 0.5 or unmapped language falls to engine default. Routing table: src/voice-routing.ts::pickVoiceForLang.
  • SSML (--ssml): ssml-parser; supports required <speak> root and <break time="...">; rejects <!DOCTYPE>; unknown tags (<emphasis>, <prosody>, <phoneme>, <say-as>) warn once and strip tags while synthesizing contained text. tts::ssml::parse returns Vec<Segment>; tts::say() loads the engine once, concatenates text/silence f32 samples, then calls wav::encode_wav. Scope/future tags: #122.

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed 0cb7995d7057
  2. 11d ago First seen · 104 lines · 104 tokens per session scan A acfd71159622

Subscribe to this mod's changes

tts-internals is a skill published in the GitHub repository drakulavich/kesha-voice-kit (73 stars, last pushed yesterday), licensed MIT. It adds 104 tokens to every session and 3,122 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

benchmark

Run performance + quality benchmarks. ASR reports WER, RTF, process memory, and throughput across engines/variants. Arguments include asr, tts, vad, diarize, asr-quick.

soniqo/speech-swift · 0 tokens

review-pr

Review a pull request for conceptual fit, architecture impact, adversarial failure modes, security risk, docs impact, regression risk, test coverage, and merge readiness. Use when asked to review a PR, check whether a PR is safe to merge, decide if more tests are needed, perform adversarial or security review, or…

soniqo/speech-swift · 71 tokens

yw-transcribe

A workflow for transcribing one local audio or video file into a traceable Chinese or mixed Chinese-English transcript, with optional timestamps and subtitle files.

yuwen-cool/yw-transcribe · 131 tokens

whisper

OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual…

OpenLAIR/dr-claw · 67 tokens

whisper

OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual…

synthetic-sciences/openscience · 67 tokens

voice-settings

Choose Cadence Code's local speech and transcription models from the Codex or Antigravity UI. Use only when the user explicitly invokes $voice-settings, /voice-settings, or asks to open Cadence Code settings.

michael-L-i/cadence-code · 47 tokens