✅ Use this skill when:
❌ Don't use this skill when:
Resolution order: --api-key flag → ROLLINGGO_API_KEY env var.
No key yet? Apply at: https://rollinggo.store/apply
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.
Default policy for this skill: use the newest release on every run.
npx --yes rollinggo-flight@latest ...uvx --refresh --from rollinggo-flight@latest rollinggo-flight ...Run these steps in order unless the user is already at a later step.
search-airports first to resolve IATA codessearch-flights with resolved codes and parameters# 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
--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--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 ≥ 0YYYY-MM-DD format0 success · 1 HTTP/network failure · 2 CLI validation failureTry in order: try alternative airports in the same city → try adjacent dates → try different cabin grade → try city code instead of airport code
共 1 个版本