Back to Skills

sag

ElevenLabs text-to-speech with mac-style say UX.

207,212stars37,967forksUpdated 2/18/2026

Security Assessment

Safe(100/100)
Security Score100/100

About sag

The 'sag' skill provides a powerful solution for ElevenLabs' text-to-speech (TTS) functionality with an emphasis on local playback, making it ideal for applications that require high-quality speech synthesis. It integrates seamlessly with the ElevenLabs API, allowing users to generate lifelike speech in a variety of voices. By using 'sag', users can easily convert text into speech with customizable voices and delivery styles, addressing the need for flexible, realistic TTS solutions in various scenarios such as accessibility, media production, and interactive voice applications.

FAQ

What API keys are required to use sag?

To use 'sag', you need the 'ELEVENLABS_API_KEY', which is the preferred option. Alternatively, the 'SAG_API_KEY' is also supported for CLI usage.

How do I install sag?

You can install 'sag' using Homebrew by running the command 'brew install steipete/tap/sag'. This will install the 'sag' binary and all required dependencies.

What are the voice options available in sag?

The 'sag' skill supports several voices, including the default 'eleven_v3' (expressive), 'eleven_multilingual_v2' (stable), and 'eleven_flash_v2_5' (fast). You can select a voice with the '-v' flag and adjust the delivery style using specific audio tags like '[whispers]', '[shouts]', and '[sings]'.

Can I use sag for generating voice responses in a chat?

Yes, you can generate voice responses by running a command like 'sag -v Clawd -o /tmp/voice-reply.mp3 "Your message here"' and then include the generated audio file in the response as 'MEDIA:/tmp/voice-reply.mp3'.

Are there any limitations to the SSML support in sag?

Yes, the 'sag' skill does not fully support SSML `<break>` tags in the 'v3' model. Instead, use `[pause]`, `[short pause]`, or `[long pause]` to manage pauses in speech. Models like 'v2' and 'v2.5' support the SSML `<break>` with time attributes but do not expose `<phoneme>`.

Install sag

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill