Agent skill

Compare Flights

by borski in borski/travel-hacking-toolkit

Unified flight comparison across cash (Duffel, Ignav), award (seats.aero), and portal (Chase, Amex) sources in parallel.

MITAuto-check passed

Install Compare Flights

skills CLI
$ npx skills add borski/travel-hacking-toolkit --skill compare-flights -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install borski/travel-hacking-toolkit compare-flights --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/borski/travel-hacking-toolkit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/travel-hacking-toolkit/skills/compare-flights .claude/skills/compare-flights && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
compare-flights
GitHub stars
688
Token cost
~3k tokens
SKILL.md length
1,397 words
Files
1
Skills in repo
46
Repo updated
First seen
Licence
MIT

At a glance

Unified flight comparison across cash (Duffel, Ignav), award (seats.aero), and portal (Chase, Amex) sources in parallel.

  • Works in 5 steps: Gather All Prices → Apply Transfer Partner Optimization → Calculate Portal CPP → …
  • SKILL.md covers When to Use, Sources, Workflow and Error Handling, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Compare Flights is an agent skill from borski/travel-hacking-toolkit. Unified flight comparison across cash (Duffel, Ignav), award (seats.aero), and portal (Chase, Amex) sources in parallel. Outputs one table with transfer partner optimization and recommendations.

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: AI-powered travel hacking and search with cash, points, miles, and award flights. Drop-in skills and MCP servers for Claude, Codex, and OpenCode. The licence is MIT.

Example prompts

  • “/compare-flights”

Requirements

  • Docker

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Gather All Prices
  2. Apply Transfer Partner Optimization
  3. Calculate Portal CPP
  4. Present Unified Table
  5. Recommendation

What it can do on your machine

Read from SKILL.md and the folder at commit db82131. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Compare Flights loads about 3k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 1,397 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from borski/travel-hacking-toolkit at commit db82131, republished under its MIT licence (© borski). 1,397 words, ~2,979 tokens.

Download SKILL.mdSave it as .claude/skills/compare-flights/SKILL.md (or your agent's skills folder).
name
compare-flights
description
Unified flight comparison across cash (Duffel, Ignav), award (seats.aero), and portal (Chase, Amex) sources in parallel. Outputs one table with transfer partner optimization and recommendations.
category
orchestration
summary
Unified flight comparison across ALL sources in parallel. Auto-applies transfer optimization.
api_key
Uses individual skill keys

Compare Flights

Search every available source for a route and present one unified comparison. Combines cash pricing, award availability, portal pay-with-points, and transfer partner optimization into a single table.

This is an orchestration skill. It tells the agent which tools to run and how to combine results. No standalone script.

Companion reference skills. Load these for deeper context:

  • flight-search-strategy — full source priority, market selection, source accuracy hierarchy
  • points-valuations — CPP rules, floor/ceiling, surcharge programs, transfer bonuses
  • partner-awards — alliance + bilateral partnership reachability
  • lessons-learned — Seats.aero workflow, Southwest specifics, Companion Pass math
  • fallback-and-resilience — what to do when a source fails
  • transfer-bonuses — current active transfer bonuses (live data); changes effective ratios when computing options 4-7 of the comparison table
  • stopovers — when an itinerary has a long layover or multi-city, check if a stopover-allowing program priced lower than separate one-ways
  • round-the-world — for 3+ stop multi-region itineraries, RTW products may beat sum-of-parts award pricing
  • award-holds — many major Western programs (UA, Aeroplan, AS, DL, BA, ANA, Qatar, Korean) no longer offer holds. Some still do: AA (24h online), Lufthansa M&M (5 days), Flying Blue (3 days, $25 phone fee), Cathay (2 days, $39 fee), Turkish (2 days), Virgin Atlantic (1-2 days, free phone), Singapore (agent discretionary). Affects whether the recommended path is "transfer first then ticket" or "ticket immediately"
  • status-match — when comparing options that include upgrades or elite-only benefits (lounge access, free bags, priority); status changes the real cost of a flight

When to Use

  • "Find me the best way to get from SFO to CDG in August"
  • "Should I pay cash or use points for this flight?"
  • "Compare all options for SFO to NRT business class"
  • Any flight search where the user wants the full picture

Sources

Run these in parallel where possible. Never fail silently. If a source errors, report it in the output so the user knows what's missing.

Cash Prices (run in parallel)
SourceSkillSpeedNotes
Duffelduffel~3sPrimary. Real GDS fares with fare classes. No Southwest.
Ignavignav~2sFast REST API. Good for price comparison. Booking links.
Google Flightsgoogle-flights~10sBrowser-automated. All airlines including Southwest cash. Good cross-check.
Skiplaggedweb search~5sHidden city ticketing. Often finds significantly cheaper fares. Search skiplagged.com/flights/{origin}/{dest}/{date}.
Kiwi.comweb search~5sCreative routings, self-transfer combos, multi-city. Search kiwi.com.
Southwestsouthwest~20sPatchright, Docker only. Points + cash for all 4 fare classes. Only needed when SW flies the route.

Skiplagged and Kiwi: Use web search (tavily or exa) to find their prices. They don't have MCP skills but their URLs are predictable. Always note that Skiplagged fares have restrictions (can't check bags, must use the "missed" connection city as destination).

Southwest: Run the southwest skill if SW flies the route. Include SW Rapid Rewards points in the comparison table as a separate currency. The lessons-learned skill has the full details on SW specifics (fare class requirements, Companion Pass math, GDS gap).

SerpAPI is optional. Only use if the user asks for Google Hotels or destination discovery.

Award Availability
SourceSkillSpeedNotes
Seats.aeroseats-aero~5sCached award availability across 25+ programs. Primary award source.
Portal Pay-With-Points (run in parallel, Docker required)
SourceSkillSpeedNotes
Chase URchase-travel~45sDynamic Points Boost pricing (~1.5-2.0 cpp on select bookings, not a guaranteed floor).
Amex MRamex-travel~45sIAP discount detection on Platinum.

Portal searches are slower (require browser login). Run them in parallel with each other, but don't block on them. Start cash + award searches first, present those results, then append portal results when ready.

Only run portal searches if the user has the relevant card or asks for portal pricing. Don't run Chase if they don't have a Sapphire card.

Workflow

Step 1: Gather All Prices

Run searches in parallel. Track which sources succeeded and which failed.

PARALLEL GROUP 1 (fast, ~3-5s):
  - Duffel: cash prices with fare classes
  - Ignav: cash prices with booking links
  - Seats.aero: award availability by program
  - Skiplagged: hidden city fares (web search)
  - Kiwi.com: creative routings (web search)

PARALLEL GROUP 2 (browser-automated, ~10-45s, Docker):
  - Google Flights: all airlines including Southwest cash
  - Southwest: points + cash for all fare classes (if SW flies the route)
  - Chase Travel: UR portal pricing + Points Boost
  - Amex Travel: MR portal pricing + IAP discounts

For each source, capture:

  • Source name
  • Status: "ok" | "error: {reason}" | "skipped: {reason}"
  • Results count
  • Data
Step 2: Apply Transfer Partner Optimization

For every seats.aero award result, calculate the effective cost in each transferable currency using data/transfer-partners.json:

For each award (e.g., United business at 88,000 miles):
  1. Look up which currencies transfer to United: Chase UR (1:1), Bilt (1:1)
  2. Calculate effective cost: 88,000 / 1.0 = 88,000 UR or 88,000 Bilt
  3. Calculate opportunity cost using data/points-valuations.json:
     88,000 UR × 1.7cpp floor = $1,496 equivalent

Include ALL viable transfer paths, not just the cheapest. The user may have more points in one currency than another.

Step 3: Calculate Portal CPP

Chase portal uses dynamic Points Boost pricing on CSR/CSP. The historical static 1.5x multiplier is gone. Each booking now quotes a specific points price; the effective cpp typically falls in the 1.5-2.0 cpp range on CSR but is not a guaranteed floor on every booking. Always pull the actual portal quote rather than computing from a multiplier.

Worked example with a Points Boost quote (verify the actual price):

Portal quote: 269,841 points for a $5,397 flight
True CPP: $5,397 / 269,841 = 2.0 cpp (excellent)

For lower-boost or non-boost bookings, the same flight might quote at 1.5 cpp or worse. Always use the real quote in the comparison.

Amex portal is ~1 cpp for flights (1 MR = 1 cent). IAP fares are discounted cash prices:

Standard: $5,044 = 504,400 MR points
IAP: $4,381 = 438,100 MR points (saves 66,300 MR)
Step 4: Present Unified Table

Always use markdown tables. One table with all options sorted by effective cost.

Show full SKILL.md (588 more words)Show less
Example: SFO → CDG Business Class, Aug 11
#OptionSourcePricePointsCurrencyCPPRating
1Cash (lowest)Duffel$4,200————
2Flying Blue via Chase URseats.aero$120 tax55,000Chase UR7.4Excellent
3Aeroplan via Chase URseats.aero$200 tax70,000Chase UR5.7Excellent
4Chase Portal (Boost offer)chase-travel$5,400 portal180,000Chase UR3.0Excellent (when offered)
5Chase Portal (no Boost)chase-travel$5,400 portal360,000Chase URvaries (~1.5 typical)Pull live quote
6Amex Portal (IAP)amex-travel$5,044 portal438,100Amex MR1.15Poor
7Amex Portal (standard)amex-travel$5,044 portal504,400Amex MR1.0Poor

