Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
Queries real-time flight offers via the Amadeus API, returning prices, schedules, stop counts, and seat availability. Supports IATA airport codes with built-in lookup for 40+ Chinese cities. Works in test or production mode depending on the configured base URL.
Amadeus provides real carrier pricing and availability in one API call, avoiding manual searches across multiple booking sites.
When to use it
- Checking cheapest flights between two cities on a specific date
- Finding non-stop business class options for a work trip
- Looking up IATA codes for Chinese cities by name
- Comparing economy vs premium economy pricing
- Getting raw JSON flight data for further processing
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: What are the cheapest flights from Hong Kong to Shanghai on March 20?
- 1Resolve city names to IATA codes (HKG, PVG)
- 2Run query.mjs HKG PVG -d 2026-03-20 to fetch offers from Amadeus API
- 3Parse results for price, stops, and schedule
- 4Return ranked list of flight options with prices in CNY
List of available flights with airline, departure time, stops, and price
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.