/flight-optimizer:flight-sweepfrom flight-optimizer
Batch-collect flight data across date ranges and analyze with filtering, scoring, and HTML viewer generation
Ships in flight-optimizer. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 |
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub varunr89/claude-marketplace --plugin flight-optimizer2 skills in this plugin
Other plugins' skills for the same job