Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/serejaris/kimi-skillsnpx agentmods add skills/serejaris/kimi-skills/audio_generationWrote 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/serejaris/kimi-skills/audio_generation)<a href="https://agentmods.dev/skills/serejaris/kimi-skills/audio_generation"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/audio_generation/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/serejaris/kimi-skills/audio_generation"><img src="https://agentmods.dev/badge/skills/serejaris/kimi-skills/audio_generation.svg" alt="Reviewed on agentmods" width="80" 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.00172 | $0.01292 |
| Opus 5.5 | $0.00069 | $0.00517 |
| Sonnet 5.5 | $0.00034 | $0.00258 |
| Haiku 4.5 | $0.00017 | $0.00129 |
Grade A, and why
audio_generation 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 3mo 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.
the audio to your `output` path with `curl` (allowing up to 5 minutes). The How it starts
The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Audio Generation
Use this skill to generate audio. There are two distinct flows — pick the one that matches the user's intent:
- Generate speech (text-to-speech): the user wants spoken audio of some
text. Use the
speechflow. - Generate sound effects: the user wants a sound effect / ambience / SFX
described in words. Use the
sound-effectsflow.
Setup
Before the first use, ensure the agent-gw Python SDK (version 0.2.6 or newer) is installed. This checks the current environment and installs or upgrades it only when needed:
python3 scripts/audio_generation_tool.py ensure-deps
The SDK needs an API key from api_key=..., KIMI_API_KEY, or
~/.kimi/agent-gw.json.
Choosing the flow
- If the user wants their text read aloud / a voiceover / TTS → speech.
- If the user wants a sound effect, ambience, music bed, or SFX described in words → sound-effects.
Then build the parameters for that flow, run the matching command, and on success surface the saved mp3 to the user. On failure, explain the error from the script; do not invent audio or a local path.
Flow A — Generate speech (text-to-speech)
Parameters:
text(required): the text to convert to speech.voice_id(required): one of the supported voices below. Default is05Cdh2gw2NMzDvykn1nm.output(required): local output path ending in.mp3.
Supported voice IDs:
05Cdh2gw2NMzDvykn1nm: calm middle-aged Mandarin male (default)Q63G7WZ5riIGbK8KmqO9: energetic young Mandarin maleNLl76XZRVj1RVeXptX3h: warm Mandarin femaleAt6gj9vUVdJhTriBsuxE: cheerful Mandarin female
Best practices: use punctuation and formatting for natural speech, and break long texts into smaller segments for better quality.
python3 scripts/audio_generation_tool.py speech \
--text "你好,欢迎使用 Kimi。" \
--voice-id "05Cdh2gw2NMzDvykn1nm" \
--output "/path/to/output.mp3"
This sends {"text", "voice_id"} to the gateway generate_speech API.
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.
- 3mo ago First seen · 142 lines · 172 tokens per session scan A 97ffa62bd652
audio_generation is a skill published in the GitHub repository serejaris/kimi-skills (13 stars, last pushed 4mo ago), licensed MIT. It adds 172 tokens to every session and 1,292 once invoked, about $0.0007 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-31.
audio_generation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| audio_generationserejaris/kimi-skills | Skill | 13 | 4mo ago | MIT | A | 172 | Claude Code, Codex |
| fiscalisteromainsimon/paperasse | Skill | 2.6k | 18d ago | MIT | A | 306 | Claude Code |
| human-in-the-loop-designmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 120 | Claude Code |
| ai-assisted-performance-reviewmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 122 | Claude Code |
| site-analysis-reportmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 101 | Claude Code |
| pr-description-writermohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 80 | Claude Code, Codex |
| agent-incident-postmortemmohitagw15856/pm-claude-skills | Skill | 1.6k | today | MIT | A | 120 | Claude Code |