twilio-reliability-patterns
Skill by openai
Covers how to handle rate limits, retries and failures when building on Twilio at volume. It is for developers sending SMS or making calls at scale who want production-grade integrations.
Install twilio-reliability-patterns
Built from the published package, never by AI.
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.claude/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-reliability-patterns ~/.claude/skills/twilio-reliability-patternsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install twilio-reliability-patterns in Claude Code
git clone --depth 1 https://github.com/openai/plugins /tmp/plugins && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/plugins/plugins/twilio-developer-kit/skills/twilio-reliability-patterns ~/.gemini/antigravity-cli/skills/twilio-reliability-patternsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install twilio-reliability-patterns in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill gives patterns for keeping Twilio integrations reliable under load. It covers exponential backoff with ±10% jitter for 429 errors, per-number throughput guidance, and a bulk send loop with rate limiting. It also covers StatusCallback handling, using a thin receiver that queues events and responds immediately, and deduplication with a CallSid and CallStatus key.
The skill also includes SMS-to-voice-to-email fallback chains, voice concurrency reference limits, and webhook fallback URL setup. A monitoring checklist lists alert thresholds for 429 rates, delivery failures and webhook latency. It is written for developers building messaging or voice integrations that send at volume.
Written from the project's SKILL.md and checked against it.
What it can do
- Exponential backoff with jitterRetries 429 errors with delays starting at 100ms, doubling each attempt, capped at 30 seconds.
- Per-number throughput guidanceLists approximate SMS and voice throughput by number type and how Messaging Services pool numbers.
- Bulk send patternSends to large recipient lists through a rate-limited dispatch loop with backoff.
- Thin-receiver patternQueues StatusCallback events and responds with 200 immediately to avoid webhook timeouts.
- Fallback chainsEscalates from SMS to voice to email when delivery on one channel fails.
- Voice concurrency limitsReference table of concurrent call, calls per second and conference participant limits.
- Webhook fallback configurationShows how to set voice and SMS fallback URLs on a phone number.
- Monitoring checklistLists alert thresholds for 429 rate, delivery failures, webhook latency, queue depth and concurrent calls.
What you need
- A working Twilio integration
- Expected volume figures (messages per second, calls per second)
- StatusCallback URLs configured
Try asking
- Add exponential backoff with jitter to my Twilio SMS sender
- Write a thin webhook receiver for Twilio StatusCallbacks
- Plan a rate-limited bulk SMS send using my number pool size
Good to know
- Cannot avoid 429 errors on any Twilio API.
- Cannot increase per-number throughput directly; add numbers to a Messaging Service instead.
- Cannot configure StatusCallback retry behavior, which Twilio handles automatically.
- Twilio has no native rate limiting API, so rate limiting must be built in the application.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/twilio-developer-kit/skills/twilio-reliability-patterns/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md11 KB -
agents/openai.yaml235 B
Alternatives to twilio-reliability-patterns
All alternatives →Explains how to set up and verify Zoom webhooks for event-driven workflows. Covers signature checks, event subscriptions, delivery handling, retries and event-type selection for developers.
Posts text, images and videos to Weibo, and publishes headline articles from Markdown files. It works through a real Chrome browser over CDP. The scripts only fill in the content, and the user reviews and publishes manually.
Adds another phone number to an existing Dial channel in NanoClaw, so one install can answer SMS and AI voice calls on several numbers. Intended for operators who already run Dial and want a second or third line.
Explains how to set up and use Zoom WebSockets for persistent, low-latency Zoom event streams. Intended for workflows where WebSockets are preferred over webhooks.
Adds personal WeChat support to NanoClaw through Tencent's official iLink Bot API. It uses long-polling and QR code login, so no public webhook URL is needed. It is for NanoClaw users who want a personal WeChat bot channel.
Guides AI assistants through the bundled Zoom MCP connectors for meetings, recordings, meeting assets and transcripts. Intended for planning or troubleshooting tool-based Zoom access after routing to an MCP workflow.
Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number
twilio-reliability-patterns: common questions
How should I handle 429 errors from Twilio?
The skill recommends exponential backoff with ±10% jitter, starting at 100ms and capped at 30 seconds. It says 429 concurrency errors are not well documented, so backoff should be implemented.
How do I avoid StatusCallback overload at scale?
Use a thin receiver that queues each callback and responds 200 immediately, then processes events asynchronously. Use CallSid and CallStatus as a composite key to deduplicate retries.
How can I increase SMS throughput?
The skill says to use Messaging Services to pool numbers, since pool throughput is the sum of all numbers in the pool. Sending faster than the pool supports only produces 429 errors.
How do I install twilio-reliability-patterns?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is twilio-reliability-patterns free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is twilio-reliability-patterns safe to use?
It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to twilio-reliability-patterns?
Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.
