cheapest-dates

cheapest-dates is a skill for Claude Code, Codex from mtnrabi/travel-agent-skills. It costs 0 tokens per session (2,381 once invoked), scanned A, original, MIT.

A flight-price search that scans many departure dates and, for round trips, different stay lengths to find cheaper travel options. It compares each result with Google's historical low, typical, or high price range.

In plain words
What is it for?
Use it to find the cheapest time to fly a route, choose the cheapest number of nights for a return trip, and compare airlines, stops, duration, and return dates.
Why use it?
It avoids guessing one departure date and missing a cheaper option nearby. Each result includes the price verdict and a link for buying the flight.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the travel-agent-skills plugin — 8 skills, 2 MCP servers shipped together

Good fit Use it to find the cheapest time to fly a route, choose the cheapest number of nights for a return trip, and compare airlines, stops, duration, and return dates.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mtnrabi/travel-agent-skills/cheapest-dates
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 mtnrabi/travel-agent-skills --skill cheapest-dates
Clone the repo
git clone --depth 1 https://github.com/mtnrabi/travel-agent-skills

Made for: Claude Code, Codex.

Or install travel-agent-skills, the plugin that ships this one along with the rest of its 8 skills, 2 MCP servers.

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 cheapest-dates

README.md
[![agentmods](https://agentmods.dev/badge/skills/mtnrabi/travel-agent-skills/cheapest-dates/github.svg)](https://agentmods.dev/skills/mtnrabi/travel-agent-skills/cheapest-dates)
Your own site
<a href="https://agentmods.dev/skills/mtnrabi/travel-agent-skills/cheapest-dates"><img src="https://agentmods.dev/badge/skills/mtnrabi/travel-agent-skills/cheapest-dates/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 cheapest-dates

Your own site · 80×15
<a href="https://agentmods.dev/skills/mtnrabi/travel-agent-skills/cheapest-dates"><img src="https://agentmods.dev/badge/skills/mtnrabi/travel-agent-skills/cheapest-dates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,381 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.02381
Opus 5 $0.00000 $0.01190
Sonnet 5 $0.00000 $0.00476
Haiku 4.5 $0.00000 $0.00238

Measured 11d ago against content hash 615b13cecc6b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

cheapest-dates scanned grade A with 1 finding 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 11d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST 'https://google-flights-live-api.p.rapidapi.com/api/google_flights/oneway/v1' \
skills/cheapest-dates/SKILL.md · 102 lines

How it starts

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

Cheapest Dates

Overview

Answers "when is it cheapest to fly X to Y" — and, for round trips, "how long a stay is cheapest" — by pricing a range of departure dates, and a set of trip lengths in nights, then judging the winner against Google's own historical band for that route and period. Use travel-data-api for auth, base URL, and endpoint details, and prefer the hosted MCP tools when a client is configured, because the MCP tools take a date range in a single call while the REST path costs one billed request per date. Every result item carries price_range_in_relation_to_other_periods (low | typical | high), price_insights_low, price_insights_high, departure_date, and buy_link — the verdict field is the differentiator and it leads the answer. The remaining fields differ by trip type: one-way items carry price_as_number, airline, stops, and duration_seconds, while round-trip items carry total_price_as_number, total_stops, total_duration_seconds, return_date, and per-leg fields such as departure_flight_airline, departure_flight_stops, departure_flight_duration, and their return_flight_* counterparts. Do not read airline, stops, or duration_seconds off a round-trip item; those keys are not there.

Endpoints and Tools

Job REST endpoint (one call per date) MCP tool (one call per range)
Cheapest one-way departure date POST /api/google_flights/oneway/v1 search_oneway_flights
Cheapest round-trip departure date / trip length POST /api/google_flights/roundtrip/v1 search_roundtrip_flights

REST host: google-flights-live-api.p.rapidapi.com. MCP servers: https://flights.flightpowers.com/mcp (paid, ad-free, caller's own RapidAPI key, fan-out cap 30 per call and 60 max, reports api_usage in every response) and https://google-flights-lulu.flightpowers.com/mcp (free, ad-supported, no key, fan-out cap 15 per call).

Workflow

  1. Pin down origin IATA, destination IATA, the date window, and whether the trip is one-way or round-trip. For round-trip, get trip length in nights — that is what makes the MCP range search collapse to one call.
  2. Check whether an MCP client is configured. If yes, issue one search_oneway_flights or search_roundtrip_flights call with departure_date_from and departure_date_to covering the whole window (and nights for round-trip, a number or a list like [5,6,7]). Never loop the MCP tools one date at a time.
  3. If only REST is available, state the cost before calling: a 14-day one-way scan is 14 billed requests, and a round-trip scan is one request per departure/return combination, which multiplies fast. Get the user's go-ahead, or narrow the window first.
  4. Collect the lowest price_as_number / total_price_as_number per date, sort client-side, and note the date and airline of the minimum.
  5. Read price_range_in_relation_to_other_periods and the price_insights_low/price_insights_high band from the winning item, then lead the answer with that verdict — the cheapest date found is not automatically a good deal.

Read the full file on GitHub · 102 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 102 lines · 0 tokens per session scan A 615b13cecc6b

Subscribe to this mod's changes

cheapest-dates is a skill published in the GitHub repository mtnrabi/travel-agent-skills (4 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,381 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

google-ads-audit

Google Ads account audit and business context setup. Use for account-health audits and business-context setup. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should I fix in my ads", or when the user is new to NotFair and hasn't run…

nowork-studio/notfair-plugin · 86 tokens

data-charts-tako

Search and visualize the world's data - get charts, insights, and embeddable knowledge cards for finance, economics, demographics, sports, and more.

gooseworks-ai/goose-skills · 35 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

gesellschaftsrechtliche-satzungen-agb

Für Gesellschaftsrechtliche Satzungen AGB Abgrenzung: ordnet Norm, Beweislast und Gegenargument; Ergebnis: Prüfprodukt mit Risiko und nächstem Schritt. Fachgebiet: AGB-Recht-Prüfer. Route: gesellschaftsrechtliche-satzungen-agb.

Klotzkette/claude-fuer-deutsches-recht · 69 tokens

master-yinguang

A reference-based assistant for questions about Yinguang and Pure Land Buddhism, a Buddhist tradition focused on faith, ethical living, and practice connected with rebirth in the Pure Land. It can answer in Yinguang’s historical teaching style.

xr843/Master-skill · 274 tokens