Agent instruction file
A file in the repo that tells coding agents how the project works: commands, conventions, pitfalls.
A Markdown file that a coding agent reads before it starts work: CLAUDE.md, AGENTS.md, a .cursor/rules folder, .github/copilot-instructions.md and their kin. It holds what a new teammate would need on their first day: how to install, build and test, the conventions of the code, the folders to leave alone, the mistakes others already made. Teams write it so that the agent stops guessing and asking the same questions. The site counts a repo when it holds an instruction file of any agent tool, at the root or in a package, outside templates, examples and other material the project ships.
- Pro scene today: 78%, 172 of 221 pro repos
- In three months: +6 pts (12 pro repos added it)
- Kept: 99%, 160 of 161 that had it 3 months ago or before
Pro 78% · Ladder 38% · 2.1×
Insight: Adoption is settled, the benefit is not: the one controlled study found no general gain and a higher bill. Its authors see a use in describing what is non-standard.
In the pro repos
The 6 most starred of the 172 pro repos that have it today.
- firecrawl/firecrawl/AGENTS.md
- n8n-io/n8n/AGENTS.md
- ollama/ollama/AGENTS.md
- huggingface/transformers/AGENTS.md
- langgenius/dify/AGENTS.md
- langchain-ai/langchain/AGENTS.md
By month
| Month | Pro scene |
|---|---|
| June 2025 | 14% |
| July 2025 | 19% |
| August 2025 | 24% |
| September 2025 | 29% |
| October 2025 | 33% |
| November 2025 | 36% |
| December 2025 | 38% |
| January 2026 | 40% |
| February 2026 | 46% |
| March 2026 | 52% |
| April 2026 | 57% |
| May 2026 | 62% |
| June 2026 | 64% |
| July 2026 | 68% |
| August 2026 | 70% |
| September 2026 | 72% |
| October 2026 | 73% |
| November 2026 | 76% |
| today | 78% |
Inside the practice
Repo profile
| Slice | Pro repos with it |
|---|---|
| Size: Small | 63%, 46 of 73 |
| Size: Mid | 77%, 57 of 74 |
| Size: Large | 93%, 69 of 74 |
| Layout: Single package | 66%, 78 of 119 |
| Layout: Monorepo | 92%, 94 of 102 |
| Main language: TypeScript or JS | 86%, 86 of 100 |
| Main language: Python | 71%, 29 of 41 |
| Main language: Go or Rust | 74%, 35 of 47 |
| Main language: Other | 67%, 22 of 33 |
How the pros build it
- AGENTS.md at the root: 142 of 221 pro repos. The median root file is 140 lines long.
- CLAUDE.md, when kept, holds nothing of its own: Of 91 pro repos with both at the root, 41 use a pointer, 38 a symlink, 12 two full files.
- One file per package in larger repos: 86 pro repos, a median of 5 files each: 70% of the largest third, 12% of the smallest.
What the instruction file names
Of the repos with an instruction file at the root. Read from its text.
- A command to run the tests: 77%, 124 of 162
- A lint or format command: 64%, 104 of 162
- A type check: 43%, 69 of 162
- All three: 36%, 58 of 162
Alternatives
- CLAUDE.md alone at the root: 14 pro repos, down from 20 three months ago.
- Two full files kept in step by hand: 12 pro repos.
- Rule files for one tool: Cursor rules in 31 pro repos: 19 of 50 removed them; all 19 have an AGENTS.md today. Copilot instructions in 21.
- No instruction file: 49 of 221 pro repos.
What changed
- Aug 2025: AGENTS.md is published as a format shared by several tools.
- Sep 2026: Claude Code 2.1.277 reads AGENTS.md when a folder has no CLAUDE.md.
- In three months: 16 pro repos removed CLAUDE.md, 11 added one. 7 of the removals came by the first snapshot after the change.
Evidence
- Observed. This panel: Of the 161 pro repos that had one three or more months ago, 1 removed it.
- Benchmarked. Published study, February 2026: Across several agents and models, context files did not generally raise task success and added over 20% to inference cost. Agents did follow them. Source: Evaluating AGENTS.md, arXiv 2602.11988
- Observed. Published study, November 2025: In 2,303 agent context files from 1,925 repos, 75.9% specify test procedures and 70.8% implementation details. Security appears in 14.8%, performance in 14.5%. Source: Agent READMEs, arXiv 2511.12884
How it is detected
Looks for CLAUDE.md, AGENTS.md, .cursor/rules, copilot-instructions.md and the like. Read in repo files. How the method counts
Related practices
In the same kits, Full rig, Workshop, Briefed.