speak-doc
Installation
SKILL.md
Speak Doc
Turns a body of text into a spoken summary. The model first compresses the text into a clean series of statements of fact, then the result is synthesized with Gemini TTS and played aloud.
What it does
- Compress the user-provided text per the instructions below — the model performs this transform directly when the skill/command is invoked.
- Synthesize the compressed text with Gemini TTS (
gemini-2.5-flash-preview-tts, voiceKore,response_format: pcm) using the fixed key baked into the script. - Save the raw PCM to
~/doc_tts/<short_name>.pcm(always, for every caller). - Play it with
sox(play). Press Ctrl+S to stop playback.
The speak_doc command
The script lives at ~/.agents/skills/speak-doc/lib/speak_doc.sh and is
symlinked onto PATH as speak_doc, so you can run it from anywhere: