flight-finder: Instructions file for Codex

AGENTS.md

flight-finder AGENTS.md is an instructions file for Codex, OpenCode from affromero/flight-finder. It costs 1,226 tokens per session, scanned A, original, MIT.

Project instructions for AI coding agents working on Flight Finder, a self-hosted flight-price tracker. They describe the project’s TypeScript monorepo, meaning one repository containing multiple related packages, and its setup and checks.

In plain words
What is it for?
Use them when installing dependencies, starting the database and development server, or running linting, type checks, tests, and builds.
Why use it?
They give an agent the project rules and commands it needs before changing code. This reduces setup mistakes and helps catch problems before commits or pull requests.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is affromero/flight-finder's own configuration. It tells Codex and OpenCode how to work on flight-finder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flight-finder configures →

Reuse

Borrowing it

Nothing to install: this file belongs to affromero/flight-finder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/affromero/flight-finder/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/affromero/flight-finder

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 flight-finder AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/affromero/flight-finder/agents-md/github.svg)](https://agentmods.dev/instructions/affromero/flight-finder/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/affromero/flight-finder/agents-md"><img src="https://agentmods.dev/badge/instructions/affromero/flight-finder/agents-md/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 flight-finder AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/affromero/flight-finder/agents-md"><img src="https://agentmods.dev/badge/instructions/affromero/flight-finder/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,226 This file is loaded in full into every session.
When invoked 1,226 The same file — it is already loaded in full.
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.01226 $0.01226
Opus 5.5 $0.00490 $0.00490
Sonnet 5.5 $0.00245 $0.00245
Haiku 4.5 $0.00123 $0.00123

Measured 1mo ago against content hash e32a31fd2b37, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flight-finder 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 1mo 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 · 108 lines

How it starts

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

AGENTS.md

Guidance for AI coding agents working on Flight Finder, a self-hosted flight price tracker. This is the cross-tool entry point. See README.md for the product overview and API.md for the runtime HTTP API you can call against a running instance.

Pull request workflow

  • Before opening or updating a PR, read .github/PULL_REQUEST_TEMPLATE.md and fill every applicable section, including when using the GitHub CLI or API. Use the specialized template when one applies.
  • Every PR, including documentation and dependency updates, must link a real tracking issue. Search and reuse an existing issue, or open one describing the problem, expected behavior, and acceptance criteria before opening the PR.
  • Use Closes #123 only when the PR fully resolves the issue. Use Related to #123 for partial work and list the remaining tasks.
  • Keep the issue and PR consistent with the final scope and validation results. Follow the session's authorization rules for publishing or editing them. An inspection-only request does not authorize creating an issue or PR.
  • Record the author's actual review-assistance preference. Do not infer consent to AI-assisted follow-up work or merging.

Stack

TypeScript (strict) monorepo on Node >= 22, npm workspaces. Next.js 16 (App Router, React 19) web app, Prisma 7 over PostgreSQL 16, Redis 7 for caching and rate limiting, Playwright for scraping, Vitest for tests. The caller supplies secrets through the environment, never committed files.

Setup

npm install
docker compose up -d db redis      # or: make setup
npm run db:push                    # apply the Prisma schema
npm run db:generate                # generate the Prisma client
npm run dev                        # Next.js web app on http://localhost:3003

make dev wraps the database, Redis, and dev-server steps.

Checks (run before every commit and PR)

npm run ci         # lint + typecheck + test + build (web) + build (cli)
# or individually:
npm run lint       # ESLint, both workspaces, --max-warnings 0
npm run typecheck  # tsc strict, both workspaces
npm run test       # Vitest, both workspaces

Read the full file on GitHub · 108 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. 1mo ago Changed · +16 lines · +197 tokens per session e32a31fd2b37
  2. 1mo ago Changed · -1 lines · -31 tokens per session 0c282b565dc1
  3. 1mo ago Changed · +2 lines · +36 tokens per session 6905a10d2ad6
  4. 1mo ago Changed · +1 lines · +2 tokens per session 7c3e4f4b86ae
  5. 2mo ago First seen · 90 lines · 1,022 tokens per session scan A 435f0908b978

Subscribe to this mod's changes

flight-finder AGENTS.md is an instructions file published in the GitHub repository affromero/flight-finder (183 stars, last pushed yesterday), licensed MIT. It adds 1,226 tokens to every session, about $0.0049 per session on Opus 5.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

flight-finder AGENTS.md compared with instructions from other repositories

flight-finder AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flight-finder AGENTS.mdaffromero/flight-finderInstructions file183yesterdayMITA1,226Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode