setup-api-key

Installation
Summary

Interactive guide for obtaining and configuring an ElevenLabs API key.

  • Checks for existing ELEVENLABS_API_KEY in environment or .env file and validates it before prompting for setup
  • Walks users through account creation and key generation at elevenlabs.io, with clear copy-paste instructions
  • Validates the provided key via API call to https://api.elevenlabs.io/v1/user and saves it to .env on success
  • Requires internet access to elevenlabs.io and api.elevenlabs.io; retries validation once if the key fails initially
SKILL.md

ElevenLabs API Key Setup

Guide the user through obtaining and configuring an ElevenLabs API key.

Workflow

Step 0: Check for an existing API key first

Before asking the user for a key, check for an existing ELEVENLABS_API_KEY:

  1. Check whether ELEVENLABS_API_KEY exists in the current environment.
  2. If it's not in the environment, check .env for ELEVENLABS_API_KEY=<value>.
  3. If an existing key is found, validate it:
    GET https://api.elevenlabs.io/v1/user
    Header: xi-api-key: <existing-api-key>
    
  4. If existing key validation succeeds:
    • Tell the user ElevenLabs is already configured and working
Related skills

More from elevenlabs/skills

Installs
2.5K
GitHub Stars
230
First Seen
Jan 27, 2026