mdpantry / How long is a CLAUDE.md

How long is a CLAUDE.md?

The middle CLAUDE.md in a public repository is 78 lines. This is 1,591 distinct files, found in 2,101 repositories, as their saved copies stood on . 342 of them (21%) run past 200 lines, the length Claude Code's docs say to stay under, because a longer file costs more context every session.

78lines, the middle file

28 to 181lines, the middle half

21%past 200 lines

Where they fall

  1. 1 to 20 lines341 21%
  2. 21 to 50 lines236 15%
  3. 51 to 100 lines341 21%
  4. 101 to 200 lines331 21%
  5. Past 200 lines: the length Claude Code's own docs say to stay under.
  6. 201 to 400 lines221 14%
  7. 401 or more lines121 8%

The most-starred

Each one opens that repo's pantry, with its CLAUDE.md as a jar.

How it was measured

Counted by the registry that serves this pantry, with no model in the count. Updated . Starting your own? The CLAUDE.md starter is the place to begin.