Ai push-notification-tester
install
source · Clone the upstream repo
git clone https://github.com/team-telnyx/ai
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/team-telnyx/ai "$T" && mkdir -p ~/.claude/skills && cp -r "$T/providers/claude/plugin/skills/push-notification-tester" ~/.claude/skills/team-telnyx-ai-push-notification-tester && rm -rf "$T"
manifest:
providers/claude/plugin/skills/push-notification-tester/SKILL.mdsource content
Push Notification Tester
Send test VoIP push notifications to iOS (APNs) and Android (FCM) devices.
iOS (APNs)
node {baseDir}/scripts/send-ios-push.js \ --token=<device_token> \ --bundle-id=<bundle_id> \ --cert=<path/to/cert.pem> \ --key=<path/to/key.pem> \ [--env=sandbox|production] \ [--caller-name="Test Caller"] \ [--caller-number="+1234567890"]
Required args
— 64-char hex APNs device token--token
— App bundle ID (e.g.--bundle-id
)com.telnyx.webrtc
— Path to certificate PEM file--cert
— Path to private key PEM file--key
Optional args
—--env
(default) orsandboxproduction
— Display name (default: "Test Caller")--caller-name
— Phone number (default: "+1234567890")--caller-number
Android (FCM)
node {baseDir}/scripts/send-android-push.js \ --token=<fcm_token> \ --project-id=<firebase_project_id> \ --service-account=<path/to/service-account.json> \ [--caller-name="Test Caller"] \ [--caller-number="+1234567890"]
Required args
— FCM device token--token
— Firebase project ID--project-id
— Path to service account JSON file--service-account
Optional args
— Display name (default: "Test Caller")--caller-name
— Phone number (default: "+1234567890")--caller-number
Output
Both scripts output JSON to stdout:
{"success": true, "message": "Push notification sent successfully", "details": {...}}
{"success": false, "error": "Description of what went wrong"}
Exit code 0 on success, 1 on failure.
Dependencies
Run
npm install in the scripts/ directory, or the scripts will auto-install on first run.
— APNs client for iOS@parse/node-apn
— Google OAuth for FCMgoogle-auth-library
— HTTP client for FCM APIaxios