← 返回 Skills 市场
rollinggo-ai

全球机票查询Skill-by RollingGo

作者 RollingGo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rollinggo-flight-search-cn
功能描述
「全球机票查询 Skill」整合全球500+航司资源,全球第三大酒旅B2B公司官方出品,免费使用,无调用配额限制 访问rollinggo.store来申请你的专属Key:因机票价格、库存和订单能力涉及真实交易链路,因此我们需要为每个Skill用户开通免费专属的独立 KEY,永久调用额度现仍能申请。
使用说明 (SKILL.md)

RollingGo 机票 CLI

适用范围

在以下情况使用本技能:

  • 查询机场代码: 用户需要确认城市对应的机场代码,或根据机场名 / 城市名 / 三字码查询机场信息(例如:“杭州机场代码是什么?”)。
  • 搜索机票: 用户要查询两个城市或机场之间的航班,并指定日期、舱位、人数等条件。
  • 单程或往返查询: 用户需要按 ONE_WAYROUND_TRIP 查询结构化航班结果。
  • 行前规划: 用户给出自然语言出行需求,需要先解析成机场代码,再继续搜索机票。

以下情况不适用:

  • 用户询问酒店、火车票、接送机或租车等非机票类业务。
  • 用户需要值机、选座或支付下单闭环;本技能只负责搜索结果查询。

API Key

解析顺序:--api-key 参数 → ROLLINGGO_API_KEY 环境变量。

还没有 Key?前往申请:https://rollinggo.store/apply

运行环境

默认加载 references/rollinggo-flight-npx.md;用户明确使用 uv/uvx/Python 时改加载 references/rollinggo-flight-uvx.md。如果当前环境没有 Node.js 或 Python,可改用独立二进制安装方式。更完整的分步场景教程见 references/flight-workflows.md。API Key 持久化配置见 references/claw-host-env.md

版本新鲜度(始终使用最新版)

本技能默认策略:每次执行都使用最新发布版本。

  • npm/npx: npx --yes rollinggo-flight@latest ...
  • uvx: uvx --refresh --from rollinggo-flight@latest rollinggo-flight ...

主要工作流

除非用户已经明确处在后续步骤,否则按顺序执行:

  1. 明确需求:出发城市 / 机场、到达城市 / 机场、出发日期、是否往返、返程日期(若往返)、人数、舱位
  2. 如果城市码或机场码不明确 → 先执行 search-airports 解析机场 / 城市代码
  3. 执行 search-flights 搜索航班
  4. 如果没有结果 → 放宽筛选条件后重试

常用命令速查

# 查询机场 / 城市代码
rollinggo-flight search-airports --api-key \x3Ckey> --keyword "Hangzhou"

# 搜索机票(最少必填参数)
rollinggo-flight search-flights \
  --api-key \x3Ckey> \
  --from-city \x3Ccode> \
  --to-city \x3Ccode> \
  --from-date YYYY-MM-DD \
  --trip-type ONE_WAY \
  --adult-number 1 \
  --child-number 0 \
  --cabin-grade ECONOMY

# 查看所有可用参数
rollinggo-flight search-airports --help
rollinggo-flight search-flights --help

关键规则

  • --trip-type 必须是精确值:ONE_WAYROUND_TRIP
  • --trip-typeROUND_TRIP 时,--ret-date 为必填
  • --cabin-grade 只能是:ECONOMYPREMIUM_ECONOMYBUSINESSFIRST
  • 出发地使用 --from-city--from-airport 二选一;到达地同理
  • --from-city / --to-city 接收城市代码(如 BJSSHA);--from-airport / --to-airport 接收机场三字码(如 PEKPVG
  • --adult-number 必须 ≥ 1;--child-number 必须 ≥ 0
  • 日期格式必须为 YYYY-MM-DD

输出说明

  • stdout → 结果数据(默认 JSON)
  • stderr → 仅错误信息
  • 退出码 0 成功 · 1 HTTP/网络失败 · 2 CLI 参数校验失败

无结果时的放宽策略

按顺序尝试:改用同城其他机场 → 尝试相邻日期 → 降低或调整舱位要求 → 改用城市代码而不是机场代码

安全使用建议
Install only if you trust RollingGo and the referenced CLI packages. Prefer the npm or uv package-manager paths over the standalone curl/irm installer, avoid piping remote scripts directly into a shell, keep ROLLINGGO_API_KEY out of command-line arguments and shared logs, and assume flight origins, destinations, dates, passenger counts, and cabin choices are sent to RollingGo for processing.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose, airport and flight-search commands, API key requirement, and RollingGo service use are coherent and purpose-aligned. The artifact does not show deception, exfiltration beyond the expected travel-search service interaction, or destructive behavior.
Instruction Scope
Instructions are mostly scoped to resolving airport codes and searching flights, with explicit limits that it does not handle hotels, check-in, seat selection, payment, or booking completion. It does, however, prefer latest package execution, which increases supply-chain exposure.
Install Mechanism
The primary metadata install path is an npm package, but reference docs also present curl-to-sh and PowerShell irm-to-iex installer commands from a mutable GitHub main-branch URL without checksum, signature, pinning, or review guidance. That is high-impact host code execution even though it appears purpose-aligned rather than hidden.
Credentials
A RollingGo API key and flight-search parameters are proportionate for this purpose, but the docs do not clearly warn that itinerary details are sent to an external provider or that command-line secrets can appear in shell history, process listings, logs, or screenshots.
Persistence & Privilege
No background agents, daemons, privilege escalation, or destructive persistence are present in the skill files. The docs do recommend persistent per-skill or host-wide environment configuration for the API key, including .env-style storage, which users should handle carefully.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rollinggo-flight-search-cn
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rollinggo-flight-search-cn 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of rollinggo-searchflight. - Enables CLI-based queries for airport codes and flight tickets. - Supports structured searches by departure/arrival, date, cabin class, trip type, and passenger count. - Provides fallback strategies if no results are found (relax airport/city, dates, or cabin class). - Requires ROLLINGGO_API_KEY and compatible runtimes (Node.js, uvx, or standalone binary). - Includes common usage examples and precise parameter rules for reliable queries.
元数据
Slug rollinggo-flight-search-cn
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

全球机票查询Skill-by RollingGo 是什么?

「全球机票查询 Skill」整合全球500+航司资源,全球第三大酒旅B2B公司官方出品,免费使用,无调用配额限制 访问rollinggo.store来申请你的专属Key:因机票价格、库存和订单能力涉及真实交易链路,因此我们需要为每个Skill用户开通免费专属的独立 KEY,永久调用额度现仍能申请。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。

如何安装 全球机票查询Skill-by RollingGo?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install rollinggo-flight-search-cn」即可一键安装,无需额外配置。

全球机票查询Skill-by RollingGo 是免费的吗?

是的,全球机票查询Skill-by RollingGo 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

全球机票查询Skill-by RollingGo 支持哪些平台?

全球机票查询Skill-by RollingGo 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 全球机票查询Skill-by RollingGo?

由 RollingGo(@rollinggo-ai)开发并维护,当前版本 v1.0.0。

💬 留言讨论