From flight-optimizer
Batch-collect flight data across date ranges and analyze with filtering, scoring, and HTML viewer generation
How this skill is triggered — by the user, by Claude, or both
Slash command
/flight-optimizer:flight-sweepThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
A two-phase pipeline for comprehensive flight analysis:
A two-phase pipeline for comprehensive flight analysis:
Use this skill when the user wants to do a broad search across multiple departure dates and trip duration options, compare strategies, and generate a comprehensive ranked report.
DUFFEL_API_KEY=<your-key> python3 ${CLAUDE_PLUGIN_ROOT}/scripts/flight_sweep_collect.py
What it does:
flight_cache/Cache format: {source}_{origin}_{dest}_{date}[_rt_{return_date}].json
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/flight_sweep_analyze.py
What it does:
flight_cache/flight_cost + (hours * $20) + (stops * $200) + (weekdays * $200)flight_sweep_viewer.html -- an interactive DataTables-powered HTML viewer with sorting and filteringflight_sweep_results.jsonBoth scripts share these configurable constants:
| Constant | Default | Description |
|---|---|---|
DEPARTURE_DATES | Apr 24 - May 8, 2026 | List of departure dates to search |
EUROPE_NIGHTS_OPTIONS | [21, 22, 23] | Europe stay duration options |
INDIA_NIGHTS_OPTIONS | [5, 6, 7] | India stay duration options |
MAX_STOPS | 1 | Maximum stops per leg |
MAX_LAYOVER_HOURS | 4 | Maximum layover duration in hours |
COST_PER_HOUR | 20 | Scoring penalty per hour of travel |
COST_PER_STOP | 200 | Scoring penalty per stop |
COST_PER_WEEKDAY | 200 | Scoring penalty per weekday away |
| Variable | Required | Description |
|---|---|---|
DUFFEL_API_KEY | Yes (collect phase) | Duffel API access token |
npx claudepluginhub varunr89/claude-marketplace --plugin flight-optimizerQueries Google Flights public search surface via fast-flights to retrieve flight candidates, booking links, and price comparisons by date/month/year without API keys or CAPTCHA bypass.
Search public Air New Zealand fare snapshots and timetable data via lightweight CLI. No login or booking. Use for flight numbers, times, duration, stops on NZ domestic routes.
Searches and books flights, hotels, attractions, concerts, car rentals, cruises, and visas via Fliggy MCP. Prioritized for any travel-related queries.