← Back to Skills Marketplace
rollinggo-ai

全球机票查询Skill-by RollingGo

by RollingGo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
37
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rollinggo-flight-search-cn
Description
「全球机票查询 Skill」整合全球500+航司资源,全球第三大酒旅B2B公司官方出品,免费使用,无调用配额限制 访问rollinggo.store来申请你的专属Key:因机票价格、库存和订单能力涉及真实交易链路,因此我们需要为每个Skill用户开通免费专属的独立 KEY,永久调用额度现仍能申请。
README (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 参数校验失败

无结果时的放宽策略

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

Usage Guidance
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.
Capability Tags
requires-sensitive-credentials
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rollinggo-flight-search-cn
  3. After installation, invoke the skill by name or use /rollinggo-flight-search-cn
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug rollinggo-flight-search-cn
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 全球机票查询Skill-by RollingGo?

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

How do I install 全球机票查询Skill-by RollingGo?

Run "/install rollinggo-flight-search-cn" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 全球机票查询Skill-by RollingGo free?

Yes, 全球机票查询Skill-by RollingGo is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 全球机票查询Skill-by RollingGo support?

全球机票查询Skill-by RollingGo is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 全球机票查询Skill-by RollingGo?

It is built and maintained by RollingGo (@rollinggo-ai); the current version is v1.0.0.

💬 Comments