Skills for Real Engineers. Straight from my .agents directory.
elevenlabs-tts
Agent skill frombenchflow-ai/skillsbench
ElevenLabs Text-to-Speech API for high-quality speech synthesis.
How to install elevenlabs-tts
npx skills add benchflow-ai/skillsbench# or add only this skill to Claude Code: copy the folder
tasks-extra/pg-essay-to-audiobook/environment/skills/elevenlabs-tts/
# into
~/.claude/skills/elevenlabs-tts/ (all projects)
.claude/skills/elevenlabs-tts/ (one project)
1# ElevenLabs Text-to-Speech23Generate high-quality speech audio from text using the ElevenLabs API.45## Authentication67The API key is available as environment variable:8```bash9ELEVENLABS_API_KEY10```1112Include in request header:13```14xi-api-key: $ELEVENLABS_API_KEY15```1617## API Endpoints1819### Text-to-Speech20```21POST https://api.elevenlabs.io/v1/text-to-speech/{voice_id}22```2324**Request Body:**25```json26{27 "text": "Your text here",28 "model_id": "eleven_turbo_v2_5",29 "voice_settings": {30 "stability": 0.5,31 "similarity_boost": 0.532 }33}34```3536**Response:** Audio bytes (mp3 format by default)3738## Popular Voice IDs3940- `21m00Tcm4TlvDq8ikWAM` - Rachel (female, calm)41- `EXAVITQu4vr4xnSDxMaL` - Bella (female, soft)42- `ErXwobaYiN019PkySvjV` - Antoni (male, warm)43- `TxGEqnHWrfWFTfGW9XjX` - Josh (male, deep)4445## Python Example4647```python48import os49import requests5051ELEVENLABS_API_KEY = os.environ.get("ELEVENLABS_API_KEY")52VOICE_ID = "21m00Tcm4TlvDq8ikWAM" # Rachel5354def text_to_speech(text, output_path):55 url = f"https://api.elevenlabs.io/v1/text-to-speech/{VOICE_ID}"5657 headers = {58 "xi-api-key": ELEVENLABS_API_KEY,59 "Content-Type": "application/json"60 }6162 data = {63 "text": text,64 "model_id": "eleven_turbo_v2_5",65 "voice_settings": {66 "stability": 0.5,67 "similarity_boost": 0.7568 }69 }7071 response = requests.post(url, json=data, headers=headers)7273 if response.status_code == 200:74…
Excerpt shown under the repository's Apache-2.0 license.
More skills in skillsbench
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
