send-sms
Skill: send-sms
When to Use
Use this skill when the user asks to:
- Send an SMS or text message
- Text someone a message
- Notify someone via SMS
- Send a message to a phone number
- Use Twilio to message someone
Required Credentials
Retrieve these via the get_keys tool before executing:
| Key Store Key | Environment Variable | Description |
|---|---|---|
twilio_account_sid |
TWILIO_ACCOUNT_SID |
Twilio Account SID (starts with AC) |
twilio_auth_token |
TWILIO_AUTH_TOKEN |
Twilio Auth Token |
twilio_phone_number |
FROM_PHONE_NUMBER |
Twilio phone number (sender) |
Input Parameters
| Parameter | Required | Description | Example |
|---|---|---|---|
to_phone |
Yes | Recipient phone number in E.164 format | +1234567890 |
message_body |
Yes | The text message content to send | Hello! |
Procedure
- Retrieve Twilio credentials: use
get_keyswith keys[twilio_account_sid, twilio_auth_token, twilio_phone_number] - If recipient phone number or message content not provided, ask the user via
ask_user - Send SMS using bundled script:
bash scripts/run.sh <to_phone> <message_body>Or via curl:curl -X POST "https://api.twilio.com/2010-04-01/Accounts/{{TWILIO_ACCOUNT_SID}}/Messages.json" --data-urlencode "From={{FROM_PHONE_NUMBER}}" --data-urlencode "To={{TO_PHONE_NUMBER}}" --data-urlencode "Body={{MESSAGE_BODY}}" -u "{{TWILIO_ACCOUNT_SID}}:{{TWILIO_AUTH_TOKEN}}" - Verify the JSON response contains a
sidfield indicating the message was queued - Report delivery status and message SID to the user
Bundled Scripts
| Script | Type | Description |
|---|---|---|
scripts/run.sh |
SH | Send SMS via Twilio API |
Script Usage
# Set credentials as environment variables (from get_keys), then:
bash scripts/run.sh <to_phone> <message_body>
Credentials in scripts use environment variables. Set them via get_keys before running.
Example
Example requests that trigger this skill:
send an sms saying "hello world"
text +1234567890 saying "meeting at 3pm"
send a text message to mom
More from dalehurley/phpbot
desktop-control
Control the mouse, keyboard, and read screen content via accessibility. Use this skill when the user asks to click somewhere on screen, type text into an app, move the mouse, press keyboard shortcuts, read what's on screen, get the accessibility tree of the current window, automate desktop interactions, or control the computer.
39summarize-unread-emails
Retrieve and summarize all unread emails from your inbox, organized by category, sender, and date. Use this skill when the user asks to summarize unread emails, get an overview of unread messages, organize inbox emails, or review pending email communications. Provides a structured summary with categorization and timeline analysis.
20open-application
Open or launch applications on your computer by name. Use this skill when the user asks to open, launch, or start an application like Mail, Finder, Safari, Chrome, or any other installed macOS application. Works with both built-in and third-party applications.
10homebrew
Install, manage, and search for software packages on macOS using Homebrew. Use this skill when the user asks to install software, apps, CLI tools, developer utilities, programming languages, databases, or any package on a Mac. Supports formulae (CLI tools) and casks (GUI apps). Can also search, update, upgrade, uninstall, and diagnose Homebrew issues.
10csv-tools
Parse, query, filter, sort, transform, and summarize CSV and JSON data files. Use this skill when the user asks to view a CSV, filter data, get statistics from a data file, convert CSV to JSON or vice versa, sort data, or analyze tabular data.
9get-weather-forecast
Retrieve current weather conditions and multi-day forecasts for any location using the wttr.in API. Use this skill when the user asks for weather information, weather forecast, current conditions, temperature, or weather updates for a specific city or location. Provides detailed weather data including temperature, wind, precipitation, and visibility.
8