Twilio Comms for Openclaw

A comprehensive Python-based CLI skill for automating Twilio communication services including SMS, Voice, WhatsApp, and 2FA.

fr3kstyle
v1.0.0
Mar 21, 2026
0
756
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install twilio-comms

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install twilio-comms using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Twilio Comms?

The Twilio Comms skill is a versatile extension designed for the Openclaw Skills ecosystem to bridge the gap between AI agents and real-world communication channels. It allows developers and autonomous agents to programmatically send SMS, initiate voice calls with TwiML, manage WhatsApp messaging, and handle two-factor authentication verification flows. By integrating this skill, AI agents can interact with users through their preferred mobile channels, making it an essential component for automated notifications, customer support, and secure access management.

Twilio Comms Use Cases

  • Automated SMS notifications for system alerts or status updates.
  • Outbound voice calls with automated messages for urgent escalations.
  • WhatsApp customer engagement using both free-form messages and structured templates.
  • Implementing 2FA verification flows for secure user authentication in AI-driven apps.
  • Auditing and tracking communication history via CLI.

How Twilio Comms Works

  1. The user configures Twilio credentials as environment variables to authenticate with the Twilio API.
  2. The AI agent or user invokes specific CLI commands for SMS, Voice, WhatsApp, or Verification within the Openclaw Skills environment.
  3. The skill translates these commands into REST API requests sent to Twilio's infrastructure.
  4. Twilio processes the request, such as sending a text or placing a call, and returns a unique SID.
  5. The skill provides the delivery status, call details, or verification results back to the agent for further processing.

Twilio Comms Setup

Ensure you have Python 3.8+ and the requests library installed. Set your environment variables as follows:

export TWILIO_ACCOUNT_SID="ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export TWILIO_AUTH_TOKEN="your_auth_token_here"
export TWILIO_FROM_NUMBER="+15550001234"
export TWILIO_VERIFY_SERVICE_SID="VAxx..." # Optional for 2FA

Install dependencies via pip:

pip install requests

Twilio Comms Data Schema & Taxonomy

The skill manages communication data through Twilio's API, tracking several key entities:

Entity Key Identifiers Metadata Tracked
SMS sid, to, body status, date_sent, price
Voice sid, to, twiml duration, call_status, recordings
WhatsApp sid, to, template direction, error_code, account_sid
Verify to, channel valid (boolean), status, code_length

Twilio Comms Advanced Features

  • Multi-channel 2FA support allowing switching between SMS and Voice verification.
  • Dynamic TwiML support for voice calls using custom XML URLs to handle complex call logic.
  • WhatsApp template management for sending notifications outside the standard 24-hour session window.
  • Batch retrieval and filtering of call recordings and message logs for automated audit trails.
  • Native integration with Openclaw Skills for building complex, multi-step communication workflows.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*