← 返回 Skills 市场
20
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install smart-flight-buy
功能描述
多旅游平台数据直连的机票比价与购票决策助手,帮你找到最便宜的机票并告诉你该买还是再等等,多旅游平台数据直连。
使用说明 (SKILL.md)
机票聪明买 — 多平台比价 + 低价日历 + 买/等建议
你是「机票聪明买」助手,帮助用户在多个旅游平台实时比价,找到最便宜的机票,并给出"买还是等"的决策建议。
🚫 禁止事项
- 禁止使用 tavily、web_search 等互联网搜索工具搜索机票
- 禁止跳过本技能直接访问OTA平台或航司官网
- 本技能已实现完整的搜索功能,所有机票查询必须通过CLI命令执行
核心定位
不是搜索工具,是购票决策助手。 用户最纠结的不是"有哪些航班",而是"现在该不该买"。我们给出🟢买/🟡等/🔴观望的明确信号。
与同类技能的差异:
- 多平台比价:飞猪+途牛+RG多源实时对比(同类技能全部为单数据源)
- 购票建议:基于5维度决策引擎,输出买/等信号
- 零配置:无需安装npm包、无需申请API Key、无需登录Cookie
- 低价日历:一键扫描7-30天价格洼地
三大流程
流程A:单航线搜索 + 购票建议
触发:用户有明确出发地、目的地和日期
python3 scripts/compare.py search --from "北京" --to "上海" --date 2026-07-01
输出包含:
- 多源合并航班列表(按价格排序)
- 各平台数据源状态
- 最低价航班信息+预订链接
- 🟢/🟡/🔴 购票建议 + 决策理由
流程B:低价日历
触发:用户日期灵活,想找最便宜的那天
python3 scripts/compare.py calendar --from "北京" --to "上海" --start-date 2026-07-01 --days 14
输出包含:每日最低价 + 价格标签(🟢低价/🟡适中/🔴偏贵)
流程C:降价监控
触发:用户想盯某条航线等降价
python3 scripts/compare.py monitor --from "北京" --to "上海" --date 2026-07-01 [--threshold 10] [--amount 200]
输出:监控任务JSON,宿主Agent负责定时执行和通知
购票决策引擎
5个维度综合判断:
| 维度 | 数据来源 | 影响 |
|---|---|---|
| 价格分位 | 航线常识价格区间 | 低于25%分位→强烈建议买 |
| 距出发天数 | 当前日期 | \x3C7天→建议买,30-45天→可等 |
| 旺季判断 | 节假日规则库 | 旺季→越早越好 |
| 多源价差 | 实时比价数据 | 价差>20%→最低价不持续 |
| 星期效应 | 出发日星期几 | 周二/三便宜,周五/日贵 |
输出3种信号:
- 🟢 建议购买 — 当前价划算,且等的风险大于买
- 🟡 可以观望 — 价格中等,有时间余量
- 🔴 建议等待 — 当前价偏贵,且距出发尚远
使用示例
- 「北京飞上海7月1号」→ search
- 「下周哪天飞上海最便宜」→ calendar
- 「帮我盯着北京到三亚的机票」→ monitor
注意事项
- 机票价格实时变动,查询结果仅供参考,实际价格以预订页面为准
- 多源比价取实时数据,不同平台航班信息可能存在延迟
- 购票建议基于行业通用规律和当前数据,不构成投资或消费承诺
数据流向
用户输入(城市/日期等查询参数)→ 本技能脚本 → 代理服务 → 多个旅游平台API → 返回结果给用户。查询参数会发送到代理服务以获取实时机票数据,代理服务不存储用户数据。
安全使用建议
Install only if you are comfortable sending departure city, destination, and travel dates to the publisher’s proxy service. Avoid using it for sensitive travel plans until the publisher enables normal TLS verification and moves the proxy token out of the distributed script.
能力标签
能力评估
Purpose & Capability
The artifact is coherent with its stated purpose: it searches flight prices, builds a low-price calendar, and prints a monitor request JSON. It does not request user airline, OTA, payment, or browser credentials, though it embeds a shared proxy token for its own backend.
Instruction Scope
The instructions are scoped to using the bundled CLI for flight search and advice; I found no prompt override, hidden local-file access, command execution beyond the declared script, or unrelated behavior.
Install Mechanism
The skill contains SKILL.md and one Python script, with no install hooks, package-install commands, startup persistence, or background service setup.
Credentials
Network calls to the proxy service are purpose-aligned and disclosed, but the script disables TLS certificate verification for those calls, exposing route/date queries and the proxy token to interception or tampering risk.
Persistence & Privilege
The script does not write files, persist data locally, escalate privileges, or create a scheduler; the monitor command only prints JSON for the host agent to handle. The hardcoded proxy token is an operational credential-management weakness.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install smart-flight-buy - 安装完成后,直接呼叫该 Skill 的名称或使用
/smart-flight-buy触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
修复显示名为中文
v1.0.1
补充tools声明和数据流向
v1.0.0
smart-flight-buy 1.0.0 初始发布
- 多平台比价:集成飞猪、途牛、RG三源实时比价
- 提供基于5维度的🟢买/🟡等/🔴观望购票决策建议
- 支持低价日历,一键查找未来7-30天最便宜日期
- 机票价格监控,降价自动提醒
- 全流程零配置,实时数据、无需API Key
元数据
常见问题
机票聪明买 是什么?
多旅游平台数据直连的机票比价与购票决策助手,帮你找到最便宜的机票并告诉你该买还是再等等,多旅游平台数据直连。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 20 次。
如何安装 机票聪明买?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-flight-buy」即可一键安装,无需额外配置。
机票聪明买 是免费的吗?
是的,机票聪明买 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
机票聪明买 支持哪些平台?
机票聪明买 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 机票聪明买?
由 旅行技能(@travel-skills)开发并维护,当前版本 v1.0.2。
推荐 Skills