返回顶部
a

aerobase-alerts

Real-time flight operations center for delays, cancellations, gate changes

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
236
下载量
0
收藏
概述
安装方式
版本历史

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 < 60 min after delay - boarding — within 45 min of departure - pre_flight — 24h before departure ## 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) - 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`: ```json { "flights": { "<flightNumber>": { "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 `<flightNumber>` → `<alertType>` 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

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 aerobase-alerts-1776192099 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 aerobase-alerts-1776192099 技能

通过命令行安装

skillhub install aerobase-alerts-1776192099

下载 Zip 包

⬇ 下载 aerobase-alerts v1.0.0

文件大小: 1.87 KB | 发布时间: 2026-4-15 11:03

v1.0.0 最新 2026-4-15 11:03
aerobase-alerts 1.0.0

- Initial release of a real-time flight operations center for delays, cancellations, and gate changes.
- Supports AirLabs webhook alerts: flight_delay, gate_change, flight_cancellation, connection_at_risk, boarding, and pre_flight.
- Smart response protocol for cancellations, missed connections, and delays, including alternative search and jetlag impact calculation.
- Proactive flight monitoring with efficient alert frequency controls to avoid spam.
- Integrates with multiple APIs for live flight status, user notifications, and recovery planning.
- Implements robust rate limiting and notification deduplication, with alert history tracked per flight in a workspace file.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部