← 返回 Skills 市场
rollinggo-ai

rollinggo-flight-search-skill

作者 RollingGo-AI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
43
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rollinggo-flight-search
功能描述
Search flights and airports using the RollingGo Flight CLI. Use this skill whenever the user wants to search for flights, find airport codes, check cabin ava...
使用说明 (SKILL.md)

RollingGo Flight CLI

When to Use

Use this skill when:

  • Airport Discovery: User needs to find airport codes or verify city/airport names before booking (e.g., "What's the airport code for Hangzhou?").
  • Flight Search: User wants to find available flights between two destinations with specific dates, cabin class, or passenger count.
  • One-way or Round-trip: User wants to search one-way or round-trip flights with structured filters.
  • Multi-step Planning: User provides a natural language travel request and needs structured flight results to continue planning.

Don't use this skill when:

  • User asks about hotel booking, trains, transfers, or car rentals.
  • User wants real-time seat selection or checkout — this skill returns search results only.

API Key

Resolution order: --api-key flag → ROLLINGGO_API_KEY env var.

No key yet? Apply at: https://rollinggo.store/apply

Runtime

Default to references/rollinggo-flight-npx.md; switch to references/rollinggo-flight-uvx.md if the user specifies uv/uvx/Python. For environments without Node.js or Python, use the standalone binary (see each reference file's Install section). For step-by-step scenarios and tutorials, see references/flight-workflows.md. For API key persistence see references/claw-host-env.md.

Version Freshness (Always Latest)

Default policy for this skill: use the newest release on every run.

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

Primary Workflow

Run these steps in order unless the user is already at a later step.

  1. Clarify: origin city/airport, destination city/airport, departure date, trip type (ONE_WAY / ROUND_TRIP), return date (if round-trip), passenger count, cabin class
  2. If city/airport codes are unclear → run search-airports first to resolve IATA codes
  3. Run search-flights with resolved codes and parameters
  4. If no results → loosen filters (see Filter Loosening below)

Commands Quick Reference

# Resolve airport/city codes
rollinggo-flight search-airports --api-key \x3Ckey> --keyword "Hangzhou"

# Search flights (minimum required flags)
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

# Discover all flags
rollinggo-flight search-airports --help
rollinggo-flight search-flights --help

Key Rules

  • --trip-type must be exactly ONE_WAY or ROUND_TRIP
  • --ret-date is required when --trip-type is ROUND_TRIP
  • --cabin-grade must be one of: ECONOMY, PREMIUM_ECONOMY, BUSINESS, FIRST
  • Use either --from-city or --from-airport (not both); same for destination
  • --from-city / --to-city accepts city codes (e.g. BJS, SHA); --from-airport / --to-airport accepts IATA airport codes (e.g. PEK, PVG)
  • --adult-number must be ≥ 1; --child-number must be ≥ 0
  • Dates must use YYYY-MM-DD format

Output

  • stdout → result payload (JSON by default)
  • stderr → errors only
  • Exit 0 success · 1 HTTP/network failure · 2 CLI validation failure

Filter Loosening (when no results)

Try in order: try alternative airports in the same city → try adjacent dates → try different cabin grade → try city code instead of airport code

安全使用建议
Before installing, make sure you trust RollingGo and its CLI package. Store `ROLLINGGO_API_KEY` using per-skill environment injection, avoid command-line key exposure where possible, and be cautious with the optional remote installer or unpinned `@latest` execution in higher-security environments.
功能分析
Type: OpenClaw Skill Name: rollinggo-flight-search Version: 1.0.0 The skill provides flight search capabilities via a CLI tool but includes high-risk installation patterns and versioning practices. Specifically, the reference files (rollinggo-flight-npx.md and rollinggo-flight-uvx.md) provide instructions for the agent to execute remote scripts via 'curl | sh' and 'irm | iex' (from raw.githubusercontent.com) if standard runtimes are missing. Additionally, the skill consistently uses unpinned package versions (@latest) in its installation and execution commands, which introduces supply chain risks. While these behaviors appear intended for legitimate setup and functionality, they represent significant security risks in an automated agent environment.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose, commands, and workflows all align with searching airports and flights; the skill explicitly says it does not handle seat selection or checkout.
Instruction Scope
The routing language is broad for flight-related questions, but it is bounded to flight search and excludes unrelated travel services such as hotels, trains, transfers, and car rentals.
Install Mechanism
The skill relies on external package execution and recommends latest-version npm/npx or uvx usage, with optional remote installer scripts. This is disclosed and purpose-aligned, but not pinned or independently reviewable from these artifacts.
Credentials
A RollingGo API key is required for the service. That is expected for a provider-backed flight search CLI, but the key should be scoped and stored carefully.
Persistence & Privilege
The skill documents host-managed environment persistence for the API key, including per-skill and host-wide options. There is no evidence of background persistence or account mutation, but per-skill injection is safer than host-wide exposure.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rollinggo-flight-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rollinggo-flight-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial English-language release and documentation refactor. - Translated and streamlined all instructions and usage guidelines from Chinese to concise English. - Clarified use cases and precise triggers for when to use the flight search and airport code lookup features. - Outlined key workflows, primary command usage, API key details, and filter-loosening logic for no-result scenarios. - Provided direct, plain-English quick reference for commands and flag usage. - No core functionality changes; this update is documentation-focused.
元数据
Slug rollinggo-flight-search
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

rollinggo-flight-search-skill 是什么?

Search flights and airports using the RollingGo Flight CLI. Use this skill whenever the user wants to search for flights, find airport codes, check cabin ava... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 43 次。

如何安装 rollinggo-flight-search-skill?

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

rollinggo-flight-search-skill 是免费的吗?

是的,rollinggo-flight-search-skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

rollinggo-flight-search-skill 支持哪些平台?

rollinggo-flight-search-skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 rollinggo-flight-search-skill?

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

💬 留言讨论