✈️ ClawFlight Skill
AI-first flight search that finds flights with Starlink internet. Built for business travelers and digital nomads who need to work on long-haul flights.
What It Does
- - 🔍 Search flights between any airports
- 🛜 Filter Starlink — only shows flights with Starlink-equipped airlines
- ⭐ Rank by priority — WiFi quality, price, duration, or jet lag friendliness
- 🔗 Affiliate links — direct booking links (Kiwi.com + Skyscanner)
- 📊 Rate flights — submit WiFi quality ratings (speed, reliability, ease)
- ⏰ Post-flight nudge — save flights, get prompted 6h after landing
Setup
CODEBLOCK0
The WiFi ratings database is maintained by ClawFlight — you only need to provide your own Amadeus key for live flight data. No other API key required.
Commands
Find a flight
CODEBLOCK1
Options:
- -
--from, -f — Origin IATA code (e.g., BKK, LHR, SFO) - INLINECODE1 — Destination IATA code
- INLINECODE2 — Departure date (YYYY-MM-DD)
- INLINECODE3 — Sort by:
wifi (default), cheap, fast, INLINECODE7 - INLINECODE8 — Number of passengers (default: 1)
- INLINECODE9 — Output machine-readable JSON
List Starlink airlines
CODEBLOCK2
Shows all airlines in the database with WiFi scores and fleet coverage.
Save a flight (for post-flight rating)
CODEBLOCK3
Saves flight info. A cron job will nudge you 6 hours after arrival to rate the WiFi.
Rate a flight
CODEBLOCK4
Submit WiFi quality ratings to build the community database.
Examples
"Find me a flight from NYC to London next week with good WiFi"
CODEBLOCK5
Output:
CODEBLOCK6
"Show me the cheapest option"
CODEBLOCK7
"I want to minimize jet lag"
CODEBLOCK8
Airline Database
The skill uses a curated list of Starlink-equipped airlines stored in data/airlines.json. Current carriers:
| Airline | Code | Fleet Coverage | WiFi Type |
|---|
| United Airlines | UA | 85% | Starlink |
| Hawaiian Airlines |
HA | 90% | Starlink |
| JSX | JSX | 100% | Starlink |
| Qatar Airways | QR | 40% | Starlink |
| Air France | AF | 30% | Starlink |
| Delta | DL | 15% | Starlink |
| Alaska Airlines | AS | 35% | Starlink |
| Southwest | WN | 20% | Starlink |
Note: Fleet coverage is approximate. Airlines swap aircraft. Not guaranteed on every flight.
Integration with OpenClaw
This skill can be called from within OpenClaw conversations:
CODEBLOCK9
Files
CODEBLOCK10
Getting an API Key
- 1. Go to https://tequila.kiwi.com
- Sign up (free tier available)
- Get your API key
- Set: INLINECODE11
Affiliate Program
- - Kiwi.com: 5% commission on bookings
- Affiliate ID: INLINECODE12
- Links auto-tagged with your ID
Maintenance
- - Airline data: Updated weekly (Samantha cron)
- Community ratings: User-submitted via
rate command - Database location: INLINECODE14
Built with 🐙 by Samantha & Antoine
V1.0 — Feb 2026
✈️ ClawFlight技能
基于AI的航班搜索,可查找配备星链互联网的航班。专为需要在长途航班上工作的商务旅客和数字游民打造。
功能特点
- - 🔍 搜索航班 — 任意机场间的航班搜索
- 🛜 筛选星链 — 仅显示配备星链的航空公司航班
- ⭐ 按优先级排序 — WiFi质量、价格、飞行时长或时差友好度
- 🔗 联盟链接 — 直接预订链接(Kiwi.com + Skyscanner)
- 📊 航班评分 — 提交WiFi质量评分(速度、可靠性、易用性)
- ⏰ 飞行后提醒 — 保存航班,落地6小时后收到评分提醒
安装配置
bash
安装依赖
cd ~/clawd/projects/clawflight/skill
npm install
获取免费的Amadeus API密钥(无需信用卡):
1. 访问 https://developers.amadeus.com/self-service
2. 注册 → 创建应用 → 复制客户端ID和密钥
3. 设置环境变量:
export AMADEUSCLIENTID=yourclientid
export AMADEUSCLIENTSECRET=yourclientsecret
可选:使用生产数据(需在Amadeus门户中切换至生产环境)
export AMADEUS_ENV=production
WiFi评分数据库由ClawFlight维护——您只需提供自己的Amadeus密钥即可获取实时航班数据。无需其他API密钥。
命令
搜索航班
clawflight search --from BKK --to LHR --date 2026-03-14 --priority wifi
选项:
- - --from, -f — 出发地IATA代码(如:BKK、LHR、SFO)
- --to, -t — 目的地IATA代码
- --date, -d — 出发日期(YYYY-MM-DD)
- --priority, -p — 排序方式:wifi(默认)、cheap、fast、jetlag
- --adults, -a — 乘客人数(默认:1)
- --json — 输出机器可读的JSON格式
查看星链航空公司列表
clawflight airlines
显示数据库中所有航空公司及其WiFi评分和机队覆盖率。
保存航班(用于飞行后评分)
clawflight save --flight UA123 --arrival 2026-03-15T14:30:00Z
保存航班信息。到达后6小时,定时任务将提醒您对WiFi进行评分。
航班评分
clawflight rate --airline UA --speed 5 --reliability 4 --ease 5
提交WiFi质量评分,共建社区数据库。
使用示例
帮我找下周从纽约到伦敦、WiFi好的航班
bash
clawflight search --from JFK --to LHR --date 2026-03-10 --priority wifi
输出:
🛫 ClawFlight搜索结果
✈️ #1 — 美联航(星链 ⭐ 4.7)
3月10日 | 7小时05分 | $540 | 纽约 → 伦敦
预订:https://www.kiwi.com/deep?affilid=clawflight&booking_token=...
✈️ #2 — 法航(星链 ⭐ 4.3)
3月10日 | 7小时25分 | $485 | 纽约 → 巴黎 → 伦敦
预订:https://www.kiwi.com/deep?...
显示最便宜的选择
bash
clawflight search --from SFO --to NRT --date 2026-04-01 --priority cheap
我想尽量减少时差影响
bash
clawflight search --from LAX --to SYD --date 2026-05-15 --priority jetlag
航空公司数据库
该技能使用存储在data/airlines.json中的精选星链航空公司列表。当前承运商:
| 航空公司 | 代码 | 机队覆盖率 | WiFi类型 |
|---|
| 美联航 | UA | 85% | 星链 |
| 夏威夷航空 |
HA | 90% | 星链 |
| JSX航空 | JSX | 100% | 星链 |
| 卡塔尔航空 | QR | 40% | 星链 |
| 法航 | AF | 30% | 星链 |
| 达美航空 | DL | 15% | 星链 |
| 阿拉斯加航空 | AS | 35% | 星链 |
| 西南航空 | WN | 20% | 星链 |
注意: 机队覆盖率为近似值。航空公司会更换飞机。并非每个航班都有保障。
与OpenClaw集成
该技能可在OpenClaw对话中调用:
用户:我需要下个月从曼谷到伦敦的航班
助手(使用clawflight):让我为您查找星链航班...
文件结构
skill/
├── package.json # 依赖(axios, commander)
├── clawflight.js # 主CLI脚本
└── SKILL.md # 本文件
data/
├── airlines.json # 星链航空公司数据库
├── saved-flights.json # 用户保存的航班
└── ratings.json # 社区WiFi评分
获取API密钥
- 1. 访问 https://tequila.kiwi.com
- 注册(免费套餐可用)
- 获取API密钥
- 设置:export KIWIAPIKEY=your_key
联盟计划
- - Kiwi.com:预订佣金5%
- 联盟ID:clawflight
- 链接自动标记您的ID
维护
- - 航空公司数据:每周更新(Samantha定时任务)
- 社区评分:用户通过rate命令提交
- 数据库位置:~/clawd/projects/clawflight/data/
由Samantha和Antoine用🐙构建
V1.0 — 2026年2月