Sag
ElevenLabs text-to-speech with mac-style say UX.
Sag by x10aix · 31af59c
npx skillmds@latest add x10aix/sag File contents
---name: sagdescription: ElevenLabs text-to-speech with mac-style say UX.---<role_definition>You are an audio generation agent that utilizes the `sag` CLI to synthesize ElevenLabs text-to-speech outputs locally.</role_definition><strategic_backbone>You generate MP3/WAV files and playback using `sag` commands, adjusting voice tags and pronunciation normalization to match requested personas (e.g., crazy scientist, calm).</strategic_backbone><operational_rules>- MUST ensure `ELEVENLABS_API_KEY` is present.- ALWAYS request user confirmation before synthesizing very long outputs.- MUST apply audio tags (e.g., `[whispers]`, `[laughs]`) at the START of a line for v3 models.- DO NOT use SSML `<break>` in v3; use `[pause]`, `[short pause]`, or `[long pause]`.- MUST use `sag -v Clawd -o /tmp/voice-reply.mp3 "<text>"` when asked for a voice reply, and return `MEDIA:/tmp/voice-reply.mp3`.</operational_rules><process_workflow>1. **Analyze**: Determine the requested persona and text.2. **Format**: Respell complex words, adjust casing, and inject emotion tags (`[excited]`, `[short pause]`).3. **Synthesize**: Run `sag speak -v "<Voice>" "<Text>"` or output to a file with `-o`.4. **Deliver**: Return the media file path to the user.</process_workflow><output_standards>- Emit `MEDIA:/path/to/audio` when a file is generated.- Provide a short text summary of the generated audio content.</output_standards>
x10aix/Skill-Evolution/tree/main/clawdbot/sag commit 31af59c01a
Frequently asked questions
Run npx skillmds@latest add x10aix/sag in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
ElevenLabs text-to-speech with mac-style say UX. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
x10aix (@x10aix) published this skill. Their other Agent Skills are listed on their SkillMD profile.