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.
curl -O https://raw.githubusercontent.com/drakulavich/kesha-voice-kit/main/.claude/skills/tts-internals/SKILL.mdgit clone --depth 1 https://github.com/drakulavich/kesha-voice-kitWrote 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.
[](https://agentmods.dev/skills/drakulavich/kesha-voice-kit/tts-internals)<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.
<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>- NVIDIA SkillSpector warn
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.
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00104 | $0.03113 |
| Opus 5.5 | $0.00042 | $0.01245 |
| Sonnet 5.5 | $0.00021 | $0.00623 |
| Haiku 4.5 | $0.00010 | $0.00311 |
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 5d 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 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, shipped in the darwin-arm64darwinprofile;kesha installplacessay-avspeech-darwin-arm64next 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-downloaded —
kesha sayfails loudly with akesha install --ttshint when models are missing. kesha saywrites WAV mono f32 to stdout unless--outis given. Stderr is progress/errors only.- G2P split: English (
en/en-us/en-gb) uses embeddedmisaki-rs(Kokoro-trained inventory, no system deps, OOV letter-spell); Russian uses Vosk-TTS internals (BERT prosody + dictionary, no system deps);es/fr/it/ptuse CharsiuG2P on ONNX builds and FluidAudio's own G2P on darwin-arm64system_kokoro(see below); every other language bails out ofg2p::text_to_ipa_cachedwith a pointer to #212 — darwin-arm64hi/ja/zhnever reach that function at all (#492, below). - Auto-routing: omitted
--voiceasks the engine to detect the text language (detectTextLanguageEngine) and picksen-am_michael,macos-com.apple.voice.compact.ru-RU.Milenaon darwin Russian, orru-vosk-m02elsewhere. 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,<break time="...">,<phoneme alphabet="ipa" ph="...">,<say-as interpret-as="characters">,<emphasis level="...">and whole-utterance<prosody rate="...">(otherinterpret-asvalues and mid-utterance prosody warn and fall back to plain text; FluidAudio Kokoro cannot take IPA or letter-spell, so there<phoneme>and<say-as characters>warn once and read the wrapped text); rejects<!DOCTYPE>; unknown tags warn once and strip tags while synthesizing contained text.tts::ssml::parsereturnsVec<Segment>;tts::say()loads the engine once, concatenates text/silence f32 samples, then callswav::encode_wav. Scope/future tags: #122.
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.
- 5d ago Changed · +2 lines df89915a001b
- 1mo ago Changed · -4 lines dd6f86ee8a5d
- 1mo ago Changed 549a75a9ca79
- 1mo ago Changed · +2 lines 472f0f08ab50
- 2mo ago Changed 0cb7995d7057
- 2mo ago First seen · 104 lines · 104 tokens per session scan A acfd71159622
tts-internals is a skill published in the GitHub repository drakulavich/kesha-voice-kit (79 stars, last pushed 3d ago), licensed MIT. It adds 104 tokens to every session and 3,113 once invoked, about $0.0004 per session on Opus 5.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.
tts-internals compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tts-internalsdrakulavich/kesha-voice-kit | Skill | 79 | 3d ago | MIT | A | 104 | Claude Code |
| benchmarksoniqo/speech-swift | Skill | 1.3k | yesterday | Apache-2.0 | A | 0 | Claude Code |
| review-prsoniqo/speech-swift | Skill | 1.3k | yesterday | Apache-2.0 | A | 71 | Claude Code |
| biopythonsynthetic-sciences/openscience | Skill | 4.3k | 2d ago | Apache-2.0 | A | 76 | Claude Code, Codex |
| better-t-stackAmanVarshney01/create-better-t-stack | Skill | 5.9k | 13d ago | MIT | A | 149 | Claude Code, Codex |
| quantum-qiskitaiming-lab/AutoResearchClaw | Skill | 15k | 2mo ago | MIT | A | 102 | Claude Code, Codex |
| rust-crate-ciZaxbyHub/opencode-swarm | Skill | 518 | today | MIT | A | 60 | Claude Code |