Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →**Feature**: 042-twilio-voice-mcp
.claude/skills/automateyournetwork-twilio-emergency-call-skill/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 93% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 87% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 138% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 92% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 69% | 0% |
Feature: 042-twilio-voice-mcp Priority: P1 (MVP) User Story: US1 - Emergency Alert Calls
Automatically call John when critical network events occur (P1 incidents, core device failures). Emergency calls bypass quiet hours and are auto-approved without user confirmation.
This skill activates when:
pagerdutyseverity:P1netclaw_monitoringdevice_type:(core_router|firewall|wan_link) AND status:downEvent Detected
│
├─► Check Emergency Category
│ └─► Not emergency? → Skip call
│
├─► Pre-call Validation
│ ├─► Rate limit check (warning only for emergencies)
│ └─► Get whitelist target
│
├─► Sanitize Message
│ └─► Remove IPs, credentials, sensitive data
│
├─► Initiate Call via Twilio
│ └─► Uses @twilio-alpha/mcp Api20100401Call
│
├─► Log to Memory MCP
│ └─► CallRecord with trigger_id
│
└─► Fallback on Failure
└─► T018: SMS or Slack notificationjson{ "tool": "twilio_voice_emergency_call", "arguments": { "source": "pagerduty", "event_data": { "severity": "P1", "incident_id": "PD12345", "summary": "Core router LAX-CORE-01 is unreachable" } } }
json{ "tool": "twilio_voice_call", "arguments": { "to": "[WHITELIST_NUMBER]", "message": "Emergency: Core router is down. BGP sessions lost on LAX-CORE-01.", "priority": "emergency" } }
NetClaw Emergency Alert.
PagerDuty Priority 1 Incident.
{incident_summary}.
Incident ID: {incident_id}.NetClaw Emergency Alert.
Core device failure detected.
{device_name} is {status}.
Last seen: {last_seen}.See config/twilio-voice.json:
json{ "emergency_categories": [ { "category_name": "pagerduty_p1", "source": "pagerduty", "match_pattern": "severity:P1", "enabled": true }, { "category_name": "core_device_down", "source": "netclaw_monitoring", "match_pattern": "device_type:(core_router|firewall|wan_link) AND status:down", "enabled": true } ] }
On call failure:
pythonretry_config = { "max_retries": 3, "backoff_base_seconds": 30, "backoff_multiplier": 2 }
If all call attempts fail:
Input:
- PagerDuty webhook received
- Severity: P1
- Summary: "Database primary node unresponsive"
Action:
1. Event matches pagerduty_p1 category
2. Call initiated to [WHITELIST_NUMBER]
3. Voice message: "NetClaw Emergency Alert. PagerDuty Priority 1 Incident. Database primary node unresponsive."
4. Call logged to Memory MCPInput:
- NetClaw monitoring detects
- device_type: core_router
- status: down
- device_name: CHI-CORE-02
Action:
1. Event matches core_device_down category
2. Call initiated to [WHITELIST_NUMBER]
3. Voice message: "NetClaw Emergency Alert. Core device failure detected. CHI-CORE-02 is down."Other measured skills in the registry, with their headline benchmark lift.