sag

Convert text to speech locally using the sag CLI with ElevenLabs keys.

1.0k|59|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/SafeAI-Lab-X/ClawKeeper --skill sag-safeai-lab-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sag
Source: https://github.com/SafeAI-Lab-X/ClawKeeper/tree/main/legacy/clawkeeper-watcher/skills/sag
Command: npx skills add https://github.com/SafeAI-Lab-X/ClawKeeper --skill sag-safeai-lab-x

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Sag enables local text-to-speech generation using the ElevenLabs API via the sag CLI, delivering natural audio output with minimal setup.

Core Features & Use Cases

  • Local playback and on-device synthesis for quick demos and offline-like workflows.
  • API key management and straightforward voice selection to match different personas.
  • Use cases include interactive assistants, accessibility, demos, and narrated content.

Quick Start

Speak a sample text locally using sag to hear the ElevenLabs TTS in action.

Frequently Asked Questions about sag

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate text-to-speech audio locally using the ElevenLabs API?

You can generate text-to-speech audio locally by using the sag CLI with your ElevenLabs API key. It processes text input on-device to produce natural voice synthesis and manage audio playback directly within your local environment.

Can I customize the voice output when using ElevenLabs TTS for local playback?

Yes, local voice customization is supported through optional voice parameters passed to the sag CLI. You can select different voices to match specific personas for your interactive assistants, accessibility tools, or narrated content demos.

What do I need to set up local ElevenLabs text-to-speech synthesis on my machine?

To set up local text-to-speech synthesis, you need the sag binary installed on your system and an ELEVENLABS_API_KEY. Once these are configured, you can rapidly generate speech prompts and manage audio playback.

Does local TTS generation with the sag CLI work without an active internet connection?

Local TTS generation with sag requires an internet connection to communicate with the ElevenLabs API for voice synthesis. However, it provides an offline-like workflow experience by managing audio generation and rapid demo playback directly on your device.

What is the best way to manage API keys for on-device voice synthesis?

The best way to manage API keys for on-device voice synthesis is configuring the ELEVENLABS_API_KEY environment variable before running the sag CLI. This enables straightforward voice selection and seamless text-to-speech generation.

When should I use a local CLI tool for voice synthesis instead of a web-based TTS platform?

Use a local CLI tool for voice synthesis when you need rapid demo playback, on-device audio generation management, and integration into existing command-line workflows. It is ideal for interactive assistants and accessibility applications requiring quick local audio output.