jezweb/claude-skills/elevenlabs-agents
Claude Code and agent skill by jezweb/claude-skills
- community
Checking that the SKILL.md file is still in the repository.
Build conversational AI voice agents on the ElevenLabs platform. Configure agent + tools + knowledge base, integrate SDK (React / React Native / Swift / JS / server-side), test, deploy. Use whenever the user mentions ElevenLabs, building a voice agent, an AI phone system, an AI receptionist, conversational AI, or troubleshooting deprecated @11labs packages, webhook errors, CSP violations, localhost allowlist, or tool parsing errors.
Install
npx vskill@latest install jezweb/claude-skills/elevenlabs-agentsSKILL.md
The same SKILL.md was published earlier as jezweb/claude-skills/elevenlabs-agents.
ElevenLabs Agent Builder
Build a production-ready conversational AI voice agent. Produces a configured agent with tools, knowledge base, and SDK integration.
Packages
DEPRECATED: @11labs/react, @11labs/client -- uninstall if present.
Server-only warning: @elevenlabs/elevenlabs-js uses Node.js child_process and won't work in browsers. Use @elevenlabs/client for browser environments, or create a proxy server.
Workflow
Step 1: Create Agent via Dashboard or CLI
Dashboard: https://elevenlabs.io/app/conversational-ai -> Create Agent
CLI (Agents as Code):
Templates: default, minimal, voice-only, text-only, customer-service, assistant.
Configure:
- Voice -- Choose from 5000+ voices or clone
- LLM -- GPT, Claude, Gemini, or custom
- System prompt -- Use the 6-component framework below
- First message -- What the agent says when conversation starts
Step 2: Write the System Prompt
Use the 6-component framework for effective agent prompts:
1. Personality -- who the agent is:
2. Environment -- communication context:
3. Tone -- speech patterns and formality:
4. Goal -- objectives and success criteria:
5. Guardrails -- boundaries and ethics:
6. Tools -- available functions and when to use them:
Step 3: Add Tools
Client-side tools (run in browser):
Server-side tools (webhooks):
Use {{secret__key_name}} for API keys in webhook headers -- never hardcode.
MCP Tools -- CRITICAL COMPATIBILITY NOTE:
ElevenLabs labels their MCP integration as "Streamable HTTP" but does NOT support the actual MCP 2025-03-26 Streamable HTTP spec (SSE responses). ElevenLabs expects:
- Plain JSON responses (
application/json), NOT SSE (text/event-stream) - Protocol version
2024-11-05, NOT2025-03-26 - Simple JSON-RPC over HTTP with direct JSON responses
What does NOT work:
- Official MCP SDK's
createMcpHandler(returns SSE) - Cloudflare Agents SDK
McpServer.serve()(returns SSE) - Any server returning
Content-Type: text/event-stream
Working MCP server pattern for ElevenLabs:
Step 4: Add Knowledge Base (RAG)
Upload documents for the agent to reference:
- PDFs, text files, web URLs
- Configure via dashboard: Agent -> Knowledge Base -> Upload
- Or via API:
POST /v1/convai/knowledge-base/upload(multipart/form-data) - Agent automatically searches knowledge base during conversation
Step 5: Integrate SDK
React -- copy and customise assets/react-sdk-boilerplate.tsx:
System prompt references dynamic variables as {{user_name}}.
React Native -- see assets/react-native-boilerplate.tsx Widget embed -- see assets/widget-embed-template.html Swift -- see assets/swift-sdk-boilerplate.swift
Step 6: Test
CLI testing:
Test configuration:
Tool call testing:
API simulation:
CI/CD integration:
Step 7: Deploy
Multi-environment workflow:
Critical Patterns
Signed URLs (Security)
Never expose API keys in client code. Use a server endpoint:
Agent Versioning (A/B Testing)
Dashboard: Agent -> Versions -> Create Branch. Compare metrics, promote winner.
Post-Call Webhook
Verify with HMAC SHA-256:
Cost Optimisation
Model lineups and pricing rot fast — check the live list in the ElevenLabs dashboard (Agent → LLM dropdown) or docs before picking, and don't hardcode a model id you haven't verified this session. The durable picks: a current cheap-fast model for most agents (upgrade only where quality demands it), a long-context model when the knowledge base is large.
Key savings:
- LLM caching: up to 90% on repeated prompts (enable in config)
- Prompt length: 150 tokens > 500 tokens for same instructions
- RAG over context: use knowledge base instead of stuffing system prompt
- Duration limits: set
max_duration_secondsto prevent runaway conversations - Turn mode: "patient" mode = fewer LLM calls = lower cost
CLI Quick Reference
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 75 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/integrations/skills/elevenlabs-agents/SKILL.md
Popularity
- Repository stars
- 885
- Repository forks
- 91
- 7-day trend score
- 34
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 8 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jezweb/claude-skills/elevenlabs-agents)