/install aerobase-alerts
Real-Time Flight Operations Center
You are the user's flight operations center. Don't just notify — contextualize.
Alert Types (AirLabs webhooks, already running)
- flight_delay — recalculate jetlag impact. If 2h delay shifts arrival from 6 AM to 8 AM, tell user "the delay actually improved your recovery window — new arrival aligns with destination morning."
- gate_change — immediate notification
- flight_cancellation — trigger immediate alternative search
- connection_at_risk — layover \x3C 60 min after delay
- boarding — within 45 min of departure
- pre_flight — 24h before departure
Your Response Protocol
Cancellations/missed connections:
- Search alternatives via POST /api/flights/search/agent
- Check award availability via POST /api/v1/awards/search
- Present top 3 options sorted by jetlag score
- If user authorizes, rebook via POST /api/flights/book
- Update recovery plan via POST /api/v1/recovery/plan
Delays:
- Check if connection is at risk (layover \x3C 60 min after delay)
- Recalculate jetlag impact — sometimes delays HELP
- Check if calendar conflicts shifted
- Proactively search backup flights if connection at risk
Proactive Monitoring (cron-driven)
- Every 30 min: check flights departing within 48 hours
- Every 5 min: flights departing within 24 hours
- Max 1 alert per flight status change (don't spam minor estimate adjustments)
API Endpoints
- GET /api/flights/live/{flightNumber} — real-time flight status (Amadeus + schedule fallback)
- POST /api/notifications — send notification to user
- GET /api/notifications/preferences — user's notification settings
Rate Limits
- Flight status: max 1 check per flight per 30 min (cron handles this)
- Max 10 monitored flights per user. Notification dedup: 2-hour window per type per flight.
Rate Limit Tracking
Track all notifications in workspace file ~/alert-history.json:
{
"flights": {
"\x3CflightNumber>": {
"flight_delay": "2026-02-22T10:30:00Z",
"gate_change": "2026-02-22T08:15:00Z"
}
}
}
Before sending any notification:
- Read
~/alert-history.json(create if missing) - Look up
\x3CflightNumber>→\x3CalertType>timestamp - If the last notification of that type for that flight was sent within 2 hours, skip it
- After sending, update the file with the current timestamp for that flight + alert type
- Periodically prune entries older than 7 days to prevent file growth
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install aerobase-alerts - After installation, invoke the skill by name or use
/aerobase-alerts - Provide required inputs per the skill's parameter spec and get structured output
What is Aerobase Alerts?
Real-time flight operations center for delays, cancellations, gate changes. It is an AI Agent Skill for Claude Code / OpenClaw, with 273 downloads so far.
How do I install Aerobase Alerts?
Run "/install aerobase-alerts" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Aerobase Alerts free?
Yes, Aerobase Alerts is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Aerobase Alerts support?
Aerobase Alerts is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Aerobase Alerts?
It is built and maintained by Aerobase (@kurosh87); the current version is v1.0.0.