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

  1. Compress the user-provided text per the instructions below — the model performs this transform directly when the skill/command is invoked.
  2. Synthesize the compressed text with Gemini TTS (gemini-2.5-flash-preview-tts, voice Kore, response_format: pcm) using the fixed key baked into the script.
  3. Save the raw PCM to ~/doc_tts/<short_name>.pcm (always, for every caller).
  4. 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:

Installs
1
Repository
144126/skills
First Seen
Sep 30, 2026