Index of every page on this site: llms.txt
All skills
jeremylongshore avatar

/elevenlabs-install-auth

@820dfc8
Run it yourself

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".

Use this Skill: https://skilld.dev/gh/jeremylongshore/tons-of-skills-marketplace/elevenlabs-install-auth

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesexamples.md

≈511 tokens on demand. Your agent reads this file only when SKILL.md points to it.

ElevenLabs Install & Auth — Worked Examples

End-to-end walkthroughs for the two most common setup situations. Every code block here is drawn from the same primitives shown in the SKILL.md skeleton and implementation.md.

Example 1: New Node.js/TypeScript project

Install, wire the environment variable, and confirm auth in one pass.

# 1. Install the official SDK
npm install @elevenlabs/elevenlabs-js

# 2. Store the key in a git-ignored .env
echo 'ELEVENLABS_API_KEY=sk_your_key_here' >> .env
printf '.env\n.env.local\n.env.*.local\n' >> .gitignore
// verify.ts — run with: npx tsx verify.ts
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.`);

Expected output:

Connected. 20 voices available.

Example 2: New Python project

# 1. Install the official SDK inside a virtualenv
python3 -m venv .venv && source .venv/bin/activate
pip install elevenlabs python-dotenv

# 2. Store the key
echo 'ELEVENLABS_API_KEY=sk_your_key_here' >> .env
printf '.env\n' >> .gitignore
# verify.py — run with: python verify.py
import os
from dotenv import load_dotenv
from elevenlabs.client import ElevenLabsClient

load_dotenv()
client = ElevenLabsClient(api_key=os.environ.get("ELEVENLABS_API_KEY"))

voices = client.voices.get_all()
print(f"Connected. {len(voices.voices)} voices available.")

Example 3: Confirm auth with no SDK (CI smoke test)

A single curl is enough to gate a pipeline on a valid, non-exhausted key:

curl -sf https://api.elevenlabs.io/v1/user \
  -H "xi-api-key: ${ELEVENLABS_API_KEY}" \
  | jq -e '.subscription.tier' \
  || { echo "ElevenLabs auth failed"; exit 1; }

A 401 here means the key is missing, malformed, or over quota — see the Error Handling table in the SKILL.md.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides instructions for installing and configuring the official ElevenLabs SDKs. It follows industry security best practices by recommending the use of environment variables and .env files for API key management, including proper .gitignore configuration to prevent credential leakage.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at 820dfc8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago
What it can do
Edits files Runs commands
version
1.6.0
author
Jeremy Longshore <jeremy@intentsolutions.io>
tags
[
  "saas",
  "voice",
  "ai",
  "elevenlabs",
  "tts",
  "audio"
]
All 4 allowed tools
WriteBash(npm:*)Bash(pip:*)Bash(pnpm:*)
Other metadata
compatibility
Designed for Claude Code

README badge

README badge for jeremylongshore/tons-of-skills-marketplace/elevenlabs-install-auth