C++ AGENTS.md examples from 10 open source repos
10 of the 21 C++ repos on the leaderboard have an AGENTS.md or CLAUDE.md at the root, and 10 are long enough to pass the AGENTS.md check in full. Most-starred first; each file name links to the file.
C++ repos with an AGENTS.md or CLAUDE.md (10)
| Repo | File | Length |
|---|---|---|
| ggml-org/llama.cpp | AGENTS.md | 11,753 chars |
| ggml-org/whisper.cpp | AGENTS.md | 6,191 chars |
| ClickHouse/ClickHouse | AGENTS.md | 17,013 chars |
| duckdb/duckdb | AGENTS.md | 18,353 chars |
| ml-explore/mlx | AGENTS.md | 1,594 chars |
| microsoft/onnxruntime | AGENTS.md | 7,686 chars |
| scylladb/scylladb | AGENTS.md | 820 chars |
| redpanda-data/redpanda | CLAUDE.md | 13,184 chars |
| libeigen/eigen | AGENTS.md | 18,427 chars |
| kicad/code/kicad | AGENTS.md | 4,890 chars |
More examples
- Every language: all 218 files, with the longest and shortest that pass
- Most agent-friendly C++ repos: all 21, ranked on every check
- AGENTS.md vs CLAUDE.md: which file to write
- TypeScript (61)
- Python (29)
- Rust (24)
- Go (22)
- Java (18)
- JavaScript (9)
- Kotlin (8)
- PHP (7)
- Ruby (6)