flight-search
Installation
SKILL.md
Flight Search
Overview
Use the bundled script to query the Variflight ticket API and return one-way flight options for a single route and date.
Workflow
- Collect
dep,arr, anddate. - Validate
depandarras three-letter IATA city codes anddateasYYYY-MM-DD. - If the user gives city names instead of codes, infer only when the mapping is unambiguous; otherwise ask for the IATA codes.
- Run
python3 scripts/query_flights.py --dep BJS --arr SHA --date 2026-04-21. - Summarize the result with departure airport, arrival airport, times, duration, price, transfer info, and the flight tag text.