setup-api-key
Guides users through setting up an ElevenLabs API key for REST API and SDK workflows. Use when the user needs to configure an ElevenLabs API key or when an API or SDK request fails because a key is missing. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.
- License 许可
- MIT
- 最近更新
- 2026-11-09
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- setup-api-key
- license
- MIT
- description
- Guides users through setting up an ElevenLabs API key for REST API and SDK workflows. Use when the user needs to configure an ElevenLabs API key or when an API or SDK request fails because a key is missing. First checks whether ELEVENLABS_API_KEY is already configured and valid, and only runs full setup when needed.
- compatibility
- Requires internet access to elevenlabs.io and api.elevenlabs.io.
03 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:
- Check whether
ELEVENLABS_API_KEYexists in the current environment. If it does, use that value for this initial check. - Only if it is not in the environment, check
.envforELEVENLABS_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:
- Click "Create key"
- Name it (or use the default)
- 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
- Click "Create key" to confirm
- Copy the key immediately - it's only shown once!
Do not paste the key into this chat. Instead, copy/paste it into your local
.envfile:ELEVENLABS_API_KEY=your-api-keyIf
.envalready has anELEVENLABS_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
.envand the current environment forELEVENLABS_API_KEY, but treat.envas the source of truth for this step. - If
.envcontains a value, validate that value even when the current environment also has a differentELEVENLABS_API_KEY. - If
.envdoes not contain the key:- Tell the user
.envdoes not appear to containELEVENLABS_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.
- Tell the user
- If a
.envkey 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
.envvalue and tell you when it is saved.
- If validation succeeds, confirm:
Done. ElevenLabs is configured and the key in
.envworks.
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
.envor managed secrets over shell history for persistent local configuration. - For browser or client-side apps, keep
ELEVENLABS_API_KEYon the server and issue short-lived tokens where applicable.
04 同仓库更多 Skills
ckm:ui-styling
Create beautiful, accessible user interfaces with shadcn/ui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.
ckm:design
Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social/ads/web/print), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.
ckm:design-system
Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.
ckm:banner-design
Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter/X, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.
supabase-postgres-best-practices
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pg_cron, pgmq), vector/semantic search (pgvector), and restoring dumps (pg_restore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
scrapedo-search
Search Google and read web pages (as Markdown) through Scrape.do, keeping each result's link so every finding can be cited. Use for account and company research, competitor and pricing checks, finding a page that answers a question, or reading a page a search turned up.