Note: CPP for portal rows uses the portal's own quote ($5,400 / $5,044) as the anchor since that's the actual cash price the portal would charge. Award rows use the Duffel market price ($4,200) as the anchor since that's the cash equivalent the user is foregoing by burning miles. The two anchors differ because portals add a markup, so portal-CPP and award-CPP aren't directly comparable. Better comparison: total cash out-of-pocket (taxes + cash component) per option.

Example: SFO → LAX Economy, Aug 11
#OptionSourcePricePointsCurrencyCPPRating
1SW Wanna Get Awaysouthwest$795,200SW RR1.52Good
2Cash (lowest)Duffel$89————
3SW WGA+southwest$1198,400SW RR1.42Fair
4United via Chase URseats.aero$5.60 tax5,000Chase UR1.67Good
5Chase Portalchase-travel—8,900Chase URvaries (~1.5 typical)Pull live quote
6SW Anytimesouthwest$21916,800SW RR1.30Fair

Note: SW points values shown use direct redemption CPP. If the user has Companion Pass, effective CPP doubles (two tickets for the points price of one).

Sources checked:

  • ✅ Duffel: 45 results
  • ✅ Ignav: 38 results
  • ✅ Skiplagged: 3 hidden city options
  • ✅ Kiwi.com: 12 creative routings
  • ✅ Seats.aero: 12 award options
  • ✅ Southwest: 4 fare classes (WGA $79/5.2K, WGA+ $119/8.4K, Anytime $219/16.8K, BizSelect $289/22.1K)
  • ✅ Chase Travel: 300 results (3 with Points Boost)
  • ✅ Amex Travel: 292 results (IAP available)
  • ✅ Google Flights: 52 results
Step 5: Recommendation

After the table, always provide:

  1. Best overall value: Which option gives the most CPP
  2. Best convenience: Which is easiest to book (online vs call, instant transfer vs wait)
  3. Cash vs points verdict: Using the trip-calculator framework:
    • If cash < opportunity cost of best award → "Pay cash"
    • If cash > opportunity cost → "Use points"
  4. Transfer warning: "Don't transfer until you confirm availability. Transfers are usually instant but can take 48h."
  5. Balance check: If the user's balances are known (from AwardWallet or prior context), flag if they don't have enough points

Error Handling

NEVER fail silently. Every source must report its status.

If a source fails:

- ❌ Duffel: API error (rate limit exceeded). Cash prices from Ignav only.
- ❌ Chase Travel: Login failed (2FA timeout). No portal pricing available.

If ALL cash sources fail, say so explicitly. Don't present award-only results without noting the missing cash comparison.

If seats.aero returns no availability, say "No award availability found" instead of silently omitting the award section.

Data Files Used

FilePurpose
data/transfer-partners.jsonCredit card → loyalty program transfer ratios
data/points-valuations.jsonCPP floor/ceiling for calculating opportunity cost
data/partner-awards.jsonCross-alliance booking options (VA→ANA, EY→AA, etc.)

Limitations

  • Portal searches require Docker and login credentials. Skip if not configured.
  • Seats.aero shows cached availability (up to 24h old). Live search via seats-aero-web is local only.
  • Transfer ratios are from transfer-partners.json. Verify against issuer before large transfers.
  • Chase portal pricing is dynamic Points Boost (~1.5-2.0 cpp on select bookings, not a guaranteed floor). The historical static 1.5x multiplier is gone. Pull the actual portal quote rather than computing from a multiplier.
  • Southwest is NOT in Duffel, Ignav, or seats.aero. Use Google Flights skill if SW pricing needed.

© borski, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/travel-hacking-toolkit/skills/compare-flights of borski/travel-hacking-toolkit.

Open the folder on GitHubat commit db82131

Compare with similar skills

Compare Flights next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Compare Flights compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Compare Flights this skillborski/travel-hacking-toolkit688—~3kAutomated safety check: PassMIT
Flightsasgeirtj/system_prompts_leaks69k—~2.1kAutomated safety check: PassCC0-1.0
Flightscodewhale-hq/Codewhale41k—~258Automated safety check: PassMIT
Petty Cash Managementsickn33/agentic-awesome-skills47k1 repos~5.7kAutomated safety check: PassMIT
Unified Memoryaffaan-m/ECC276k1 repos~2kAutomated safety check: PassMIT
Schema Unifygarrytan/gbrain31k—~3.4kAutomated safety check: PassMIT

