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
累計下載
3359
星標
2
全站排名
#3,358
全站前 67% · 「資料分析」前 64%
平台累計安裝累計下載星標評論
ClawHub ↗10633592-
SkillHub ↗10633302—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

主文描述按航班號和出發日期查詢狀態,監控有意義的延誤、登機口或機型變化,並可追蹤前序航段;還提供輪詢安排及可選的飛機註冊號、機艙新舊和 Wi‑Fi 資訊分析。卡片指出這些補充資訊和延誤啟發式判斷僅屬盡力估算,可能不代表最終執行狀態。API 憑據應限制許可權並妥善保管,重要出行決定需以航空公司或機場官方資訊核實。

資料釋出於 2026-10-29

可以用來做什麼

  • 查詢指定航班的當前狀態
  • 安排航班變化提醒和輪詢間隔
  • 檢視前序航段及可選機型補充資訊

什麼時候用

  • 使用者提供航班號並明確要求查詢或監控時
  • 可以安全儲存 API 憑據且查詢頻率符合服務限制時
  • 重要出行決定前能夠核對航空公司或機場官方資訊時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

查詢這趟航班的狀態,並將結果與航空公司官方頁面核實
規劃低頻狀態監控,只在有意義的變化時提醒
說明前序航班和 Wi‑Fi 等補充資訊只是參考

月度資料趨勢

累計下載3359
1986272434612026-03 · 累計下載 20882026-06 · 累計下載 28242026-07 · 累計下載 30892026-08 · 累計下載 32312026-09 · 累計下載 335926-0326-09
星標2
1232026-03 · 星標 22026-06 · 星標 22026-07 · 星標 22026-08 · 星標 22026-09 · 星標 226-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093359—2
2026-083231+4.6%2
2026-073089+9.4%2
2026-062824—2
2026-032088—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),按月更新。口徑說明見資料方法。