简介
Supercall
原始描述
Make AI-powered phone calls with custom personas and goals. Uses OpenAI Realtime API + Twilio for ultra-low latency voice conversations. Supports DTMF/IVR na...
通过你的 Agent 添加
点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。
或者手动安装
包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。
技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。
技能正文
name: supercall description: Make AI-powered phone calls with custom personas and goals. Uses OpenAI Realtime API + Twilio for ultra-low latency voice conversations. Use when you need to call someone, confirm appointments, deliver messages, or have the AI handle phone conversations autonomously. Unlike the standard voice_call plugin, the person on the call doesn't have access to gateway agent, reducing attack surfaces. homepage: https://github.com/xonder/supercall metadata: { "openclaw": { "emoji": "📞", "requires": { "plugins": ["supercall"], "env": ["OPENAI_API_KEY", "TWILIO_ACCOUNT_SID", "TWILIO_AUTH_TOKEN"], "bins": ["ngrok"] }, "primaryEnv": "OPENAI_API_KEY", "install": [ { "id": "npm", "kind": "plugin", "package": "@xonder/supercall", "label": "Install supercall plugin (npm)", }, ], }, }
SuperCall
Make AI-powered phone calls with custom personas and goals using OpenAI Realtime API + Twilio.
Features
- Persona Calls: Define a persona, goal, and opening line for autonomous calls
- Full Realtime Mode: GPT-4o powered voice conversations with <~1s latency
- Provider: Supports Twilio (full realtime) and mock provider for testing
- Streaming Audio: Bidirectional audio via WebSocket for real-time conversations
- Limited Access: Unlike the standard voice_call plugin, the person on the call doesn't have access to gateway agent, reducing attack surfaces.
Credentials Required
This plugin requires the following credentials:
| Credential | Source | Purpose |
|---|---|---|
OPENAI_API_KEY |
OpenAI | Powers the realtime voice AI (GPT-4o) |
TWILIO_ACCOUNT_SID |
Twilio Console | Twilio account identifier |
TWILIO_AUTH_TOKEN |
Twilio Console | Twilio API authentication |
NGROK_AUTHTOKEN |
ngrok | for webhook tunneling |
Credentials can be set via environment variables or in the plugin config (config takes precedence).
Installation
-
Install the plugin via npm or copy to your OpenClaw extensions directory
-
Enable hooks for call completion callbacks (required):
{
"hooks": {
"enabled": true,
"token": "your-secret-token"
}
}
Generate a secure token with: openssl rand -hex 24
⚠️ Security: The
hooks.tokenis sensitive — it authenticates internal callbacks. Keep it secret and rotate if compromised.
- Configure the plugin in your openclaw config:
{
"plugins": {
"entries": {
"supercall": {
"enabled": true,
"config": {
"provider": "twilio",
"fromNumber": "+15551234567",
"twilio": {
"accountSid": "your-account-sid",
"authToken": "your-auth-token"
},
"streaming": {
"openaiApiKey": "your-openai-key"
},
"tunnel": {
"provider": "ngrok",
"ngrokDomain": "your-domain.ngrok.app"
}
}
}
}
}
}
Important: The hooks.token is required for call completion callbacks. Without it, the agent won't be notified when calls finish.
Tool: supercall
Make phone calls with custom personas:
supercall(
action: "persona_call",
to: "+1234567890",
persona: "Personal assistant to the king",
goal: "Confirm the callee's availabilities for dinner next week",
openingLine: "Hey, this is Michael, Alex's Assistant..."
)
Actions
persona_call- Start a new call with a personaget_status- Check call status and transcriptend_call- End an active calllist_calls- List active persona calls
Configuration Options
| Option | Description | Default |
|---|---|---|
provider |
Voice provider (twilio/mock) | Required |
fromNumber |
Caller ID (E.164 format) | Required for real providers |
toNumber |
Default recipient number | - |
twilio.accountSid |
Twilio Account SID | TWILIO_ACCOUNT_SID env |
twilio.authToken |
Twilio Auth Token | TWILIO_AUTH_TOKEN env |
streaming.openaiApiKey |
OpenAI API key for realtime | OPENAI_API_KEY env |
streaming.silenceDurationMs |
VAD silence duration in ms | 800 |
streaming.vadThreshold |
VAD threshold 0-1 (higher = less sensitive) | 0.5 |
streaming.streamPath |
WebSocket path for media stream | /voice/stream |
tunnel.provider |
Tunnel for webhooks (ngrok/tailscale-serve/tailscale-funnel) | none |
tunnel.ngrokDomain |
Fixed ngrok domain (recommended for production) | - |
tunnel.ngrokAuthToken |
ngrok auth token | NGROK_AUTHTOKEN env |
| Full realtime requires an OpenAI API key. |
Requirements
- Node.js 20+
- Twilio account for full realtime calls (media streams)
- ngrok or Tailscale for webhook tunneling (production)
- OpenAI API key for real-time features
Architecture
This is a fully standalone skill - it does not depend on the built-in voice-call plugin. All voice calling logic is self-contained.
Security Notes
How webhook verification works:
- Twilio calls: Verified using Twilio's X-Twilio-Signature header (HMAC-SHA1)
- Self-test requests: Use an internal token (x-supercall-self-test) generated at startup
- ngrok tunnels: On free-tier ngrok domains (
.ngrok-free.app,.ngrok.io), URL reconstruction may vary; signature mismatches are logged but allowed. Paid/custom ngrok domains (.ngrok.app) are verified strictly.
Best practices:
- Protect your credentials — Twilio and OpenAI keys grant access to paid services
- Rotate
hooks.tokenperiodically and if you suspect compromise - Review call logs — transcripts are stored in
~/clawd/supercall-logsand may contain sensitive content
This plugin spawns local processes (ngrok/tailscale for tunneling), opens a local webhook server, and makes outbound API calls.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。