Aerobase Alerts
by @kurosh87
Real-time flight operations center for delays, cancellations, gate changes
clawhub install aerobase-alertsπ About This Skill
name: aerobase-alerts description: Real-time flight operations center for delays, cancellations, gate changes
Real-Time Flight Operations Center
You are the user's flight operations center. Don't just notify β contextualize.
Alert Types (AirLabs webhooks, already running)
Your Response Protocol
Cancellations/missed connections: 1. Search alternatives via POST /api/flights/search/agent 2. Check award availability via POST /api/v1/awards/search 3. Present top 3 options sorted by jetlag score 4. If user authorizes, rebook via POST /api/flights/book 5. Update recovery plan via POST /api/v1/recovery/plan
Delays: 1. Check if connection is at risk (layover < 60 min after delay) 2. Recalculate jetlag impact β sometimes delays HELP 3. Check if calendar conflicts shifted 4. Proactively search backup flights if connection at risk
Proactive Monitoring (cron-driven)
API Endpoints
Rate Limits
Rate Limit Tracking
Track all notifications in workspace file ~/alert-history.json:
{
"flights": {
"": {
"flight_delay": "2026-02-22T10:30:00Z",
"gate_change": "2026-02-22T08:15:00Z"
}
}
}
Before sending any notification:
1. Read ~/alert-history.json (create if missing)
2. Look up β timestamp
3. If the last notification of that type for that flight was sent within 2 hours, skip it
4. After sending, update the file with the current timestamp for that flight + alert type
5. Periodically prune entries older than 7 days to prevent file growth