← 返回 Skills 市场
copey02

Flight Tracker

作者 copey02 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
2239
总下载
0
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install aviationstack-flight-tracker
功能描述
Track flights in real-time with detailed status, gate info, delays, and live position. Use when user asks to track a flight, check flight status, look up flight information by flight number (e.g., "track AA100", "what's the status of United 2402", "check my flight BA123"), or wants to display flight data in a formatted view similar to Flighty app.
使用说明 (SKILL.md)

Flight Tracker

Track any flight worldwide using AviationStack API and display in a clean, Flighty-style format.

Quick Start

Track a flight by its IATA code:

scripts/track_flight.py AA100
scripts/track_flight.py UA2402
scripts/track_flight.py BA123

First-Time Setup

Before using this skill, you need an API key (one-time setup):

  1. Get a free API key at https://aviationstack.com/signup/free (100 requests/month)
  2. Set environment variable:
    export AVIATIONSTACK_API_KEY='your-key-here'
    
  3. Install dependencies:
    pip3 install requests
    

For detailed setup instructions, see api-setup.md.

Output Format

The skill displays flight information in a clean, readable format with:

  • ✈️ Airline and flight number
  • 🛩️ Aircraft type and registration
  • 🛫 Departure airport, terminal, gate, times
  • 🛬 Arrival airport, terminal, gate, times
  • 📊 Flight status with visual indicators
  • ⏱️ Delay calculations (if applicable)
  • 🌐 Live position, altitude, speed (when airborne)

Status indicators:

  • 🟢 Active/Airborne/En-route
  • ✅ Landed/Arrived
  • 🟡 Scheduled
  • 🟠 Delayed
  • 🔴 Cancelled

Advanced Usage

Get raw JSON data:

scripts/track_flight.py AA100 --json

Check help:

scripts/track_flight.py --help

Workflow

When a user asks to track a flight:

  1. Extract the flight number from the request
  2. Run the tracking script with the flight number
  3. Present the formatted output to the user
  4. If data is needed for further processing, use --json flag

Flight Number Formats

Accept IATA flight codes:

  • AA100 (American Airlines)
  • UA2402 (United)
  • BA123 (British Airways)
  • DL456 (Delta)

The script automatically converts to uppercase and handles the lookup.

Error Handling

The script handles common errors:

  • Missing API key → Shows setup instructions
  • Flight not found → Suggests verification
  • API errors → Displays error message
  • Rate limit exceeded → Indicates limit reached

API Limits

Free tier: 100 requests/month. Track usage to stay within limits. For heavy usage, consider upgrading or alternative APIs (see references/api-setup.md).

Notes

  • Uses AviationStack free tier (no HTTPS on free plan)
  • Real-time data updated frequently
  • Historical flight data available
  • Worldwide coverage (250+ countries, 13,000+ airlines)
安全使用建议
Summary and recommendations: - What doesn't add up: the metadata does not declare the required AVIATIONSTACK_API_KEY, but both SKILL.md and scripts/track_flight.py require it. Ask the publisher to update the metadata to declare AVIATIONSTACK_API_KEY as the primary credential before installing. - Transport risk: the script calls AviationStack over HTTP (http://api.aviationstack.com). On the free tier your API key and request data would be sent in plaintext and could be exposed on the network. If you must use this skill, prefer not to store the API key in persistent shell profiles; set it in the session only, or use a paid tier/alternative API that supports HTTPS. - Code review: the included Python script is short and only reads the environment variable, calls the AviationStack API, and prints results — it does not appear to contact other endpoints or exfiltrate unrelated files. Still, run it in a sandbox or inspect it yourself before use. - Alternatives: consider APIs that offer HTTPS on free tiers (OpenSky, or paid AviationStack tiers), or ask the developer to switch the script to HTTPS or proxy requests through a secure endpoint. - Final advice: treat this as usable but imperfect — don’t add the API key to permanent shell startup files until you accept the plaintext-transport risk and confirm the metadata/manifest is corrected.
功能分析
Type: OpenClaw Skill Name: aviationstack-flight-tracker Version: 1.0.0 The skill is classified as suspicious primarily due to the unencrypted transmission of the user's `AVIATIONSTACK_API_KEY` over HTTP, as observed in `scripts/track_flight.py`. While the `SKILL.md` and `references/api-setup.md` documentation explicitly disclose that the free tier of the AviationStack API does not support HTTPS, sending an API key in plaintext over the network is a significant security risk. This constitutes a risky capability that could lead to credential compromise if network traffic is intercepted, even if the intent is to use a legitimate API endpoint.
能力评估
Purpose & Capability
The SKILL.md and script clearly use the AviationStack API and require an AVIATIONSTACK_API_KEY; that is coherent with the stated purpose. However, the registry metadata lists no required environment variables or primary credential — an omission that is inconsistent with the skill's runtime requirements and should be corrected.
Instruction Scope
Runtime instructions are narrowly scoped to extracting a flight number, running scripts/track_flight.py, and presenting results; the script only reads the AVIATIONSTACK_API_KEY env var and calls the AviationStack endpoint. However, both SKILL.md and references explicitly state the free tier uses HTTP (no HTTPS) and the script uses http://api.aviationstack.com — this means your API key and requests would be transmitted in plaintext on the network, which is a security risk.
Install Mechanism
There is no install spec that downloads arbitrary code; the skill includes a small Python script and instructs installing the widely used 'requests' package via pip. This is low-risk compared with remote download/extract installers.
Credentials
Only one credential (AVIATIONSTACK_API_KEY) is needed, which is proportionate for the stated functionality — but the registry metadata fails to declare it (primaryEnv is none). That mismatch reduces transparency. Additionally, because the free-tier API uses HTTP, supplying the key exposes it to network interception.
Persistence & Privilege
The skill does not request permanent presence (always=false) and does not modify other skill or system configs. It runs as a simple script when invoked, so no elevated persistence or privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install aviationstack-flight-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /aviationstack-flight-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of flight-tracker skill. - Track any commercial flight worldwide in real-time using AviationStack API. - Provides detailed status, gate/terminal info, live airplane position, and delay calculations. - Presents information in a clear, formatted style modeled after the Flighty app. - Easy setup with free API key and simple command-line usage. - Supports output as formatted text or raw JSON for integrations. - Robust error handling and support for most IATA flight numbers.
元数据
Slug aviationstack-flight-tracker
版本 1.0.0
许可证
累计安装 6
当前安装数 5
历史版本数 1
常见问题

Flight Tracker 是什么?

Track flights in real-time with detailed status, gate info, delays, and live position. Use when user asks to track a flight, check flight status, look up flight information by flight number (e.g., "track AA100", "what's the status of United 2402", "check my flight BA123"), or wants to display flight data in a formatted view similar to Flighty app. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 2239 次。

如何安装 Flight Tracker?

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

Flight Tracker 是免费的吗?

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

Flight Tracker 支持哪些平台?

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

谁开发了 Flight Tracker?

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

💬 留言讨论