airbroke: Instructions file for Codex

AGENTS.md

airbroke AGENTS.md is an instructions file for Codex, OpenCode from icoretech/airbroke. It costs 1,216 tokens per session, scanned A, original, MIT.

A project knowledge file describing Airbroke, a self-hosted error collector and triage interface, including its code structure, tools, and conventions.

In plain words
What is it for?
It is for orienting work in Airbroke's Next.js, React, Prisma, PostgreSQL, Docker Compose, and test directories.
Why use it?
It gives coding agents a map of the repository and points them to the relevant guidance before they change routes, data intake, authentication, user interfaces, or mutations.

Instructions file for CodexOpenCode

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

This is icoretech/airbroke's own configuration. It tells Codex and OpenCode how to work on airbroke 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 airbroke configures →

Reuse

Borrowing it

Nothing to install: this file belongs to icoretech/airbroke. 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/icoretech/airbroke/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/icoretech/airbroke

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

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/icoretech/airbroke/agents-md"><img src="https://agentmods.dev/badge/instructions/icoretech/airbroke/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,216 This file is loaded in full into every session.
When invoked 1,216 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.01216 $0.01216
Opus 5.5 $0.00486 $0.00486
Sonnet 5.5 $0.00243 $0.00243
Haiku 4.5 $0.00122 $0.00122

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

Security

Grade A, and why

airbroke 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 16d 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 · 99 lines

How it starts

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

PROJECT KNOWLEDGE BASE

Generated: 2026-07-24 Commit: 8a95b54b Branch: main

OVERVIEW

Airbroke is a self-hosted error collector and triage UI built with Next.js 16, React 19, Prisma 7, and PostgreSQL 18. Development and verification are Docker Compose-first; the repository pins Yarn 4.18.1.

STRUCTURE

app/          # App Router pages and external HTTP protocol handlers
components/   # Maintained feature UI plus registry-managed primitives
lib/          # Auth, actions, queries, intake, MCP, and shared server logic
prisma/       # Schema, forward migrations, seed, and generated client output
__tests__/    # Central Vitest suite mirroring runtime boundaries
docs/agents/  # Detailed cross-cutting guidance linked below

WHERE TO LOOK

Task Location Notes
Routes and layouts app/ Read app/AGENTS.md
Intake app/api/, lib/intake/ Synchronous writes
Auth proxy.ts, lib/auth/ Server checks are authoritative
UI components/ Read components/AGENTS.md
Mutations lib/actions/ Auth plus explicit invalidation
UI reads lib/queries/ MCP has separate read models
MCP API app/api/mcp/, lib/mcp/ Read-only tools and static-key auth
Data model prisma/ Read prisma/AGENTS.md
Tests __tests__/ Read __tests__/AGENTS.md

CODE MAP

Reference counts are unmeasured; relationships below come from direct source imports and route delegation.

Symbol Type Location Refs Role
db Prisma proxy lib/db.ts unmeasured Lazy shared database client
getAuth Factory lib/auth/index.ts unmeasured Lazy auth setup
requireAuth Guard lib/actions/requireAuth.ts n/a Action auth
upsertNoticeOccurrence Service lib/intake/ n/a Intake writes
MCP_TOOLS Registry lib/mcp/tools.ts unmeasured MCP contract
handleMcpPost Handler lib/mcp/server.ts unmeasured MCP transport
revalidateProjectShellPaths Helper lib/actions/ n/a Invalidation

Read the full file on GitHub · 99 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. 16d ago Changed · +65 tokens per session e05ea5eeeddf
  2. 20d ago Changed · +1 lines · +55 tokens per session 9bc440b33003
  3. 2mo ago First seen · 98 lines · 1,096 tokens per session scan A 092a2883fc39

Subscribe to this mod's changes

airbroke AGENTS.md is an instructions file published in the GitHub repository icoretech/airbroke (220 stars, last pushed yesterday), licensed MIT. It adds 1,216 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

airbroke AGENTS.md compared with instructions from other repositories

airbroke AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
airbroke AGENTS.mdicoretech/airbrokeInstructions file220yesterdayMITA1,216Codex, 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