fli

fli is a skill for Claude Code from bailylu/travel-hacking-toolkit. It costs 33 tokens per session (684 once invoked), scanned A, original, MIT.

A command-line flight search tool that retrieves Google Flights data, including airlines, prices, duration, and stops. It can search one-way or return trips and compare dates.

In plain words
What is it for?
Finding flights, filtering by cabin class, stops, airline, or departure time, sorting results, and searching for cheaper travel dates.
Why use it?
It avoids manually checking airline websites or using browser automation when comparing flight options.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Finding flights, filtering by cabin class, stops, airline, or departure time, sorting results, and searching for cheaper travel dates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bailylu/travel-hacking-toolkit/fli
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bailylu/travel-hacking-toolkit --skill fli
Clone the repo
git clone --depth 1 https://github.com/bailylu/travel-hacking-toolkit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fli

README.md
[![agentmods](https://agentmods.dev/badge/skills/bailylu/travel-hacking-toolkit/fli/github.svg)](https://agentmods.dev/skills/bailylu/travel-hacking-toolkit/fli)
Your own site
<a href="https://agentmods.dev/skills/bailylu/travel-hacking-toolkit/fli"><img src="https://agentmods.dev/badge/skills/bailylu/travel-hacking-toolkit/fli/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fli

Your own site · 80×15
<a href="https://agentmods.dev/skills/bailylu/travel-hacking-toolkit/fli"><img src="https://agentmods.dev/badge/skills/bailylu/travel-hacking-toolkit/fli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 684 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00033 $0.00684
Opus 5 $0.00016 $0.00342
Sonnet 5 $0.00007 $0.00137
Haiku 4.5 $0.00003 $0.00068

Measured 9d ago against content hash 7f0fd6781912, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

fli scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/fli/SKILL.md · 85 lines

How it starts

The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Fli - Google Flights

Programmatic access to Google Flights via Fli library. Returns comprehensive flight search results with pricing, duration, stops, and airline information.

Source: github.com/punitarani/fli

CLI Usage

Search Flights (One-Way)

fli flights JFK LAX 2026-05-01

Search Flights (Round-Trip)

fli flights JFK LAX 2026-05-01 --return 2026-05-10

Find Cheapest Dates

fli dates JFK LAX --from 2026-06-01 --to 2026-06-30

Options

Flag Short Description Values
--class -c Cabin class economy, premium_economy, business, first
--stops -s Max stops non_stop, one_stop, two_stops
--sort -o Sort results NONE, TOP_FLIGHTS, CHEAPEST, DEPARTURE_TIME, ARRIVAL_TIME, DURATION
--airlines -a Filter by airline codes e.g., "AA,DELTA,UAL"
--time -t Departure time window e.g., "06:00,12:00"
--return -r Return date for round-trip YYYY-MM-DD
--format -f Output format table, json, csv

Examples

Search business class, non-stop, cheapest first

fli flights JFK LHR 2026-08-15 --class business --stops non_stop --sort CHEAPEST

Search with airline filter

fli flights SFO NRT 2026-10-01 --airlines "ANA,JAL,UAL"

Find cheapest dates for a route

fli dates JFK CDG --from 2026-07-01 --to 2026-09-30 --sort CHEAPEST

JSON output for scripting

fli flights JFK LAX 2026-05-01 --format json

Output Interpretation

  • Price: Total price in USD (may include taxes)
  • Duration: Total travel time including layovers
  • Stops: Number of stops (0 = non-stop)
  • Segments: Individual flight legs with departure/arrival times

Important Notes

  • Results come directly from Google Flights API
  • Covers ALL airlines including Southwest (unlike Duffel/Ignav)
  • Prices are live and accurate
  • No API key required
  • Fli MCP server (fli-mcp) provides search_flights and search_dates tools

Read the full file on GitHub · 85 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 85 lines · 33 tokens per session scan A 7f0fd6781912

Subscribe to this mod's changes

fli is a skill published in the GitHub repository bailylu/travel-hacking-toolkit (11 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 684 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens