flightAI

flightAI is a skill for Claude Code, Codex from LeoYeAI/openclaw-master-skills. It costs 63 tokens per session (6,505 once invoked), scanned A, original, MIT.

A Chinese-language flight booking assistant for searching domestic flights, checking cabin prices, creating bookings, and managing existing tickets.

In plain words
What is it for?
Use it to find flights by cities and date, inspect seat and fare options, place an order, view an order, reschedule a flight, or request a refund.
Why use it?
It brings flight search and ticket changes into one process instead of requiring separate tools for availability, booking, rescheduling, and refunds.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to find flights by cities and date, inspect seat and fare options, place an order, view an order, reschedule a flight, or request a refund.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leoyeai/openclaw-master-skills/ai-flight
About the project

OpenClaw Master Skills is a curated, regularly updated collection of skills that extends an AI personal assistant platform with capabilities such as research, browser automation, presentation creation, and prompt work. It is intended for people using OpenClaw or MyClaw.ai to give their agents additional tasks and workflows. The catalogue contains many skills and agents from this collection.

LeoYeAI/openclaw-master-skills · 2,139 stars · on GitHub · myclaw.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LeoYeAI/openclaw-master-skills --skill ai-flight
Clone the repo
git clone --depth 1 https://github.com/LeoYeAI/openclaw-master-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flightAI

README.md
[![agentmods](https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/ai-flight/github.svg)](https://agentmods.dev/skills/leoyeai/openclaw-master-skills/ai-flight)
Your own site
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/ai-flight"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/ai-flight/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flightAI

Your own site · 80×15
<a href="https://agentmods.dev/skills/leoyeai/openclaw-master-skills/ai-flight"><img src="https://agentmods.dev/badge/skills/leoyeai/openclaw-master-skills/ai-flight.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,505 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00063 $0.06505
Opus 5 $0.00032 $0.03252
Sonnet 5 $0.00013 $0.01301
Haiku 4.5 $0.00006 $0.00651

Measured 7d ago against content hash ab26f9e6c9ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

flightAI scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/auth.py, scripts/cancel_order.py, scripts/common.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ai-flight/SKILL.md · 755 lines

How it starts

The opening of the file, as written. The whole thing — 755 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI机票助手

当用户询问航班搜索、舱位查询、机票预订、机票改期或机票退票时,使用此 skill 调用AI机票服务。

运行环境要求

本 skill 通过 python3 执行 HTTP POST 请求调用AI机票服务。运行环境必须提供 python3

隐私与个人信息(PII)说明

预订功能会将用户提供的个人信息(乘客姓名、手机号、证件号等)通过 HTTP POST 发送至AI机票服务,以完成机票预订。使用本 skill 即表示用户知晓并同意上述 PII 被发送到外部服务。请勿在日志或回复中暴露用户个人信息。

可用工具

重要:下方示例中的参数均为占位,调用时需根据用户当前需求填入实际值(城市、日期、航班号、乘机人、联系方式等),勿直接照抄示例值。

适用场景

  • 按出发/到达城市、日期搜索航班列表
  • 查看指定航班的舱位价格详情
  • 用户确认后创建机票预订订单
  • 查询已创建订单的详细信息
  • 用户确认后改期或退票已创建订单的航班

鉴权流程(必须先完成)

重要:使用任何功能前,用户必须先完成鉴权流程。鉴权成功后获得的 apiKey 会自动保存在用户主目录的 ~/.fbt_auth.json 文件中,新会话会自动沿用。

鉴权步骤

  1. 发送验证码:用户提供手机号,系统发送验证码到手机
  2. 验证并获取 apiKey:用户输入验证码,验证成功后获得 apiKey
  3. 自动注入:后续所有 API 调用会自动携带 apiKey

鉴权命令

1. 发送验证码
python3 scripts/auth.py send <phone>

示例

python3 scripts/auth.py send 13800138000
2. 验证并获取 apiKey
python3 scripts/auth.py verify <phone> <code>

示例

python3 scripts/auth.py verify 13800138000 123456
3. 查看鉴权状态
python3 scripts/auth.py status

鉴权检查规则

  • 在执行任何航班查询、预订、改期、退票操作前,必须先检查鉴权状态
  • 如果未鉴权或 apiKey 已过期,必须引导用户完成鉴权流程
  • 鉴权成功后,所有 API 调用会自动携带 apiKey,无需手动传递

1. 航班搜索 (searchFlight)

功能:查询国内航班列表

必填参数

  • start_code: 出发城市名称(如 北京、上海、广州)
  • end_code: 到达城市名称
  • date: 出发日期(格式 YYYY-MM-DD)

触发词:某地到某地航班、查机票、搜航班、机票价格

执行命令

python3 scripts/search_flights.py <start_code> <end_code> <date>

示例

python3 scripts/search_flights.py 北京 上海 2026-03-15

返回结果:航班列表(航班号、航空公司、起降时间、机型、机场、最低价等)

上下文检查规则

  • 如果用户在当前或之前的消息中已经提供了某个参数,则无需再次询问该参数
  • 只向用户询问尚未提供的参数
  • 如果所有参数都已提供,直接发起请求

展示要求:

  • 必须使用代码块包裹脚本输出的表格
  • 必须展示完整表格
  • 参考"输出格式要求"章节的标准格式

2. 舱位详情查询 (searchPrice)

功能:查询特定航班的详细价格信息

必填参数

  • start_code: 出发机场三字码(从 searchFlight 响应结果中获取)
  • end_code: 到达机场三字码(从 searchFlight 响应结果中获取)
  • date: 出发日期(格式 YYYY-MM-DD)
  • flight_no: 航班号

触发词:查看航班详情、这个航班的舱位价格

执行命令

python3 scripts/search_price.py <start_code> <end_code> <date> <flight_no>

Read the full file on GitHub · 755 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 755 lines · 63 tokens per session scan A ab26f9e6c9ff

Subscribe to this mod's changes

flightAI is a skill published in the GitHub repository LeoYeAI/openclaw-master-skills (2,139 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 6,505 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

ckjia-shopping

A shopping search and price-comparison tool for Taobao, JD.com, Tmall, and Pinduoduo, with image-based product recognition. It requires the ckjia-shopping service and its access key to be enabled.

mateaix/mateclaw · 64 tokens

comfyui-skill-openclaw

Run registered ComfyUI workflows through the fast comfyui-skill CLI, and use the official local Comfy MCP for live template, node, model, validation, and orchestration capabilities. Use this Skill when: (1) The user requests to "generate an image", "draw a picture", or "execute a ComfyUI workflow". (2) The user has…

HuangYuChuh/ComfyUI_Skills_OpenClaw · 125 tokens

stripe

Read Stripe account state from a terminal or agent: balance, payment intents, and subscriptions — and perform guarded mutations like canceling a subscription — backed by a bundled stripe-cli script that is read-only first and gates every state-changing command behind a --dry-run/--yes confirmation. Use when an agent…

magnus919/agent-skills · 116 tokens

deliveroo-order

Turn collected lunch orders into a clean per-person order list for a human to place on Deliveroo. Use in step 2 of the lunch run, after orders are collected. The live menu is fetched automatically by the lobu-team-lunch-finalize reaction (via the Owletto Chrome extension) — this skill never places an order or touches…

lobu-ai/lobu · 75 tokens

pm-business-model

A Chinese-language workflow for designing a business model, including customers, value, channels, relationships, and revenue.

konglong87/superPM · 53 tokens

sorftime-seller-agent

Sorftime Seller Agent — Expert-level cross-border e-commerce data analysis and product sourcing intelligence for Amazon, Walmart, TikTok Shop, 1688, Shopee, and TEMU sellers (plus Reddit social-listening queries). A single skill that turns any MCP-enabled AI agent (Claude Code, OpenClaw, Cursor, Copilot) into a…

DannylydST/sorftime-seller-agent · 127 tokens