| name | pilot-alert |
| description | Configurable alerting on event patterns with webhook and message delivery.
Use this skill when: 1. You need to trigger alerts based on event patterns or thresholds 2. You need to notify external services (Slack, Discord, PagerDuty) of events 3. You need to escalate critical events to on-call agents 4. You need to aggregate and deduplicate alerts
Do NOT use this skill when: - You need simple event forwarding (use pilot-event-bus instead) - You need persistent logging (use pilot-event-log instead) - You need all events without filtering (subscribe directly)
|
| tags | ["pilot-protocol","pub-sub","alerting","monitoring","webhooks"] |
| license | AGPL-3.0 |
| compatibility | Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start). Requires jq and curl for webhook delivery.
|
| metadata | {"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":["pilotctl","jq","curl"]},"homepage":"https://pilotprotocol.network"}} |
| allowed-tools | ["Bash"] |
Pilot Alert
Subscribe to events and trigger configurable alerts based on patterns, thresholds, or conditions. Supports webhook delivery and direct agent messaging.
Essential Commands
Subscribe to events
pilotctl --json subscribe <source-hostname> <topic> [--timeout <seconds>]
Send alert message
pilotctl --json send-message <target-hostname> --data <alert-payload>
Webhook delivery
curl -X POST "$WEBHOOK_URL" -H "Content-Type: application/json" -d "$payload"
Workflow: Critical Error Alerting
#!/bin/bash
SOURCE="production-app"
TOPIC="alerts.error.*"
WEBHOOK_URL="https://hooks.slack.com/services/YOUR/WEBHOOK"
pilotctl --json subscribe "$SOURCE" "$TOPIC" --timeout 600 | \
jq -c '.data.events[]' | \
while IFS= read -r event; do
severity=$(echo "$event" | jq -r '.data | fromjson | .severity // "unknown"')
if [ "$severity" = "critical" ]; then
message=$(echo "$event" | jq -r '.data | fromjson | .message')
slack_payload=$(jq -n --arg msg "$message" '{text: "CRITICAL", attachments: [{color: "danger", text: $msg}]}')
curl -X POST -H -d --silent
pilotctl --json send-message oncall-agent --data