Skip to content
davila7 avatar

Twilio Communications

Multi-channel Twilio playbook covering SMS, Verify-based 2FA, WhatsApp, and TwiML call flows with compliance guardrails.

CCM score
65 of 100
skills.sh installs
213
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers SMS sending, Twilio Verify OTP/2FA, and TwiML IVR menus for inbound voice calls
  • Includes Python patterns with E.164 phone validation, segment counting, and Verify channel selection across SMS, call, email, and WhatsApp
  • Enforces webhook request signature validation through X-Twilio-Signature before any TwiML is returned
  • Designed for developers adding notifications, phone verification, or automated call handling to an application

Install

$ npx -y skills add davila7/claude-code-templates --skill twilio-communications -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Twilio Communications

Patterns

SMS Sending Pattern

Basic pattern for sending SMS messages with Twilio. Handles the fundamentals: phone number formatting, message delivery, and delivery status callbacks.

Key considerations:

  • Phone numbers must be in E.164 format (+1234567890)
  • Default rate limit: 80 messages per second (MPS)
  • Messages over 160 characters are split (and cost more)
  • Carrier filtering can block messages (especially to US numbers)

When to use: ['Sending notifications to users', 'Transactional messages (order confirmations, shipping)', 'Alerts and reminders']

from twilio.rest import Client
from twilio.base.exceptions import TwilioRestException
import os
import re

class TwilioSMS:
    """
    SMS sending with proper error handling and validation.
    """

    def __init__(self):
        self.client = Client(
            os.environ["TWILIO_ACCOUNT_SID"],
            os.environ["TWILIO_AUTH_TOKEN"]
        )
        self.from_number = os.environ["TWILIO_PHONE_NUMBER"]

Details

Repository
github.com/davila7/claude-code-templates
Categories
Email & Messaging, Backend & APIs
First seen
Jun 3, 2026

Questions

What does the twilio-communications skill do?

The twilio-communications skill helps an agent build communication features with Twilio, including SMS messaging, voice calls, WhatsApp Business API, and user verification with 2FA. It covers simple notifications as well as complex IVR systems and multi-channel authentication, with a focus on compliance, rate limits, and error handling.

How do I send SMS with twilio-communications?

The twilio-communications skill includes an SMS sending pattern that requires phone numbers in E.164 format, such as +1234567890. Its pattern also covers delivery status callbacks and warns when a message will be split into multiple segments.

How do I install twilio-communications?

Run npx -y skills add davila7/claude-code-templates --skill twilio-communications -y in a project to install the twilio-communications skill. Once installed, the agent can build Twilio SMS, voice, WhatsApp and phone verification features.

Where does twilio-communications stand in its category?

The twilio-communications skill sits in the Email & Messaging category on Claude Marketplaces. Its own page lists to-questionnaire, lark-im, lark-mail, lark-event, and lark-contact among the other skills in that category.

More from davila7/claude-code-templates

All 398

Similar to Twilio Communications

More Email & Messaging