Agent skill

Elevenlabs Install Auth

by jeremylongshore in jeremylongshore/tons-of-skills-marketplace

Install and configure ElevenLabs SDK authentication for Node.js or Python.

MITAuto-check: notesMedia & Creative

Install Elevenlabs Install Auth

skills CLI
$ npx skills add jeremylongshore/tons-of-skills-marketplace --skill elevenlabs-install-auth -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install jeremylongshore/tons-of-skills-marketplace elevenlabs-install-auth --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/.curated/elevenlabs-install-auth .claude/skills/elevenlabs-install-auth && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
elevenlabs-install-auth
GitHub stars
2.8k
Token cost
~1.2k tokens
SKILL.md length
326 words
Files
3 (incl. references)
Skills in repo
3,342
Repo updated
First seen
Licence
MIT

At a glance

Install and configure ElevenLabs SDK authentication for Node.js or Python.

  • Works in 4 steps: Install the SDK → Configure API Key → Initialize the Client → …
  • Setting up a new ElevenLabs project
  • SKILL.md covers Overview, Prerequisites, Instructions and Output, plus 5 more sections
  • Calls npm, pnpm and pip; needs ELEVENLABS_API_KEY

What it does

Elevenlabs Install Auth is an agent skill from jeremylongshore/tons-of-skills-marketplace. Install and configure ElevenLabs SDK authentication for Node.js or Python. Use when setting up a new ElevenLabs project, configuring API keys, or initializing the elevenlabs npm/pip package. Trigger with "install elevenlabs", "setup elevenlabs", "elevenlabs auth", "configure elevenlabs API key", "elevenlabs credentials".

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/examples.md` and `references/implementation.md`). Compatibility notes: Designed for Claude Code

It sits in Media & Creative, covering Text to speech and voice. It works with ElevenLabs, Python, Node.js and npm. The repository describes itself as: Model-agnostic agent-skills platform with a harness-free canonical layer, verified adapters, and the ccpi package manager. Explore at tonsofskills.com. The licence is MIT.

When your agent uses it

  • Setting up a new ElevenLabs project
  • Configuring API keys
  • Initializing the elevenlabs npm/pip package
  • With install elevenlabs

Example prompts

  • “install elevenlabs”
  • “setup elevenlabs”
  • “elevenlabs auth”
  • “/elevenlabs-install-auth”

Requirements

  • Python 3
  • Node.js
  • A credential in ELEVENLABS_API_KEY
  • Compatibility (from SKILL.md): Designed for Claude Code
  • Pre-approved tools (allowed-tools): Write, Bash(npm:*), Bash(pip:*), Bash(pnpm:*)

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Install the SDK
  2. Configure API Key
  3. Initialize the Client
  4. Verify Connection

What it can do on your machine

Read from SKILL.md and the folder at commit cfae287. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Write
    • Bash(npm:*)
    • Bash(pip:*)
    • Bash(pnpm:*)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • npm
    • pnpm
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • elevenlabs.io
    • github.com
    • pypi.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ELEVENLABS_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Designed for Claude Code

    From compatibility in the SKILL.md frontmatter.

Context cost

Elevenlabs Install Auth loads about 1.2k tokens when it runs, and up to ~2.2k if it reads all its reference files. Until then it costs about 87 tokens; SKILL.md has 326 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~87
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:58
    # Or create .env file
  • NoteMentions a .env fileSKILL.md:59
    'ELEVENLABS_API_KEY=sk_your_key_here' >> .env
  • NoteMentions a .env fileSKILL.md:65
    .env
  • NoteMentions a .env fileSKILL.md:66
    .env.local
  • NoteMentions a .env fileSKILL.md:67
    .env.*.local
  • NoteMentions a .env fileSKILL.md:102
    - API key stored in `.env` (git-ignored)
  • NoteMentions a .env fileSKILL.md:123
    'ELEVENLABS_API_KEY=sk_your_key_here' >> .env
  • NoteMentions a .env fileSKILL.md:124
    printf '.env\n' >> .gitignore

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from jeremylongshore/tons-of-skills-marketplace at commit cfae287, republished under its MIT licence (© jeremylongshore). 326 words, ~1,174 tokens.

Download SKILL.mdSave it as .claude/skills/elevenlabs-install-auth/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
elevenlabs-install-auth
description
Install and configure ElevenLabs SDK authentication for Node.js or Python. Use when setting up a new ElevenLabs project, configuring API keys, or initializing the elevenlabs npm/pip package. Trigger with "install elevenlabs", "setup elevenlabs", "elevenlabs auth", "configure elevenlabs API key", "elevenlabs credentials".
allowed-tools
Write, Bash(npm:*), Bash(pip:*), Bash(pnpm:*)
compatibility
Designed for Claude Code
version
1.6.0
license
MIT
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
saas, voice, ai, elevenlabs, tts, audio

ElevenLabs Install & Auth

Overview

Set up the ElevenLabs SDK and configure API key authentication. ElevenLabs uses a single API key (xi-api-key header) for all endpoints at api.elevenlabs.io.

Prerequisites

  • Node.js 18+ or Python 3.10+
  • ElevenLabs account (free tier works) at https://elevenlabs.io
  • API key from Profile > API Keys in the ElevenLabs dashboard

Instructions

Step 1: Install the SDK

Node.js (official package: @elevenlabs/elevenlabs-js):

bash
npm install @elevenlabs/elevenlabs-js
# or
pnpm add @elevenlabs/elevenlabs-js

Python (official package: elevenlabs):

bash
pip install elevenlabs
Step 2: Configure API Key
bash
# Set environment variable (all SDKs auto-detect this)
export ELEVENLABS_API_KEY="sk_your_key_here"

# Or create .env file
echo 'ELEVENLABS_API_KEY=sk_your_key_here' >> .env

Add to .gitignore:

gitignore
.env
.env.local
.env.*.local
Step 3: Initialize the Client

Both SDKs auto-detect ELEVENLABS_API_KEY. Minimal TypeScript skeleton:

typescript
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";

const client = new ElevenLabsClient({
  apiKey: process.env.ELEVENLABS_API_KEY,
});

The Python client mirrors this with ElevenLabsClient(api_key=...). For retry, timeout, and the full Python skeleton, see implementation.md.

Step 4: Verify Connection

Confirm auth by listing voices — a successful call proves the key is valid and not over quota:

typescript
const voices = await client.voices.getAll();
console.log(`Connected. ${voices.voices.length} voices available.`);

Full TypeScript + Python + cURL verification (including subscription/quota inspection) is in implementation.md.

Output

  • SDK installed in node_modules or site-packages
  • API key stored in .env (git-ignored)
  • Successful voice listing confirms authentication
  • Subscription tier and character quota displayed

Error Handling

ErrorHTTPCauseSolution
invalid_api_key401Key missing, expired, or malformedRegenerate at elevenlabs.io > Profile > API Keys
ENOTFOUND api.elevenlabs.ioN/ADNS/network failureCheck internet; ensure outbound HTTPS on port 443
MODULE_NOT_FOUNDN/ASDK not installedRun npm install @elevenlabs/elevenlabs-js
quota_exceeded401Character limit reached for billing periodUpgrade plan or wait for reset

Examples

Two full setup walkthroughs (Node.js and Python) plus a no-SDK CI smoke test live in examples.md. The shortest complete path for a new Node.js project:

bash
npm install @elevenlabs/elevenlabs-js
echo 'ELEVENLABS_API_KEY=sk_your_key_here' >> .env
printf '.env\n' >> .gitignore
typescript
import "dotenv/config";
import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js";

const client = new ElevenLabsClient({ apiKey: process.env.ELEVENLABS_API_KEY });
const voices = await client.voices.getAll();
console.log(`Connected. ${voices.voices.length} voices available.`);

See examples.md for the Python equivalent and the curl-only pipeline gate.

API Key Best Practices

  • Never hardcode keys in source files
  • Use separate keys for dev/staging/prod
  • Rotate keys quarterly via the dashboard
  • Free tier: 10,000 characters/month, Starter: 30,000, Creator: 100,000

Full best-practices notes are in implementation.md.

Resources

Next Steps

After auth is confirmed, proceed to the elevenlabs-hello-world skill for your first text-to-speech generation, then explore voice listing and streaming in the rest of the ElevenLabs pack.

© jeremylongshore, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (references) in skills/.curated/elevenlabs-install-auth of jeremylongshore/tons-of-skills-marketplace.

  • SKILL.md
  • references/examples.md
  • references/implementation.md

Open the folder on GitHubat commit cfae287

Compare with similar skills

Elevenlabs Install Auth next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Elevenlabs Install Auth compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Elevenlabs Install Auth this skilljeremylongshore/tons-of-skills-marketplace2.8k—~1.2kAutomated safety check: NotesMIT
Floe GuardFloe-Labs/floe-guard357—~853Automated safety check: PassMIT
Speech Engineelevenlabs/skills482—~2.5kAutomated safety check: WarnMIT
Elevenlabs Ttsglebis/claude-skills391—~792Automated safety check: NotesMIT
Agentstadaspetra/loop2961 repos~2.5kAutomated safety check: PassMIT
AgentCall Join Meetingpattern-ai-labs/agentcall1651 repos~25kAutomated safety check: PassMIT

Similar skills

  • Floe Guard

    Floe-Labs/floe-guard

    Know what every AI call really costs — floe-guard meters STT + TTS + LLM + telephony per call (Pipecat, LiveKit — Python & TypeScript), keeps a live ledger of real spend, and hard-stops the next…

    357 GitHub stars~853 tokensUpdated 6 days ago
    Media & CreativeAuto-check passed
  • Speech Engine

    elevenlabs/skills

    Add real-time voice conversations to a custom agent runtime with ElevenLabs Speech Engine.

    482 GitHub stars~2.5k tokensUpdated yesterday
    Media & CreativeAuto-check: warnings
  • Elevenlabs Tts

    glebis/claude-skills

    This skill converts text to high-quality audio files using ElevenLabs API.

    391 GitHub stars~792 tokensUpdated 3 days ago
    Media & CreativeAuto-check: notes
  • Agents

    tadaspetra/loop

    Build voice AI agents with ElevenLabs. An agent skill from tadaspetra/loop.

    296 GitHub starsUsed in 1 repo~2.5k tokens
    AI & LLM EngineeringAuto-check passed
  • AgentCall Join Meeting

    pattern-ai-labs/agentcall

    Joins Google Meet, Teams or Zoom video calls as an AI bot with voice and visual presence through the AgentCall service, in audio, text-to-speech or webpage modes.

    165 GitHub starsUsed in 1 repo~25k tokens
    Productivity & AutomationAuto-check passed
  • CI Pipeline Synthesizer

    kajisho5/ffmpeg-skill

    Generate GitHub Actions CI/CD pipeline configurations for automated building and testing of library and package projects.

    1.9k GitHub starsUsed in 1 repo~1.1k tokens
    DevOps & CloudAuto-check passed

More from jeremylongshore/tons-of-skills-marketplace

All 3,342 skills in this repo
  • Performing Security Code Review

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to conduct a security-focused code review using the security-agent plugin.

    2.8k GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check: notes
  • Adapting Transfer Learning Models

    jeremylongshore/tons-of-skills-marketplace

    Build this skill automates the adaptation of pre-trained machine learning models using transfer learning techniques.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Agent Context Loader

    jeremylongshore/tons-of-skills-marketplace

    Execute proactive auto-loading: automatically detects and loads agents.md files.

    2.8k GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Aggregating Performance Metrics

    jeremylongshore/tons-of-skills-marketplace

    Aggregate and centralize performance metrics from applications, systems, databases, caches, and services.

    2.8k GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Analyzing Capacity Planning

    jeremylongshore/tons-of-skills-marketplace

    Execute this skill enables AI assistant to analyze capacity requirements and plan for future growth.

    2.8k GitHub stars~947 tokensUpdated today
    Auto-check passed
  • Analyzing Database Indexes

    jeremylongshore/tons-of-skills-marketplace

    Process use when you need to work with database indexing. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~2k tokensUpdated today
    Auto-check passed

Questions about Elevenlabs Install Auth

What does Elevenlabs Install Auth do?

Install and configure ElevenLabs SDK authentication for Node.js or Python. Elevenlabs Install Auth is an agent skill from jeremylongshore/tons-of-skills-marketplace.js or Python.

When should I use Elevenlabs Install Auth?

Elevenlabs Install Auth fits situations like: setting up a new ElevenLabs project; configuring API keys; initializing the elevenlabs npm/pip package; with install elevenlabs.

How do I install Elevenlabs Install Auth in Claude Code?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill elevenlabs-install-auth -a claude-code`. Or copy the skill folder (skills/.curated/elevenlabs-install-auth in jeremylongshore/tons-of-skills-marketplace) into .claude/skills/elevenlabs-install-auth in your project. Claude Code loads it when a task matches its description.

