RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Formats/CLAUDE.md

CLAUDE.md

Claude Code's memory file. Shaped like AGENTS.md but with two things it lacks: @path imports, so shared rules live in one place, and a user-scope layer that follows the developer across repos rather than shipping with the code.

vendorAnthropicsince 2025-02-01Docs Browse 775 indexed files

What the corpus measured

2026-08-03

Repositories

248

2026-08-03Adopting repositories, not files.

Share of corpus

35.7%

2026-08-03Of every repository RuleStack indexes.

Median length

2,042w

2026-08-0390th percentile 2,998 words.

Median quality

44

2026-08-0334.1% name a command; 34.5% contain code.

Repositories carrying CLAUDE.md, 2026-08-01 to 2026-08-03

Real CLAUDE.md files

All 775
Highest scoring, from repositories with at least twenty stars
RepositoryFormatStackCoversScoreChanged
microsoft/playwrightCLAUDE.md · 94kCLAUDE.mdtypescriptjavascript+10buildtestlint-formatstyle+7100/1003 days ago
filamentphp/filamentCLAUDE.md · 32kCLAUDE.mdphplaravel+5buildtestlint-formatstyle+7100/1003 days ago
bagisto/bagistoCLAUDE.md · 28kCLAUDE.mdphplaravel+8setupbuildteststyle+5100/1003 days ago
livewire/livewireCLAUDE.md · 24kCLAUDE.mdphpvitest+4setupbuildteststyle+4100/1003 days ago
stacklok/toolhiveCLAUDE.md · 2.0kCLAUDE.mdgogithub-actionsbuildteststylearch+4100/1003 days ago
nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4kCLAUDE.mdtypescriptnode+16setupbuildstylearch+2100/1003 days ago
dotCMS/corecore-web/CLAUDE.md · 950CLAUDE.mdjavanode+13teststylearchtesting-strategy+3100/1003 days ago
Adit-Jain-srm/NightmareNetCLAUDE.md · 45CLAUDE.mdtypescriptpython+18buildtestlint-formatstyle+6100/1003 days ago
dotCMS/coreCLAUDE.md · 950CLAUDE.mdjavanode+9setupbuildteststyle+799/1003 days ago

What it asserts

2026-08-02

Read from the format’s own documentation and checked by hand. Capabilities are asserted; adoption is measured.

File
CLAUDE.md
When it applies
Always in scope. Project file, plus nested files in subdirectories, plus a user-level file (~/.claude/CLAUDE.md) that applies across every project.
Size limits
None documented
Tools that read it
Claude Code

Capabilities

  • Read by more than one tool
  • Frontmatter
  • Glob targeting
  • Imports other files
  • Nested / per-directory
  • Multiple files
  • User-level scope

Strengths

  • @path imports — shared conventions written once and pulled into each file
  • A user-scope file lets personal preferences live outside the team repo
  • Nested project files compose with the root file rather than replacing it

Weaknesses

  • Single-vendor: no other agent reads it, so multi-tool teams maintain two files
  • No glob targeting, same context cost as AGENTS.md — path-scoped rules exist, but in a separate .claude/rules/ file, not in CLAUDE.md itself
Measured — counted from real repositories, nightlyAsserted — read from the vendor docs, dated

Repositories that carry CLAUDE.md and something else

Counted pairwise across the whole corpus. The percentage is of repositories carrying CLAUDE.md — the number a “CLAUDE.md vs …” search is really asking for.

+ AGENTS.md

50.8%

2026-08-03
126 repos carry both31.8% the other way
+ Cursor rules

22.2%

2026-08-03
55 repos carry both30.7% the other way
+ Copilot instructions

19.0%

2026-08-03
47 repos carry both37.3% the other way
+ Cline rules

10.1%

2026-08-03
25 repos carry both31.6% the other way
+ GEMINI.md

6.9%

2026-08-03
17 repos carry both51.5% the other way
+ .cursorrules

4.0%

2026-08-03
10 repos carry both37.0% the other way
+ Windsurf rules

2.8%

2026-08-03
7 repos carry both50.0% the other way
Compare withCLAUDE.md vs AGENTS.mdCLAUDE.md vs Cursor rulesCLAUDE.md vs Copilot instructionsCLAUDE.md vs Cline rulesCLAUDE.md vs GEMINI.mdCLAUDE.md vs .cursorrulesCLAUDE.md vs Windsurf rules
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack