Agent Friendly Code

Which public repos are easiest for Claude Code to work in?

Those with a CLAUDE.md or AGENTS.md, tests it can run and a reproducible dev setup, the checks it weighs most. Repos from GitHub, GitLab and Bitbucket, ranked by their Claude Code score. gitlab-org/cli leads with 98.0.

What Claude Code reads in a repo

Its highest-weighted checks, and the share of leaderboard repos that pass each:

CLAUDE.md is in 18 of 402 leaderboard repos (repos with both count under AGENTS.md unless it is empty).

Docs the weights cite:code.claude.com/memory (new tab)code.claude.com/skills (new tab)all weights

Claude Code — Loads CLAUDE.md (or .claude/CLAUDE.md) at the start of every session per Anthropic's memory docs, and AGENTS.md only when there is no CLAUDE.md, so the instructions file and a fast test loop carry the most weight. Its skills live in .claude/skills/, not .agents/skills/.
All platforms
GitHub
GitLab
Bitbucket
Rank (best score first)
Score · worst first
Stars · most first
Stars · fewest first

Leaderboard — page 2 of 34 for Claude Code
RankRepoScore
13pingcap/tidbGitHub
94.7
14nextcloud/serverGitHub
94.7
15surrealdb/surrealdbGitHub
94.7
16weaviate/weaviateGitHub
94.7
17sqlfluff/sqlfluffGitHub
94.7
18cli/cliGitHub
93.4
19getnao/naoGitHub
92.8
20excalidraw/excalidrawGitHub
92.1
21qdrant/qdrantGitHub
91.4
22vercel/next.jsGitHub
91.2
23discourse/discourseGitHub
91.2
24getsentry/sentryGitHub
91.2

Tracking 402 repos · last updated