How do I install Elevenlabs Install Auth in Codex?

Run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill elevenlabs-install-auth -a codex`. Or copy the skill folder (skills/.curated/elevenlabs-install-auth in jeremylongshore/tons-of-skills-marketplace) into .agents/skills/elevenlabs-install-auth in your project. Codex loads it when a task matches its description.

Can I use Elevenlabs Install Auth in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add jeremylongshore/tons-of-skills-marketplace --skill elevenlabs-install-auth -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/elevenlabs-install-auth, .gemini/skills/elevenlabs-install-auth, .github/skills/elevenlabs-install-auth and .opencode/skills/elevenlabs-install-auth in your project.

What does Elevenlabs Install Auth need to run?

Going by SKILL.md and its folder, Elevenlabs Install Auth needs the command-line tools its instructions call (npm, pnpm and pip) and credentials named ELEVENLABS_API_KEY. Our summary lists: Python 3; Node.js; A credential in ELEVENLABS_API_KEY. Its frontmatter pre-approves these tools: Write, Bash(npm:*), Bash(pip:*), Bash(pnpm:*). Compatibility (from SKILL.md): Designed for Claude Code.

Does Elevenlabs Install Auth access the network?

SKILL.md names 3 domains. As links in the text: elevenlabs.io, github.com and pypi.org. This is read from the text; nothing was executed.

Is Elevenlabs Install Auth safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Elevenlabs Install Auth use?

Elevenlabs Install Auth is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Elevenlabs Install Auth use?

About 1.2k tokens (SKILL.md is roughly 4.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1k tokens, read only when the agent opens those files.

What are the alternatives to Elevenlabs Install Auth?

Skills that share tags, products or a category with Elevenlabs Install Auth: Floe Guard (Floe-Labs/floe-guard, 357 stars), Speech Engine (elevenlabs/skills, 482 stars), Elevenlabs Tts (glebis/claude-skills, 391 stars) and Agents (tadaspetra/loop, 296 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Elevenlabs Install Auth?

jeremylongshore (a GitHub user) maintains it in jeremylongshore/tons-of-skills-marketplace, which has 2,827 GitHub stars. The repository holds 3,342 skills in this directory. The repository was last updated on October 10, 2026.

Source: jeremylongshore/tons-of-skills-marketplace on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.