← 返回 Skills 市场
kurosh87

Aerobase Alerts

作者 Aerobase · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
273
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install aerobase-alerts
功能描述
Real-time flight operations center for delays, cancellations, gate changes
使用说明 (SKILL.md)

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:

  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 \x3C 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:

{
  "flights": {
    "\x3CflightNumber>": {
      "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 \x3CflightNumber>\x3CalertType> 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
安全使用建议
This skill's behavior is underspecified: it expects to call multiple API endpoints (including booking and notifications) and to read/write ~/alert-history.json, but it declares no API host, credentials, or config paths. Before installing, ask the author for: (1) the base API URL(s) the skill will call, (2) exactly which credentials or OAuth scopes are required and how they'll be provided, (3) confirmation that writing ~/alert-history.json is intended and what data is stored, and (4) what user authorization flow is used for rebooking/charging. If you don't trust the source or the author can't supply clear answers, avoid installing or restrict the agent so it cannot run the skill autonomously or access your home directory.
功能分析
Type: OpenClaw Skill Name: aerobase-alerts Version: 1.0.0 The aerobase-alerts skill is a flight operations assistant designed to monitor flight statuses and assist with rebooking. It interacts with specific flight-related API endpoints and maintains a local notification log in '~/alert-history.json' to prevent spam. The logic is consistent with its stated purpose and contains no evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
The name/description (flight operations center) aligns with making live-status checks, notifications, and rebooking. However, the SKILL.md requires calling many API endpoints (e.g., POST /api/flights/book, POST /api/notifications, GET /api/flights/live/{flightNumber}) but the metadata declares no credentials, no base API host, and no required config paths. For actions like booking or awards searches, legitimate integrations normally need API keys/ OAuth and a host URL; those are missing, which is incoherent.
Instruction Scope
Instructions tell the agent to read and update a workspace file at ~/alert-history.json for rate-limit tracking and to run periodic (cron-like) monitoring every 5–30 minutes. The skill also mentions checking calendar conflicts and performing rebookings if the user authorizes. The SKILL.md therefore instructs filesystem I/O, persistent scheduling, and network operations beyond a single ad-hoc query — none of which are declared. The endpoints are given as relative paths (no domain), and no auth flow is described, leaving behavior underspecified and broad in scope.
Install Mechanism
This is an instruction-only skill with no install spec and no code files; that minimizes install-time risk because nothing is downloaded or written by an installer. The runtime instructions still perform I/O and network calls, but there is no package-install vector to review.
Credentials
Metadata declares no required environment variables or primary credential, yet the runtime actions (booking flights, searching award availability, sending notifications) normally require service credentials and user-authentication tokens. The absence of declared creds is disproportionate and unclear — either the skill expects agent-global credentials (not declared) or it omits necessary security details. Also, the skill will read/write a file in the user's home directory (~/alert-history.json) without having declared any config path permissions.
Persistence & Privilege
The skill does not set always:true, which is good. However, it explicitly instructs periodic monitoring (every 5–30 minutes) and persistent storage of notification history in the user's home folder. Autonomous invocation is allowed (default), so if the agent is permitted to run the skill unattended it could make repeated network calls and update local files. That combination isn't malicious by itself but amplifies the impact of the other concerns (missing auth, undeclared file access).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aerobase-alerts
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aerobase-alerts 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
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.
元数据
Slug aerobase-alerts
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Aerobase Alerts 是什么?

Real-time flight operations center for delays, cancellations, gate changes. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 273 次。

如何安装 Aerobase Alerts?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install aerobase-alerts」即可一键安装,无需额外配置。

Aerobase Alerts 是免费的吗?

是的,Aerobase Alerts 完全免费(开源免费),可自由下载、安装和使用。

Aerobase Alerts 支持哪些平台?

Aerobase Alerts 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Aerobase Alerts?

由 Aerobase(@kurosh87)开发并维护,当前版本 v1.0.0。

💬 留言讨论