flexible-dates
FreeNo executable scriptsNot checkedFind the cheapest flight date when travel dates are flexible — month, calendar, ±N days
by theYahia★ 43 GitHub starsAbout this skill
/flexible-dates — Cheapest date search
Algorithm
- Resolve city codes. If the user gave city names rather than IATA codes, call
lookup_airportsorlookup_citieswith query and lang to get the correct code. Never guess an IATA code — a wrong one returns plausible prices for the wrong city. - Pick the tool that matches how flexible the user is:
- Whole month open →
get_cheapest_monthwith origin, destination, month (YYYY-MM). - Date roughly fixed →
get_nearest_priceswith origin, destination, departure_at (YYYY-MM-DD) and range_days (1–7, default 3). - Wants the full picture →
get_calendar_priceswith origin and destination: minimum price per date.
- Whole month open →
- If the user refuses connections, call
get_direct_routeswith origin, destination, optional departure_at and limit — non-stop only. - Call
search_flights_priceswith origin, destination, departure_at, return_at, one_way and limit for the actual ticket list on the winning date. - Compare the chosen date against the surrounding ones and state the saving in money, not just "cheaper".
Response format
## MOW → LED, October 2026 — flexible
**Cheapest in month**: 2026-10-14 — 2,140 ₽
**Most expensive**: 2026-10-31 — 7,800 ₽
### ±3 days around 2026-10-17
| Date | Price | vs chosen |
|------|-------|-----------|
| 2026-10-14 | 2,140 ₽ | −1,960 ₽ |
| 2026-10-17 | 4,100 ₽ | — |
**Direct only**: 2 non-stop options from 3,200 ₽.
Shifting departure by 3 days saves 1,960 ₽ per passenger.
Notes
- currency defaults to rub; pass usd or eur if the user thinks in another currency.
- Prices are cached historical minimums from Travelpayouts, not live availability. Say so — the fare may be gone.
get_cheapest_monthneeds the month as YYYY-MM;get_nearest_pricesneeds a full YYYY-MM-DD. Mixing the formats returns nothing.- For inspiration rather than a fixed pair, use
get_popular_directionsorget_special_offerswith just an origin.
Examples
/flexible-dates MOW LED 2026-10
/flexible-dates Москва Стамбул 2026-11-17
/flexible-dates SVO AER direct only
Install flexible-dates in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the flexible-dates skill do?
Find the cheapest flight date when travel dates are flexible — month, calendar, ±N days
How do I install the flexible-dates skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the flexible-dates skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
by Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
by Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
by Anthropic