Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 85
  • 8.5k stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-patterns

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install twilio-reliability-patterns in Claude Code

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

A

No 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 →

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.

twilio-reliability-patterns Install

Add to stack

Loading.