Per-package instructions
Extra instruction files inside subfolders, so an agent gets the rules of the package it works in.
Instruction files placed below the root, in a package, an app or a service folder, next to the code they describe. Agents that support them read the file nearest to the code they edit, so they get the commands, conventions and pitfalls of that part of the repo. Large repos and monorepos use them to keep the root file short, and to let each team write the rules of the code it owns. The site counts a repo when it holds more CLAUDE.md or AGENTS.md files than the ones at its root, shipped material such as templates and examples left out.
- Pro scene today: 39%, 86 of 221 pro repos
- In three months: +3 pts (9 pro repos added it, 3 removed it)
- Kept: 91%, 78 of 86 that had it 3 months ago or before
Pro 39% · Ladder 8% · 4.9×
Insight: 8 of the 9 repos that added per-package files wrote them as AGENTS.md, and 6 also keep a CLAUDE.md below the root.
In the pro repos
The 6 most starred of the 86 pro repos that have it today.
- n8n-io/n8n/packages/@n8n/db/AGENTS.md
- langgenius/dify/cli/src/commands/AGENTS.md
- supabase/supabase/apps/kb/AGENTS.md
- infiniflow/ragflow/web/AGENTS.md
- strapi/strapi/docs/AGENTS.md
- mem0ai/mem0/cli/node/AGENTS.md
By month
| Month | Pro scene |
|---|---|
| June 2025 | <1% |
| July 2025 | 3% |
| August 2025 | 4% |
| September 2025 | 5% |
| October 2025 | 7% |
| November 2025 | 9% |
| December 2025 | 10% |
| January 2026 | 13% |
| February 2026 | 15% |
| March 2026 | 20% |
| April 2026 | 26% |
| May 2026 | 28% |
| June 2026 | 29% |
| July 2026 | 31% |
| August 2026 | 33% |
| September 2026 | 36% |
| October 2026 | 38% |
| November 2026 | 40% |
| today | 39% |
Inside the practice
Repo profile
| Slice | Pro repos with it |
|---|---|
| Size: Small | 12%, 9 of 73 |
| Size: Mid | 34%, 25 of 74 |
| Size: Large | 70%, 52 of 74 |
| Layout: Single package | 30%, 36 of 119 |
| Layout: Monorepo | 49%, 50 of 102 |
| Main language: TypeScript or JS | 48%, 48 of 100 |
| Main language: Python | 39%, 16 of 41 |
| Main language: Go or Rust | 32%, 15 of 47 |
| Main language: Other | 21%, 7 of 33 |
Evidence
Observed in the repos only: no published study is quoted for it yet.
How it is detected
Looks for a CLAUDE.md or AGENTS.md below the repo root. Read in repo files. How the method counts
Related practices
In the same kits, Full rig, Workshop, Briefed.