Install any skill in seconds. Free to start, no credit card required.
Get Started Free →team-telnyx/telnyx-twilio-migration
Migrate from Twilio to Telnyx. Orchestrates a complete 6-phase migration: discovery, planning, setup, code migration, validation, and cleanup. Covers voice (TwiML to TeXML, Call Control API), messaging, WebRTC, SIP trunking, verify, fax, video, IoT, number lookup, and porting. Includes automated scanners, validation scripts, and integration tests.
Passed 16 of 19 test cases with the skill, and 8 of 19 without it.
and 12 more in the full report
10 fixed8 passed either way3 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 9 test cases the skill fixed. Same model, same prompt, with and without the skill.
In an Express.js backend migrating from Twilio webhooks to Telnyx Ed25519 signature validation, we currently pass `JSON.stringify(req.body)` into the signature verification function. What critical adjustment must be made to `express.json()` and the verification call to prevent signature validation failures?
| Checked | Without skill | With skill |
|---|---|---|
| Configures express.json middleware with a verify callback to capture req.rawBody. | Passed | Passed |
| Passes req.rawBody to client.webhooks.unwrap for signature verification. | Missed | Passed |
The instructions your model reads when the skill loads.
Path convention:
{baseDir}in this document is the directory containing thisSKILL.mdfile (e.g.,/path/to/skills/telnyx-twilio-migration). Substitute the absolute path before running any script shown below — do not pass the literal string{baseDir}to bash.
You MUST follow these phases in order (0 → 1 → 2 → 3 → 4 → 5 → 6). Do NOT skip phases. Each phase has prerequisites and exit criteria — do not proceed until the exit criteria are met. You MUST run the scripts specified in each phase (do not substitute your own checks). You MUST modify the user's source files to complete the migration.
Interaction model: Phase 0 collects ALL user input (API key, phone number, cost approval). Phases 1–6 run fully autonomously — do NOT ask the user any questions. Make all decisions deterministically using the rules in each phase. The only exception: if a failure persists after 3 fix attempts, present the issue to the user with error details and what you tried.
Context recovery: If you lose context (e.g. after compaction), IMMEDIATELY run bash {baseDir}/scripts/migration-state.sh status <project-root> and bash {baseDir}/scripts/migration-state.sh show <project-root> to recover your current phase and all resource IDs. Then resume from that phase.
Track progress in migration-state.json via bash {baseDir}/scripts/migration-state.sh <command> <project-root> [args]. Commands: init, set-phase <N>, set <key> <value>, add-product <product>, add-file <product> <file>, set-commit <phase>, status, show. This preserves resource IDs across phases and enables resume after interruption. For a complete product mapping, see {baseDir}/references/product-mapping.md.
AccountSID:AuthToken) → Bearer Token (Authorization: Bearer $TELNYX_API_KEY). Get key at https://portal.telnyx.com/#/app/api-keysdata.payload. See {baseDir}/references/webhook-migration.mdchannels="single" to match Twilio behavior.This is the ONLY phase that requires user interaction. Collect all inputs now — Phases 1–6 run fully autonomously. Do not ask the user any further questions during migration unless you hit a failure you cannot resolve after 3 attempts.
Exit criteria:
TELNYX_API_KEYvalidates, user phone number collected, costs approved.
Ask the user for these three things in a single message:
TELNYX_API_KEY — API key v2 from https://portal.telnyx.com/#/app/api-keys. If they don't have a Telnyx account yet, direct them to: create account (https://telnyx.com/sign-up), complete KYC, add payment method, then generate key.TELNYX_TO_NUMBER — their personal phone number in E.164 format (e.g., +15551234567) for receiving test SMS/call/OTP during integration testing.| Item | Cost | When Charged |
|---|---|---|
| Phone number (if account has none) | ~$1.00/month | Phase 5 integration tests |
test cases passed, vs 8 / 19 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.