mcpbeat Sign in

Setup API Key Agent Skill

Guides users through setting up an ElevenLabs API key for ElevenLabs MCP tools. Use when the user needs to configure an ElevenLabs API key, when ElevenLabs tools fail due to missing API key, or when the user mentions needing access to ElevenLabs. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.

963 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
405
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/elevenlabs/skills --skill setup-api-key

The instruction itself

6 sections, as written by the author

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:

  • Check whether ELEVENLABS_API_KEY exists in the current environment. If it does, use that value for this initial check.
  • Only if it is not in the environment, check .env for ELEVENLABS_API_KEY=<value>.
  • Do not print, quote, or repeat the key. If you mention it, redact it.
  • If an existing key is found, validate it:
   GET https://api.elevenlabs.io/v1/user
   Header: xi-api-key: <existing-api-key>
  • If existing key validation succeeds:
  • Tell the user ElevenLabs is already configured and working
  • Skip the setup flow
  • Ask whether they want to replace/rotate the key; if not, stop
  • If existing key validation fails:
  • Tell the user the existing key appears invalid or expired
  • Continue to Step 1

Step 1: Request the API key

Tell the user:

> To set up ElevenLabs, open the API keys page: https://elevenlabs.io/app/settings/api-keys

>

> (Need an account? Create one at https://elevenlabs.io/app/sign-up first)

>

> If you don't have an API key yet:

> 1. Click "Create key"

> 2. Name it (or use the default)

> 3. Set permission for your key. If you provide a key with "User" permission set to "Read" this skill will automatically verify if your key works

> 4. Click "Create key" to confirm

> 5. Copy the key immediately - it's only shown once!

>

> Do not paste the key into this chat. Instead, copy/paste it into your local .env file:

>

> `

> ELEVENLABS_API_KEY=your-api-key

> `

>

> If .env already has an ELEVENLABS_API_KEY=... line, replace that line.

> Tell me when you've saved it, without sharing the key.

Then wait for the user to confirm that the key is saved locally.

Step 2: Validate and configure

After the user says the key is saved:

  • Re-check both .env and the current environment for ELEVENLABS_API_KEY, but treat .env as the source of truth for this step.
  • If .env contains a value, validate that value even when the current environment also has a different ELEVENLABS_API_KEY.
  • If .env does not contain the key:
  • Tell the user .env does not appear to contain ELEVENLABS_API_KEY.
  • Show the expected line again.
  • If the current environment does contain a key, note that this step still requires saving the key in .env.
  • Remind them not to paste the key into chat.
  • If a .env key is found, validate it:
   GET https://api.elevenlabs.io/v1/user
   Header: xi-api-key: <local-api-key>
  • If validation fails:
  • Tell the user the local key appears invalid or expired.
  • Remind them of the API keys page.
  • Ask them to replace the .env value and tell you when it is saved.
  • If validation succeeds, confirm:

> Done. ElevenLabs is configured and the key in .env works.

Safety Rules

  • Never ask the user to paste an API key, token, or secret into chat.
  • Never print or echo API key values from environment variables or .env.
  • Prefer .env or managed secrets over shell history for persistent local configuration.
  • For browser or client-side apps, keep ELEVENLABS_API_KEY on the server and issue short-lived tokens where applicable.

Other skills for the same job

different authors, same section of the catalogue
MCP Builder
by anthropics
vendor ×13

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

30k tokens scripts
Changelog Generator
by frostant
×9

Automatically creates user-facing changelogs from git commits by analyzing commit history, categorizing changes, and transforming technical commits into clear, customer-friendly release notes. Turns hours of manual changelog writing into minutes of automated generation.

774 tokens
Finishing A Development Branch
by ZhanlinCui
×7

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

1k tokens
MCP Builder
by JayZeeDesign
×7

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

37k tokens scripts
Vercel React Native Skills
by vercel-labs
vendor ×6

React Native and Expo best practices for building performant mobile apps. Use when building React Native components, optimizing list performance, implementing animations, or working with native modules. Triggers on tasks involving React Native, Expo, mobile performance, or native platform APIs.

39k tokens
Vercel React Best Practices
by ratacat
×5

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

34k tokens
Next Best Practices
by vercel-labs
vendor ×4

Next.js best practices - file conventions, RSC boundaries, data patterns, async APIs, metadata, error handling, route handlers, image/font optimization, bundling

20k tokens
Using Git Worktrees
by ZhanlinCui
×4

Use when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees with smart directory selection and safety verification

1k tokens

How to use it

Copy the folder

Take elevenlabs/setup-api-key from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.