flexible-dates

flexible-dates is a skill for Claude Code from theYahia/WWmcp. It costs 23 tokens per session (631 once invoked), scanned A, original, MIT.

A flight-price search for travellers who can change their dates. It compares prices across a month or around a preferred date, with an option to look for non-stop flights.

In plain words
What is it for?
Use it to compare calendar, monthly, or nearby-date prices, restrict results to direct flights, and inspect tickets for the selected date.
Why use it?
It helps find a cheaper travel date instead of checking only one fixed day. It also confirms the actual ticket options after identifying a low-price date.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to compare calendar, monthly, or nearby-date prices, restrict results to direct flights, and inspect tickets for the selected date.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theyahia/wwmcp/flexible-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 theYahia/WWmcp --skill flexible-dates
Clone the repo
git clone --depth 1 https://github.com/theYahia/WWmcp

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/theyahia/wwmcp/flexible-dates"><img src="https://agentmods.dev/badge/skills/theyahia/wwmcp/flexible-dates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 631 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00023 $0.00631
Opus 5 $0.00012 $0.00316
Sonnet 5 $0.00005 $0.00126
Haiku 4.5 $0.00002 $0.00063

Measured 6d ago against content hash 13194a5ce9f9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

flexible-dates 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 6d 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.

servers/travelpayouts/.claude/skills/flexible-dates/SKILL.md · 62 lines

How it starts

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

Algorithm

  1. Resolve city codes. If the user gave city names rather than IATA codes, call lookup_airports or lookup_cities with query and lang to get the correct code. Never guess an IATA code — a wrong one returns plausible prices for the wrong city.
  2. Pick the tool that matches how flexible the user is:
    • Whole month open → get_cheapest_month with origin, destination, month (YYYY-MM).
    • Date roughly fixed → get_nearest_prices with origin, destination, departure_at (YYYY-MM-DD) and range_days (1–7, default 3).
    • Wants the full picture → get_calendar_prices with origin and destination: minimum price per date.
  3. If the user refuses connections, call get_direct_routes with origin, destination, optional departure_at and limit — non-stop only.
  4. Call search_flights_prices with origin, destination, departure_at, return_at, one_way and limit for the actual ticket list on the winning date.
  5. 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_month needs the month as YYYY-MM; get_nearest_prices needs a full YYYY-MM-DD. Mixing the formats returns nothing.
  • For inspiration rather than a fixed pair, use get_popular_directions or get_special_offers with just an origin.

Examples

/flexible-dates MOW LED 2026-10
/flexible-dates Москва Стамбул 2026-11-17
/flexible-dates SVO AER direct only

Read the full file on GitHub · 62 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. 6d ago First seen · 62 lines · 23 tokens per session scan A 13194a5ce9f9

Subscribe to this mod's changes

flexible-dates is a skill published in the GitHub repository theYahia/WWmcp (29 stars, last pushed 5d ago), licensed MIT. It adds 23 tokens to every session and 631 once invoked, about $0.0001 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-09-06.

Related

Other skills, from other repositories

javascript-typescript

Professional JavaScript and TypeScript development skill covering modern ES6+, TypeScript, Node.js, Express, React, testing frameworks, and best practices. Use this skill when developing JavaScript/TypeScript applications, building React/Node.js projects, implementing RESTful APIs, or need guidance on modern JS/TS…

ProjAnvil/MindForge · 69 tokens

okx-cex-earn

A tool for managing several earning products on OKX, including savings, lending, staking, DeFi, Dual Investment, and AutoEarn. These products can use deposited cryptocurrency to generate returns, with terms that vary by product.

okx/agent-trade-kit · 274 tokens

okx-cex-smartmoney

An OKX tool for studying activity from high-performing traders, sometimes called “smart money.” It shows trader rankings, positions, trades, past results, and combined signals.

okx/agent-trade-kit · 200 tokens

adding-a-command

Creates a new CLI command following the Commander.js pattern in src/commands/. Handles command registration in src/cli.ts, telemetry tracking via tracked() wrapper, and option parsing. Use when user says add command, new CLI command, create subcommand, or adds files to src/commands/. Do NOT use for modifying existing…

caliber-ai-org/ai-setup · 76 tokens

typescript-patterns

TypeScript types: generics, discriminated unions, Zod, satisfies, branded types. Triggers: TypeScript, TS, generics, Zod, satisfies, strict mode.

softspark/ai-toolkit · 42 tokens

aba-precision-protocol

FOUNDATIONAL BEHAVIORAL PROTOCOL — ABA-based precision execution rules. Every prompt processed must follow these rules. Mistakes caught late create intermittent reinforcement of wrong patterns. Stop-fix-verify before proceeding.

dcostenco/prism-coder · 48 tokens