agentleFS
hyperfx-aihyperfx-ai/marketing-skills/skills/twilio/SKILL.md

twilio

Skill107 starsChanged 5 months agoMITView on GitHub

Twilio messaging, voice, phone number management, and verification workflows. Use when the user wants to send SMS or WhatsApp messages, make voice calls, buy or configure phone numbers, or run OTP verification.

We split this skill into the rules it gives an agent

7 rules. 0 are common, 4 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for all Twilio tasks including SMS, WhatsApp, voice calls, and verification.

    line 27
  2. Distinctive:

    Every tool in this skill is named by its canonical tool name.

    line 36
  3. Very specific:

    If a tool is not found: in Hyper chat, find its toolkit id with discover_toolkits and pass it to enable_toolkit.

    line 44
  4. Distinctive:

    Before sending WhatsApp messages in sandbox/testing mode, users must join the sandbox:

    line 48
  5. Very specific:

    Before sending SMS/WhatsApp: Call twilio_phone_numbers_list first to find a valid sender number.

    line 83
  6. Very specific:

    Never assume a valid sender number.

    line 125
  7. Distinctive:

    Do not continue silently after failures.

    line 126

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Twilio Communications

Use this skill for all Twilio tasks including SMS, WhatsApp, voice calls, and verification.

Requirements

How to run the tools in this skill

Every tool in this skill is named by its canonical tool name. Run it with the call your surface gives you:

SurfaceFind a toolRun it
Hyper chatCall the tool by its name; search_tools(queries=["<provider> <action>"]) shows its parameters<name>(...)
MCP client (Claude, Cursor, Codex, ChatGPT)search("<what you want to do>"), then describe("<name>")call_read("<name>", {...}), call_write or call_destructive: the one that describe names in call_with
Hyper CLIhyperai search "<what you want to do>", then hyperai describe <name>hyperai call <name> --json '{...}'

If a tool is not found: in Hyper chat, find its toolkit id with discover_toolkits and pass it to enable_toolkit. On an MCP client or the CLI, tell the user which integration to connect in Hyper.

WhatsApp Sandbox Setup (Required for Testing)

Before sending WhatsApp messages in sandbox/testing mode, users must join the sandbox:

  1. User goes to: https://console.twilio.com/us1/develop/sms/try-it-out/whatsapp-learn
  2. They find their unique join code (e.g., "join happy-turtle")
  3. They send that message from WhatsApp to +14155238886
  4. Once confirmed, use twilio_whatsapp_send with from_number set to "+14155238886"

If WhatsApp message fails with "not a valid WhatsApp-enabled number" or similar:

  • The user likely hasn't joined the sandbox yet
  • Guide them through the steps above

Tool Quick Reference

Messaging

  • twilio_sms_send - Send SMS/MMS messages
  • twilio_whatsapp_send - Send WhatsApp messages (sandbox: use +14155238886 as from_number)
  • twilio_messages_list - List message history
  • twilio_messages_delivery_status_check - Check if message was delivered

Voice Calls

  • twilio_calls_create - Initiate outbound call (requires TwiML URL or inline TwiML)
  • twilio_calls_list - List call history
  • twilio_recordings_list - List call recordings

Phone Numbers

  • twilio_phone_numbers_list - List numbers in account (use to find valid from_number)
  • twilio_phone_numbers_lookup - Validate phone number and get carrier info

Verification (OTP)

  • twilio_verification_services_create - Create verification service first
  • twilio_verifications_send - Send OTP code
  • twilio_verifications_check - Verify user's code

Common Patterns

Before sending SMS/WhatsApp: Call twilio_phone_numbers_list first to find a valid sender number.

WhatsApp sandbox flow:

  1. Confirm user has joined sandbox (provide instructions if not)
  2. Call twilio_whatsapp_send with:
{
  "to": "+1XXXXXXXXXX",
  "body": "Hello from the assistant",
  "from_number": "+14155238886"
}

Phone verification flow:

Step 1 -- Call twilio_verification_services_create with:

{
  "friendly_name": "My App"
}

Step 2 -- Call twilio_verifications_send with:

{
  "service_sid": "<service_sid_from_step_1>",
  "to": "+1XXXXXXXXXX",
  "channel": "sms"
}

Step 3 -- Call twilio_verifications_check with:

{
  "service_sid": "<service_sid>",
  "to": "+1XXXXXXXXXX",
  "code": "<user_provided_code>"
}

Safety Rules

  • Never assume a valid sender number; always verify with twilio_phone_numbers_list.
  • Do not continue silently after failures; report exact error and ask user how to proceed.
  • For verification flows, keep service SIDs and code checks explicit and auditable.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.