Skip to content
Skillpedia
Audio & voice394k · #77

sag

What it does

It guides an AI agent through the sag command to turn text into speech with ElevenLabs voices and play it locally. It is for people who want spoken audio from written text.

When to use it

  • ✓When you want a spoken version of a message or a short script.
  • ✓When you want to choose a voice or check which voices are available.
  • ✓When a word is pronounced wrongly and you need to fix the speech.

Skill link

https://github.com/openclaw/openclaw/blob/main/skills/sag/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/sag/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Read this short welcome message aloud in a calm voice and play it on my computer.”

5 new skills a week. 1 minute to read.

How it works

The skill sends your text to ElevenLabs with the chosen voice and model, then plays the audio locally. It can respell words or add pauses and expression tags to improve the delivery.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

sag

Use sag for ElevenLabs TTS with local playback.

API key (required)

  • ELEVENLABS_API_KEY (preferred)
  • SAG_API_KEY also supported by the CLI
  • Key file via --api-key-file, ELEVENLABS_API_KEY_FILE, or SAG_API_KEY_FILE

Quick start

  • sag "Hello there"
  • sag speak -v "Roger" "Hello"
  • sag voices
  • sag prompting (model-specific tips)

Model notes

  • Default: eleven_v3 (expressive)
  • Stable: eleven_multilingual_v2
  • Fast: eleven_flash_v2_5

Pronunciation + delivery rules

  • First fix: respell (e.g. "key-note"), add hyphens, adjust casing.
  • Numbers/units/URLs: --normalize auto (or off if it harms names).
  • Language bias: --lang en|de|fr|... to guide normalization.
  • v3: SSML <break> not supported; use [pause], [short pause], [long pause].
  • v2/v2.5: SSML <break time="1.5s" /> supported; <phoneme> not exposed in sag.

v3 audio tags (put at the entrance of a line)

  • [whispers], [shouts], [sings]
  • [laughs], [starts laughing], [sighs], [exhales]
  • [sarcastic], [curious], [excited], [crying], [mischievously]
  • Example: sag "[whispers] keep this quiet. [short pause] ok?"

Voice defaults

  • ELEVENLABS_VOICE_ID or SAG_VOICE_ID

Confirm voice + speaker before long output.

Chat voice responses

When the user asks for a "voice" reply (e.g., "crazy scientist voice", "explain in voice"), generate audio and send it:

# Generate audio file
sag -v Clawd -o /tmp/voice-reply.mp3 "Your message here"

# Then include in reply:
# MEDIA:/tmp/voice-reply.mp3

Voice character tips:

  • Crazy scientist: Use [excited] tags, dramatic pauses [short pause], vary intensity
  • Calm: Use [whispers] or slower pacing
  • Dramatic: Use [sings] or [shouts] sparingly

Default voice for Clawd: lj2rcrvANS3gaWWnczSX (or just -v Clawd)

FAQ

Do I need an ElevenLabs key?

Yes. The skill requires an ElevenLabs API key, set in an environment variable or a key file.

Which voice model is the default?

The default is an expressive model, and stable and fast alternatives are also available.

Can I add emotion to the speech?

Yes. The newer model supports tags such as whispers, laughs, or sighs placed at the start of a line.

Details

Original description by the author

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

repo: openclaw/openclaw

Popularity

GitHub stars
394k
Ranking position
#77
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills