iclems

Air France - KLM

数据分析v1.0.1
作者:iclems更新于 2026-05-17共 2 个版本 · 最新版本发布于 2026-01-29airfrance-afkl@clawhub_iclems/airfrance-afkl
数据洞察网页抓取

据 AlphaMoat 统计,截至 2026-09,Air France - KLM 累计下载 3,359 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 3,358 位,在「数据分析」分类(399 个)中排名第 252 位。

累计安装
106
累计下载
3,359
星标
2
全站排名
#3,358
全站前 67% · 「数据分析」前 64%
平台累计安装累计下载星标评论
ClawHub ↗1063,3592-
SkillHub ↗1063,3302—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

主文描述按航班号和出发日期查询状态,监控有意义的延误、登机口或机型变化,并可追踪前序航段;还提供轮询安排及可选的飞机注册号、机舱新旧和 Wi‑Fi 信息分析。卡片指出这些补充信息和延误启发式判断仅属尽力估算,可能不代表最终运行状态。API 凭据应限制权限并妥善保管,重要出行决定需以航空公司或机场官方信息核实。

资料发布于 2026-10-29

可以用来做什么

  • 查询指定航班的当前状态
  • 安排航班变化提醒和轮询间隔
  • 查看前序航段及可选机型补充信息

什么时候用

  • 用户提供航班号并明确要求查询或监控时
  • 可以安全保存 API 凭据且查询频率符合服务限制时
  • 重要出行决定前能够核对航空公司或机场官方信息时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

查询这趟航班的状态,并将结果与航空公司官方页面核实
规划低频状态监控,只在有意义的变化时提醒
说明前序航班和 Wi‑Fi 等补充信息只是参考

月度数据趋势

累计下载3,359
1,9862,7243,4612026-03 · 累计下载 2,0882026-06 · 累计下载 2,8242026-07 · 累计下载 3,0892026-08 · 累计下载 3,2312026-09 · 累计下载 3,35926-0326-09
星标2
1232026-03 · 星标 22026-06 · 星标 22026-07 · 星标 22026-08 · 星标 22026-09 · 星标 226-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,359—2
2026-083,231+4.6%2
2026-073,089+9.4%2
2026-062,824—2
2026-032,088—2

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

3.4 KB · ClawHub v1.0.1
---
name: airfrance-afkl
description: Track Air France flights using the Air France–KLM Open Data APIs (Flight Status). Use when the user gives a flight number/date (e.g., AF007 on 2026-01-29) and wants monitoring, alerts (delay/gate/aircraft changes), or analysis (previous-flight chain, aircraft tail number → cabin recency / Wi‑Fi). Also use when setting up or tuning polling schedules within API rate limits.
---

# Air France (AFKL Open Data) flight tracker

## Quick start (one-off status)

1) Create an API key (and optional secret)
展开全部(共 80 行)
- Register on: https://developer.airfranceklm.com
- Subscribe to the Open Data product(s) you need (at least **Flight Status API**)
- Generate credentials (API key; some accounts also provide an API secret)

2) Provide API credentials (do not print them):
- Preferred: env vars `AFKL_API_KEY` (and optional `AFKL_API_SECRET`)
- Or files in your state dir (`CLAWDBOT_STATE_DIR` or `./state`):
  - `afkl_api_key.txt` (chmod 600)
  - `afkl_api_secret.txt` (chmod 600, optional)

2) Query flight status:
- Run: `node skills/airfrance-afkl/scripts/afkl_flightstatus_query.mjs --carrier AF --flight 7 --origin JFK --dep-date 2026-01-29`

Notes:
- Send `Accept: */*` (API returns `application/hal+json`).
- Keep within limits: **<= 1 request/sec**. When making multiple calls, sleep ~1100ms between them.

## Start monitoring (watcher)

Use when the user wants proactive updates.

- Run: `node skills/airfrance-afkl/scripts/afkl_watch_flight.mjs --carrier AF --flight 7 --origin JFK --dep-date 2026-01-29`

What it does:
- Fetches the operational flight(s) for the date window.
- Emits a single message only when something meaningful changes.
- Also follows the **previous-flight chain** (`flightRelations.previousFlightData.id`) up to a configurable depth and alerts if a previous segment is delayed/cancelled.

Polling strategy (default):
- >36h before departure: at most every **60 min**
- 36h→12h: every **30 min**
- 12h→3h: every **15 min**
- 3h→departure: every **5–10 min** (stay under daily quota)
- After departure: every **30 min** until arrival

Implementation detail: run cron every 5–15 min, but the script self-throttles using a state file so it won’t hit the API when it’s not time. The watcher prints **no output** when nothing changed (so cron jobs can send only when stdout is non-empty).

## Input shorthand

Preferred user-facing format:
- `AF7 demain` / `AF7 jeudi`

Interpretation rule:
- The day always refers to the **departure date** (not arrival).

Implementation notes:
- Convert relative day words to a departure date in the user’s timezone unless the origin timezone is explicitly known.
- When ambiguous (long-haul crossing midnight), prefer the departure local date at the origin if origin is known.

(For scripts, still pass `--origin` + `--dep-date YYYY-MM-DD`.)

## Interpret “interesting” fields

See `references/fields.md` for:
- `flightRelations` (prev/next)
- `places.*` (terminal/gate/check-in zone)
- `times.*` (scheduled/estimated/latest/actual)
- `aircraft` (type, registration)
- “parking position” / stand-type hints (when present)
- Wi‑Fi hints and how to reason about cabin recency

## Cabin recency / upgrade heuristics

When aircraft registration is available:
- Use tail number to infer **sub-fleet** and likely cabin generation.
- If data suggests older config (or no Wi‑Fi), upgrading can be more/less worth it.

Be conservative:
- Open Data often doesn’t expose exact seat model; treat this as **best-effort**.

「数据分析」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。