biome AGENTS.md

biome AGENTS.md is an instructions file for Codex, OpenCode from biomejs/biome. It costs 984 tokens per session, scanned A, original, Apache-2.0.

Contribution instructions for automated agents working on the Biome codebase, a software project for code analysis and formatting. They set communication, investigation, editing, and implementation rules.

In plain words
What is it for?
Use them before editing Biome to inspect relevant files and guides, follow project conventions, communicate briefly, and meet the repository's agent-specific contribution requirements.
Why use it?
They reduce unsupported claims, accidental changes to other work, and implementation mistakes by requiring evidence and careful review.

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/biomejs/biome/agents-md
Clone the repo
git clone --depth 1 https://github.com/biomejs/biome

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

README.md
[![agentmods](https://agentmods.dev/badge/instructions/biomejs/biome/agents-md.svg)](https://agentmods.dev/instructions/biomejs/biome/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/biomejs/biome/agents-md"><img src="https://agentmods.dev/badge/instructions/biomejs/biome/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 984 This file is loaded in full into every session.
When invoked 984 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.00984 $0.00984
Opus 5 $0.00492 $0.00492
Sonnet 5 $0.00197 $0.00197
Haiku 4.5 $0.00098 $0.00098

Measured today against content hash d82fedc09a8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

biome 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 today.

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 · 80 lines

How it starts

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

Agent Guidelines for Contributing to Biome

This file contains rules that apply to every automated contribution. Detailed workflows live in .claude/skills/ or the contributing guides they reference.

[!NOTE] Automated agents may add 🤖🤖🤖 to the end of a PR title to opt into the streamlined merge process.

Communication

  • Keep responses short, factual, and technical.
  • Do not use emojis in source, comments, rustdoc, diagnostics, tests, snapshots, commits, issues, PR communication, or agent output. The PR-title marker above is the only exception.
  • Do not claim a Biome function, module, behavior, or convention exists without an exact file and line, a source excerpt, or a reproducible command.
  • If evidence is unavailable, state that rather than presenting the claim as fact.

Before Editing

  • Read files in full before wide-ranging changes, before editing an unfamiliar file, and whenever the user requests an investigation or audit.
  • Inspect the surrounding implementation and current contributing guide instead of copying remembered APIs or commands.
  • Preserve unrelated worktree changes. Never revert or rewrite changes you did not make.

Implementation Gate

  • Make the smallest change that satisfies the requested behavior.
  • Add tests for code changes. Bug fixes require a case that fails without the fix.
  • Run the narrowest relevant tests first, then broader checks when justified.
  • Run the tests of the current crate to check possible regressions.
  • Review generated snapshots as behavior, not disposable output.
  • Run just f and just l before committing.

Load testing-codegen for test fixtures, snapshots, and generator selection.

Required generated artifacts:

Changed source Required command
Grammar .ungram just gen-grammar <lang>
Lint rule in *_analyze just gen-rules and just gen-configuration if you changed rule name

Read the full file on GitHub · 80 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. today Changed · +7 tokens per session d82fedc09a8f
  2. 4d ago First seen · 80 lines · 977 tokens per session scan A 0d0159497979

Subscribe to this mod's changes

biome AGENTS.md is an instructions file published in the GitHub repository biomejs/biome (25,705 stars, last pushed today), licensed Apache-2.0. It adds 984 tokens to every session, about $0.0049 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-30.