AGENTS.md examples from 214 open source repos
Of the 401 repos on the leaderboard, 214 have an AGENTS.md or CLAUDE.md at the root, and 198 of those files are long enough (800 characters or more) to pass the AGENTS.md check in full. Each file name below links to the file on its host, so you can read how a popular project explains itself to an agent.
Most-starred repos with an AGENTS.md or CLAUDE.md
| Repo | File | Length | Language |
|---|---|---|---|
| openclaw/openclaw | AGENTS.md | 19,912 chars | |
| react/react | CLAUDE.md | 358 chars | |
| anomalyco/opencode | AGENTS.md | 12,955 chars | |
| n8n-io/n8n | AGENTS.md | 22,714 chars | |
| microsoft/vscode | AGENTS.md | 270 chars | |
| firecrawl/firecrawl | AGENTS.md | 1,480 chars | |
| Significant-Gravitas/AutoGPT | AGENTS.md | 6,889 chars | |
| ollama/ollama | AGENTS.md | 357 chars | |
| huggingface/transformers | AGENTS.md | 3,262 chars | |
| langflow-ai/langflow | AGENTS.md | 11,708 chars | |
| anthropics/claude-code | CLAUDE.md | 2,217 chars | |
| langchain-ai/langchain | AGENTS.md | 20,351 chars | |
| vercel/next.js | AGENTS.md | 30,632 chars | |
| github/spec-kit | AGENTS.md | 3,746 chars | |
| Comfy-Org/ComfyUI | AGENTS.md | 24,869 chars | |
| excalidraw/excalidraw | AGENTS.md | 372 chars | |
| ggml-org/llama.cpp | AGENTS.md | 11,566 chars | |
| kubernetes/kubernetes | AGENTS.md | 1,583 chars | |
| rustdesk/rustdesk | AGENTS.md | 17,440 chars | |
| nodejs/node | AGENTS.md | 3,082 chars |
Longest and shortest files that pass
Longest
| Repo | File | Length | Language |
|---|---|---|---|
| PostHog/posthog | AGENTS.md | 44,226 chars | |
| modelcontextprotocol/servers | AGENTS.md | 43,762 chars | |
| cloudflare/vinext | AGENTS.md | 38,816 chars | |
| webpack/webpack | AGENTS.md | 35,897 chars | |
| coollabsio/coolify | AGENTS.md | 32,837 chars |
Shortest
| Repo | File | Length | Language |
|---|---|---|---|
| scylladb/scylladb | AGENTS.md | 820 chars | |
| lit/lit | AGENTS.md | 924 chars | |
| nuxt/nuxt | AGENTS.md | 947 chars | |
| kicad/code/kicad | AGENTS.md | 952 chars | |
| antiwork/gumroad | AGENTS.md | 978 chars |
AGENTS.md or CLAUDE.md: which file repos use
AGENTS.md: 195 repos (181 pass in full)CLAUDE.md: 19 repos (17 pass in full)
The check accepts AGENTS.md, CLAUDE.md or AGENT.md at the repo root and reads the first one it finds, in that order, so a repo with both files is counted under AGENTS.md. Either name passes for every agent.
It is the one file most agents load without being asked. Claude Code loads CLAUDE.md at the start of every conversation. GPT-5 Codex reads AGENTS.md before it does any work. Cursor, Kimi CLI, OpenHands and Pi read AGENTS.md too. Without it, an agent has to work out your build steps and conventions by reading code, and it guesses.
The weight each agent gives this check:
- Claude Code1.0
- Kimi CLI1.0
- Pi1.0
- GPT-5 Codex0.9
- Cursor0.8
- Gemini CLI0.7
- Devin0.6
- OpenHands0.5
- Aider0.3
The methodology links the docs each agent's weights come from.
Popular repos without one
- flutter/flutter53.5Dart · 180.2k ★
- Python · 165.1k ★
- Python · 155.8k ★
- golang/go31.2Go · 139.2k ★
- openai/codex62.8Rust · 129.4k ★
- shadcn-ui/ui64.5TypeScript · 125.7k ★
- C++ · 118.5k ★
- TypeScript · 116.3k ★
By language
- TypeScript60 of 81 (74%)
- Kotlin8 of 12 (67%)
- Java18 of 28 (64%)
- JavaScript10 of 16 (63%)
- Ruby6 of 10 (60%)
- Clojure3 of 5 (60%)
- PHP7 of 12 (58%)
- Go22 of 40 (55%)
- Rust23 of 45 (51%)
- Scala3 of 6 (50%)
- Zig3 of 6 (50%)
- Python28 of 57 (49%)
- C++10 of 21 (48%)
- Swift3 of 10 (30%)
- Dart1 of 7 (14%)
- Elixir1 of 7 (14%)
- C#1 of 8 (13%)
- C1 of 10 (10%)
- Haskell0 of 7 (0%)