← 返回 Skills 市场
rollinggo-ai

全能订机票国内版-仅支持查询

作者 RollingGo-AI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
56
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rollinggo-flight-search-skill
功能描述
使用 RollingGo Flight CLI 查询机场代码和机票结果。当用户需要搜索机票、查询机场三字码、按出发地 / 到达地 / 日期 / 舱位 / 往返类型筛选航班,或围绕飞行出行做结构化查询时触发本技能。触发短语——"查机票"、"搜索机票"、"查航班"、"查机场代码"、"北京到上海机票"、"往返商务舱"、...
使用说明 (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 参数校验失败

无结果时的放宽策略

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

安全使用建议
Before installing, make sure you trust RollingGo and the rollinggo-flight package, because the skill runs external latest-version CLI code. Store ROLLINGGO_API_KEY in per-skill configuration if possible, and use the skill only for flight search results, not booking or payment.
功能分析
Type: OpenClaw Skill Name: rollinggo-flight-search-skill Version: 1.0.0 The skill provides a flight search interface using the `rollinggo-flight` CLI and the `rollinggo.store` API. It is classified as suspicious due to the promotion of high-risk installation and execution patterns, specifically the use of `curl | sh` and `npx ...@latest` in `SKILL.md` and `references/rollinggo-flight-npx.md`. These practices introduce significant supply chain and remote code execution risks by bypassing version pinning and executing unverified remote scripts. While the behavior appears aligned with the stated purpose and no evidence of intentional malice was found, these patterns are considered high-risk in an automated agent environment.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose, commands, and examples are coherent for airport-code and flight-result queries, and the skill explicitly excludes booking, payment, check-in, seat selection, hotels, trains, and other non-flight tasks.
Instruction Scope
Instructions are scoped to collecting flight-search parameters, resolving airport/city codes, running search commands, and relaxing filters when no results are found.
Install Mechanism
The skill uses rollinggo-flight@latest through npm/npx or uvx, and references optional pipe-to-shell installers; this is disclosed and purpose-aligned, but users must trust the external package and installer source.
Credentials
ROLLINGGO_API_KEY is expected for the RollingGo service, but users should prefer per-skill configuration over host-wide or shell-imported environment variables.
Persistence & Privilege
No background agent, self-persistence, or account mutation is shown, but the reference docs describe persistent API-key storage in host configuration or .env files.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rollinggo-flight-search-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rollinggo-flight-search-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of rollinggo-searchflight skill. - Search for flight tickets and airport codes using RollingGo Flight CLI. - Supports queries by departure/arrival city or airport, date, cabin class, trip type (one-way/round-trip), and passenger details. - Triggered by phrases like "查机票", "搜索机票", "查航班", "查机场代码", and others. - Provides stepwise workflows, fallback strategies, and essential CLI usage instructions. - Requires ROLLINGGO_API_KEY and Node.js or compatible runtime for operation.
元数据
Slug rollinggo-flight-search-skill
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

全能订机票国内版-仅支持查询 是什么?

使用 RollingGo Flight CLI 查询机场代码和机票结果。当用户需要搜索机票、查询机场三字码、按出发地 / 到达地 / 日期 / 舱位 / 往返类型筛选航班,或围绕飞行出行做结构化查询时触发本技能。触发短语——"查机票"、"搜索机票"、"查航班"、"查机场代码"、"北京到上海机票"、"往返商务舱"、... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 56 次。

如何安装 全能订机票国内版-仅支持查询?

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

全能订机票国内版-仅支持查询 是免费的吗?

是的,全能订机票国内版-仅支持查询 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

全能订机票国内版-仅支持查询 支持哪些平台?

全能订机票国内版-仅支持查询 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 全能订机票国内版-仅支持查询?

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

💬 留言讨论