Install
openclaw skills install @linger0/flight-searchSearch one-way flight options by departure city, destination city, and date using Ctrip mobile results, then sort by price ascending. Use when the user wants a quick flight lookup like "查一下上海到北京 2026-04-01 的机票", or asks for results that include flight number, departure/arrival time, price, and whether the itinerary has a transfer.
openclaw skills install @linger0/flight-searchUse the bundled CLI to fetch and normalize Ctrip mobile flight results.
scripts/search_ctrip_flights.py.python3 skills/flight-search/scripts/search_ctrip_flights.py 上海 北京 2026-04-01
Useful flags:
python3 skills/flight-search/scripts/search_ctrip_flights.py SHA BJS 2026-04-01 --format json
python3 skills/flight-search/scripts/search_ctrip_flights.py 上海 北京 2026-04-01 --limit 10
YYYY-MM-DD format.直飞 or 转机N次.scripts/search_ctrip_flights.py: fetch and format flight results.references/city_codes.json: Chinese city-name to airport/city-code mapping.