>- Narration and text-to-speech on the user's machine through Guaardvark's Audio Foundry (Chatterbox, Kokoro, Piper) and consent-gated voice cloning from a reference clip. Use when the user wants a voiceover, narration of a script, a spoken line, or "make it sound like this voice".
npx skills add https://github.com/guaardvark/guaardvark --skill voice
Read setup first. Expressive voices need the audio_foundry plugin running;
Piper works without it. B=${GUAARDVARK_URL:-http://localhost:5000}.
| engine | route | when |
|---|---|---|
| Chatterbox | Audio Foundry backend: "chatterbox" | expressive, emotion presets, cloning |
| Kokoro | Audio Foundry backend: "kokoro" | fast, clean, 10+ built-in voices (af_heart default) |
| Piper | /api/voice/text-to-speech | offline fallback, no GPU |
GET $B/api/audio-foundry/voices lists what is installed. GET $B/api/voice/voices lists Piper voices.
curl -s -X POST $B/api/audio-foundry/generate/voice -H 'Content-Type: application/json' -d '{
"text": "The line to speak.",
"backend": "auto", # auto | chatterbox | kokoro
"voice_id": "af_heart", # Kokoro voice, or omit
"emotion": "calm", # Chatterbox preset, or omit
"exaggeration": 0.5, "cfg_weight": 0.5, "temperature": 0.8, # Chatterbox knobs, optional
"seed": 7, "output_format": "wav", "async": true
}'
path, document_id). With "async": true or longtext you get 202 {"job_id"}: poll GET $B/api/audio-foundry/jobs/<job_id> until status
is done; the result has path and document_id. Cancel: POST .../jobs/<job_id>/cancel.
POST $B/api/voice/narrate{"script": "...", "engine": "kokoro", "voice": "...", "pause_between_sections": 0.6, "output_format": "wav"}.
POST $B/api/voice/text-to-speech {"text", "voice": "libritts"} returns audio_url.file paths are refused with 403.
curl -s -X POST $B/api/audio-foundry/voice-clips/upload -F file=@/abs/path/ref.wav -F name="Dean sample"
The response gives the stored path. GET $B/api/audio-foundry/voice-clips lists clips.
"backend": "chatterbox", "reference_clip_path": "<that path>".clone a public figure or anyone who has not agreed. Refuse politely if unclear.
auto falls back to Kokoro on a Chatterbox error.data/outputs/; they also appear in the Audio library page.Take guaardvark/voice from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.