ElevenLabs Skills

Skill

ElevenLabs 官方技能集:文本转语音、语音转文字、音效与音乐生成、变声、人声分离、多语种配音以及语音 agent 搭建。需要 ElevenLabs API Key。

elevenlabs/skills600
README

LOGO

ElevenLabs Skills

Agent skills for ElevenLabs developer products. These skills follow the Agent Skills specification and can be used with any compatible AI coding assistant.

Installation

npx skills add elevenlabs/skills

Available Skills

SkillDescription
text-to-speechConvert text to lifelike speech using ElevenLabs' AI voices
speech-to-textTranscribe audio files to text with timestamps
speech-engineAdd real-time voice conversations to a custom LLM or chat agent
realtimeRun agents on ElevenLabs Realtime models, or migrate an OpenAI Realtime voice app to them
agentsBuild conversational voice AI agents
sound-effectsGenerate sound effects from text descriptions
musicGenerate music tracks using AI composition
voice-changerTransform the voice in an audio recording into a different target voice (speech-to-speech)
voice-isolatorRemove background noise and isolate vocals/speech from audio
dubbingDub audio/video into other languages while preserving the original speakers' voices
onboardingAdd ElevenLabs to a project from scratch: sign-in, API key, SDK and a first request
setup-api-keyFix or hand-configure an existing ElevenLabs API key

Configuration

All skills require an ElevenLabs API key in ELEVENLABS_API_KEY. The onboarding skill puts one in your project's env file for you. To set one by hand:

export ELEVENLABS_API_KEY="your-api-key"

Keys come from the API keys page; the setup-api-key skill helps with an existing key that stopped working or was issued by an administrator.

SDK Support

Most skills include examples for:

  • Python - pip install elevenlabs
  • JavaScript/TypeScript - npm install @elevenlabs/elevenlabs-js
  • CLI - npm install -g @elevenlabs/cli or brew install elevenlabs/tap/elevenlabs (wraps the REST API; reads ELEVENLABS_API_KEY automatically)

JavaScript SDK Warning: Always use @elevenlabs/elevenlabs-js. Do not use npm install elevenlabs (that's an outdated v1.x package).

See the installation guide in any skill's references/ folder for complete setup instructions including migration from deprecated packages.

Evaluations

The evals/ directory contains trigger and functional evaluations for all skills.

# Run all evaluations (trigger + functional)
python3 evals/run_all.py -v

# Trigger evals only — tests if skills fire for the right queries (~3 min)
python3 evals/run_all.py --trigger-only -v

# Functional evals only — tests if skills produce correct output (~15 min)
python3 evals/run_all.py --functional-only -v

# Specific skills
python3 evals/run_all.py --skills text-to-speech agents -v

# Custom model (see `cursor-agent --list-models`)
python3 evals/run_all.py --model gpt-5.4-high -v

Results are saved to evals/results/<timestamp>/ with a report.md summary and results.json for programmatic access.

Functional evals use an isolated cursor-agent workspace per test case (under that results tree); they do not modify skill sources under each skill’s directory.

Requires the Cursor Agent CLI (cursor-agent on your PATH; override binary with CURSOR_AGENT) and Cursor authentication (cursor-agent login or CURSOR_API_KEY).

License

MIT