Flyan AGENTS.md

Flyan AGENTS.md is an instructions file for Codex, OpenCode from victorlane/Flyan. It costs 1,898 tokens per session, scanned A, original, MIT.

Repository instructions for AI agents working on Flyan, an unofficial Python software development kit for Ryanair’s undocumented flight-search service, plus an optional MCP server. They describe the project layout and important architectural boundaries.

In plain words
What is it for?
Use them when changing Flyan’s clients, transport layer, parsers, or MCP interface, or when an endpoint’s parameters or response format changes.
Why use it?
They help contributors handle an API without an official contract and keep the synchronous and asynchronous clients consistent. They also point to the internal specification as the record of endpoint behaviour.

Instructions file for CodexOpenCode

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.

agentmods
npx agentmods add instructions/victorlane/flyan/agents-md
Clone the repo
git clone --depth 1 https://github.com/victorlane/Flyan

Made for: Codex, OpenCode.

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 Flyan AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/victorlane/flyan/agents-md.svg)](https://agentmods.dev/instructions/victorlane/flyan/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/victorlane/flyan/agents-md"><img src="https://agentmods.dev/badge/instructions/victorlane/flyan/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,898 This file is loaded in full into every session.
When invoked 1,898 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.01898 $0.01898
Opus 5 $0.00949 $0.00949
Sonnet 5 $0.00380 $0.00380
Haiku 4.5 $0.00190 $0.00190

Measured 4d ago against content hash 0e410a6d8505, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Flyan AGENTS.md 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 4d 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.

AGENTS.md · 197 lines

How it starts

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

AGENTS.md

Notes for AI agents working in this repo. The file follows the agents.md convention so Claude Code, Cursor, Aider, and similar tools pick it up automatically.

What Flyan is

An unofficial Python SDK for Ryanair's undocumented public flight-search API, plus an optional MCP server that exposes the same surface to LLM agents in natural language.

There is no API contract from Ryanair. Behaviour is reverse-engineered from poking the live endpoints; the source of truth for endpoint quirks is docs/internal-api-spec.md. Update that doc whenever an endpoint's behaviour, params, or response shape changes.

Layout

flyan/
  ryanair.py        # Sync client (RyanAir). Domain-friendly methods that
                    # build URLs, delegate to transport, and call parsers.
  async_client.py   # Async mirror (AsyncRyanAir). Keep in lockstep with
                    # ryanair.py — every public method on one should exist
                    # on the other with the same signature.
  transport.py      # HTTP seam. Owns httpx, retries, UA rotation, cookie
                    # warm-up, Accept-Encoding, and nextPage pagination.
                    # Adapters: RyanairTransport, AsyncRyanairTransport,
                    # CachingTransport.
  wire.py           # Translation between public models and Ryanair wire
                    # format. Field-name quirks (departureAirportIataCode,
                    # lowercase iso2, currency-as-query-param) live HERE
                    # and nowhere else.
  misc.py           # Public Pydantic models (Flight, FlightSearchParams,
                    # Network, NetworkAirport, DestinationFare, ...).
                    # No wire knowledge.
  tracker.py        # Local PriceTracker for price-history analysis.
  mcp_server.py     # MCP server exposing curated tools to agents.
  currencies.json   # Static lookup of supported ISO 4217 currencies.

docs/
  internal-api-spec.md  # Living notes on the undocumented Ryanair API.
                        # READ THIS before adding or modifying an endpoint.

Read the full file on GitHub · 197 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. 4d ago First seen · 197 lines · 1,898 tokens per session scan A 0e410a6d8505

Subscribe to this mod's changes

Flyan AGENTS.md is an instructions file published in the GitHub repository victorlane/Flyan (1 stars, last pushed 3d ago), licensed MIT. It adds 1,898 tokens to every session, about $0.0095 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-31.