Similar skills

  • Flights

    asgeirtj/system_prompts_leaks

    Research, book, or manage flights, including check-in. An agent skill from asgeirtj/system_prompts_leaks.

    69k GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Flights

    codewhale-hq/Codewhale

    Track flights and look up status and schedules. An agent skill from codewhale-hq/Codewhale.

    41k GitHub stars~258 tokensUpdated today
    Auto-check passed
  • Petty Cash Management

    sickn33/agentic-awesome-skills

    Petty cash register: entry number, date and type, payee and purpose, cash in and out, running balance, cash limit flag, custodian, physical count and variance.

    47k GitHub starsUsed in 1 repo~5.7k tokens
    Auto-check passed
  • Unified Memory

    affaan-m/ECC

    Share durable, inspectable context and handoffs between Claude, Codex, Hermes, Cursor, OpenCode, and other agents through the local ECC Memory Vault.

    276k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Schema Unify

    garrytan/gbrain

    Migrate a brain from gbrain-base (or any pack) to gbrain-base-v2's 14-canonical-type taxonomy via gbrain onboard --check + the unify-types Minion handler.

    31k GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Side-by-side comparison of ruflo vs HAL vs other GAIA harnesses — capability gaps, design decisions, and improvement roadmap

    74k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check: notes

More from borski/travel-hacking-toolkit

All 46 skills in this repo
  • Amex Travel

    borski/travel-hacking-toolkit

    Search Amex travel portal for cash prices, MR points pricing, IAP discounts, and FHR/THC hotel benefits via Patchright.

    688 GitHub stars~3.1k tokensUpdated 3 days ago
    Auto-check passed
  • Chase Travel

    borski/travel-hacking-toolkit

    Search Chase UR travel portal via Patchright for cash prices, points pricing, Points Boost offers, and Chase Edit hotel benefits.

    688 GitHub stars~2.8k tokensUpdated 3 days ago
    Auto-check passed
  • Deutsche Bahn

    borski/travel-hacking-toolkit

    Deutsche Bahn train schedules, journey planning, and departures across Germany and into neighboring countries (Austria, Switzerland, Netherlands, France, Belgium).

    688 GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Sutochno

    borski/travel-hacking-toolkit

    Search Sutochno.ru (СУТОЧНО.РУ), a Russian short-term apartment-rental platform where you book directly from owners and pay in rubles (Mir card / bank transfer).

    688 GitHub stars~2.1k tokensUpdated 3 days ago
    Auto-check passed
  • Ticketsatwork

    borski/travel-hacking-toolkit

    Search TicketsAtWork (EBG corporate perks) for hotels, theme park tickets, attractions, and rental cars via Patchright.

    688 GitHub stars~4.2k tokensUpdated 3 days ago
    Auto-check passed
  • Vrbo

    borski/travel-hacking-toolkit

    Search VRBO (Vrbo / Expedia Group) vacation rentals including entire homes, condos, and cabins via Patchright browser automation.

    688 GitHub stars~1.7k tokensUpdated 3 days ago
    Auto-check passed

Questions about Compare Flights

What does Compare Flights do?

Unified flight comparison across cash (Duffel, Ignav), award (seats.aero), and portal (Chase, Amex) sources in parallel. Compare Flights is an agent skill from borski/travel-hacking-toolkit.aero), and portal (Chase, Amex) sources in parallel.

How do I install Compare Flights in Claude Code?

Run `npx skills add borski/travel-hacking-toolkit --skill compare-flights -a claude-code`. Or copy the skill folder (plugins/travel-hacking-toolkit/skills/compare-flights in borski/travel-hacking-toolkit) into .claude/skills/compare-flights in your project. Claude Code loads it when a task matches its description.

How do I install Compare Flights in Codex?

Run `npx skills add borski/travel-hacking-toolkit --skill compare-flights -a codex`. Or copy the skill folder (plugins/travel-hacking-toolkit/skills/compare-flights in borski/travel-hacking-toolkit) into .agents/skills/compare-flights in your project. Codex loads it when a task matches its description.

Can I use Compare Flights in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add borski/travel-hacking-toolkit --skill compare-flights -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/compare-flights, .gemini/skills/compare-flights, .github/skills/compare-flights and .opencode/skills/compare-flights in your project.

What does Compare Flights need to run?

SKILL.md names no scripts, command-line tools or credentials: Compare Flights is instructions for the agent only. Our summary lists: Docker.

Does Compare Flights access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Compare Flights safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Compare Flights use?

Compare Flights is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Compare Flights use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Compare Flights?

Skills that share tags, products or a category with Compare Flights: Flights (asgeirtj/system_prompts_leaks, 69k stars), Flights (codewhale-hq/Codewhale, 41k stars), Petty Cash Management (sickn33/agentic-awesome-skills, 47k stars) and Unified Memory (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Compare Flights?

borski (a GitHub user) maintains it in borski/travel-hacking-toolkit, which has 688 GitHub stars. The repository holds 46 skills in this directory. The repository was last updated on October 5, 2026.

Source: borski/travel-hacking-toolkit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.