lyriknilpferd71/hermes-backup/elevenlabs-conversational-agent
Claude Code and agent skill by lyriknilpferd71/hermes-backup
- community
Checking that the SKILL.md file is still in the repository.
Use for ElevenLabs voice agents with Supabase webhooks.
Install
npx vskill@latest install lyriknilpferd71/hermes-backup/elevenlabs-conversational-agentSKILL.md
The same SKILL.md was published earlier as lyriknilpferd71/hermes-backup/elevenlabs-conversational-agent.
ElevenLabs Conversational Agent
Build production-ready voice agents using ElevenLabs Conversational AI, Supabase Edge Functions, and Hermes Agent.
Architecture Overview
Components
1. Supabase Backend
Table: public.hermes2_call_log (or your schema) RPC: public.insert_call_log() — SECURITY DEFINER, handles upsert
2. Edge Function #1 — Personalization Webhook
Called by ElevenLabs at call start. Returns dynamic_variables to the agent.
Input: { caller_id, agent_id, called_number, call_sid } Output: { dynamic_variables: { priority_window, priority_window_start, priority_window_end, timezone } }
Logic:
- Pure clock check — no LLM, no DB call
- Configurable: priority window hours, weekdays-only toggle, timezone
- Async Telegram notification (send message to owner via bot)
Secrets: TELEGRAM_BOT_TOKEN, TELEGRAM_OWNER_CHAT_ID
3. Edge Function #2 — Post-Call Webhook
Called by ElevenLabs at call end. Writes to call_log.
Input: { call_sid, caller_number, started_at, duration_seconds, category, priority, outcome, ticket_id, consent_given, transcript } Output: { success, row_id }
Privacy rule: transcript is stored ONLY if consent_given === true. Otherwise NULL.
Secrets: SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY (auto-injected by Supabase runtime)
4. Telegram Notification
Personalization webhook sends a message to the owner's Telegram:
5. ElevenLabs Agent Config
Configure the Agent in ElevenLabs Dashboard:
- Personalization webhook URL:
https://<project>.supabase.co/functions/v1/personalization-webhook - Post-call webhook URL:
https://<project>.supabase.co/functions/v1/post-call-webhook - Tools:
transfer_to_owner,create_support_ticket,check_ticket_status
6. AI Disclosure Sentence (EU AI Act Art. 50)
Must be the agent's opening line. Required by EU AI Act Art. 50 before any functional interaction.
German:
„Hallo, hier ist der AI Support Agent von [Name]. Ich bin ein KI-Assistent und dieses Gespräch kann aufgezeichnet werden. Wie kann ich Ihnen helfen?"
English:
"Hello, this is the AI support agent from [Name]. This is an AI assistant and this call may be recorded. How can I help you?"
Deployment
Supabase CLI
Supabase Secrets (auto-injected)
SUPABASE_URL— project URLSUPABASE_SERVICE_ROLE_KEY— service role key
Custom Secrets (set manually)
TELEGRAM_BOT_TOKEN— for Telegram notificationsTELEGRAM_OWNER_CHAT_ID— owner's Telegram user ID
Hermes Profile Setup
Create a separate Hermes profile for the voice agent:
The profile has its own Telegram bot, config, and sessions — fully isolated from the main Hermes instance.
Weekly Backup
Use systemd user timer for code/config backup (no PII, no call logs in git):
Priority Window Pattern
Pure clock logic — no LLM calls:
Referenced Files
references/elevenlabs-webhooks.md— webhook payload schemasreferences/supabase-edge-functions-setup.md— deploying Edge Functionsreferences/eu-ai-act-disclosure.md— AI disclosure requirements
Pitfalls
- JWT verification: Edge Functions default to
verify_jwt: true. Disable it explicitly for webhooks called by external services - SUPABASE_ prefix:
SUPABASE_URLandSUPABASE_SERVICE_ROLE_KEYare auto-injected by Supabase runtime. Do NOT set them manually viasupabase secrets set— they will be rejected - Transcript privacy: Never store transcripts without explicit spoken consent (EU GDPR + AI Act). Default to
NULL - Call dedup: Post-call webhook may fire multiple times (retries). Use
ON CONFLICT (call_sid) DO UPDATEin the RPC - Edge Function deployment path: The CLI requires
supabase/functions/<name>/index.tsrelative to workdir. Asupabase/subdirectory is created bysupabase link - Time zone:
Intl.DateTimeFormatwithtimeZone: "Europe/Berlin"respects DST (CEST/CET) automatically
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsnapshots/2026-09-27T14-00-39+0200/skills/mlops/elevenlabs-conversational-agent/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
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/lyriknilpferd71/hermes-backup/elevenlabs-conversational-agent)