Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add psd401/psd-claude-plugins/plugin install psd-productivityWrote 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/psd401/psd-claude-plugins/local-tts)<a href="https://agentmods.dev/skills/psd401/psd-claude-plugins/local-tts"><img src="https://agentmods.dev/badge/skills/psd401/psd-claude-plugins/local-tts.svg" alt="Measured on agentmods" height="20"></a>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.00016 | $0.01000 |
| Opus 5 | $0.00008 | $0.00500 |
| Sonnet 5 | $0.00003 | $0.00200 |
| Haiku 4.5 | $0.00002 | $0.00100 |
Grade A, and why
local-tts scanned grade A with 0 findings 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 6d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to local-tts — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Local TTS Skill
Generate high-quality speech audio locally using Apple Silicon MLX acceleration and the Kokoro-82M model. No API keys or recurring costs.
Quick Start
# Generate MP3 from text
uv run --with mlx-audio --with pydub skills/local-tts/scripts/generate_audio.py \
--text "Hello, this is a test." \
--output ~/Desktop/test.mp3
# Generate from file
uv run --with mlx-audio --with pydub skills/local-tts/scripts/generate_audio.py \
--file /tmp/script.txt \
--voice af_heart \
--output ~/Desktop/podcast.mp3
# List available voices
uv run --with mlx-audio skills/local-tts/scripts/list_voices.py
Parameters
| Parameter | Required | Default | Description |
|---|---|---|---|
--text |
One of text/file | - | Text to convert |
--file |
One of text/file | - | Path to text file |
--voice |
No | af_heart |
Voice preset |
--output |
Yes | - | Output file path (.mp3, .wav) |
--model |
No | Kokoro-82M-bf16 |
Model to use |
--list-voices |
No | - | Show available voices |
Voice Presets
American English Female (prefix: af_)
af_heart- Warm, friendly (default)af_bella- Soft, calmaf_nova- Clear, professionalaf_river- Clear, confidentaf_sarah- Soft, expressive
American English Male (prefix: am_)
am_adam- Clear, professionalam_echo- Deep, smootham_liam- Articulate, conversationalam_michael- Soft, measured
British English (prefix: bf_, bm_)
bf_emma- Clear, refined femalebm_daniel- Clear, professional malebm_george- Distinguished male
See references/voices.md for full list.
Output Format
{
"success": true,
"file": "/Users/hagelk/Desktop/podcast.mp3",
"voice": "af_heart",
"model": "Kokoro-82M-bf16",
"characters": 9824,
"chunks": 20,
"duration_seconds": 612.5,
"generation_time": 45.2
}
Performance
| Hardware | Speed | Notes |
|---|---|---|
| M3 Pro 36GB | ~3-4x realtime | First run slower (model loading) |
| M1/M2 Mac Mini 8GB | ~1.5x realtime | Works well for briefings |
| M1/M2 Mac Mini 16GB | ~2x realtime | Comfortable headroom |
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 6d ago First seen · 119 lines · 16 tokens per session scan A 75496fff5472
local-tts is a skill published in the GitHub repository psd401/psd-claude-plugins (2 stars, last pushed 5d ago), licensed MIT. It adds 16 tokens to every session and 1,000 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to local-tts, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
general-video
Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
diagnostic-stem-delivery
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.
chengfeng-check-updates
An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.