Go AGENTS.md examples from 22 open source repos
22 of the 40 Go repos on the leaderboard have an AGENTS.md or CLAUDE.md at the root, and 20 are long enough to pass the AGENTS.md check in full. Most-starred first; each file name links to the file.
Go repos with an AGENTS.md or CLAUDE.md (22)
| Repo | File | Length |
|---|---|---|
| ollama/ollama | AGENTS.md | 357 chars |
| kubernetes/kubernetes | AGENTS.md | 1,884 chars |
| gohugoio/hugo | AGENTS.md | 1,712 chars |
| caddyserver/caddy | AGENTS.md | 9,429 chars |
| moby/moby | AGENTS.md | 553 chars |
| prometheus/prometheus | AGENTS.md | 6,410 chars |
| traefik/traefik | AGENTS.md | 14,227 chars |
| go-gitea/gitea | AGENTS.md | 2,840 chars |
| cli/cli | AGENTS.md | 5,769 chars |
| milvus-io/milvus | AGENTS.md | 11,250 chars |
| pingcap/tidb | AGENTS.md | 14,515 chars |
| labstack/echo | CLAUDE.md | 3,132 chars |
| cockroachdb/cockroach | CLAUDE.md | 5,664 chars |
| charmbracelet/crush | AGENTS.md | 10,590 chars |
| vitessio/vitess | AGENTS.md | 1,237 chars |
| weaviate/weaviate | CLAUDE.md | 5,906 chars |
| google/osv-scanner | AGENTS.md | 4,648 chars |
| inngest/inngest | AGENTS.md | 2,782 chars |
| gitlab-org/gitlab-runner | AGENTS.md | 12,742 chars |
| gitlab-org/cli | AGENTS.md | 7,445 chars |
| gitlab-org/gitaly | AGENTS.md | 2,362 chars |
| privy-io/go-sdk | AGENTS.md | 3,533 chars |
More examples
- Every language: all 218 files, with the longest and shortest that pass
- Most agent-friendly Go repos: all 40, ranked on every check
- AGENTS.md vs CLAUDE.md: which file to write
- TypeScript (61)
- Python (29)
- Rust (24)
- Java (18)
- C++ (10)
- JavaScript (9)
- Kotlin (8)
- PHP (7)
- Ruby (6)