← 返回
未分类 Key 中文

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...
使用 RollingGo Flight CLI 搜索航班和机场。当用户想要搜索航班、查找机场代码、查看客舱可用性时使用此技能。
rollinggo-ai
未分类 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 215
下载
💾 0
安装
1
版本
#latest

概述

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 <key> --keyword "Hangzhou"

# Search flights (minimum required flags)
rollinggo-flight search-flights \
  --api-key <key> \
  --from-city <code> \
  --to-city <code> \
  --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

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-21 15:38 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

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

rollinggo-ai
使用 RollingGo Flight CLI 查询机场三字码和机票。用于搜索机票、查询机场代码、按出发地/目的地/日期/舱位/往返类型筛选航班,或进行结构化飞行查询。触发词包括:查机票、搜索机票、查航班、查机场代码、北京到上海机票、往返商
★ 1 📥 286

RollingGo-Hotel-Booking-Skill

rollinggo-ai
通过 Rollinggo CLI 搜索酒店及价格。适用于用户按目的地搜索酒店,按日期/星级/预算/标签/距离筛选,检查酒店...
★ 1 📥 268

全能订酒店国内版

rollinggo-ai
使用 RollingGo CLI 查询、筛选酒店信息,获取标签和房型价格。适用于按目的地/日期/星级/预算/标签/距离搜索酒店、查看详情和报价,或读取酒店标签库。触发短语:搜索酒店、查酒店、酒店详情、房型价格、酒店标签、附近酒店等。
★ 0 📥 274