← All reviews
Field guide · May 24, 2026 · 9 min read

The CLAUDE.md problem in teams of 5+ — what breaks when AI agent rules outgrow one engineer

A single engineer’s CLAUDE.md is a personal document. It’s tuned to one person’s repo, one person’s coding style, one person’s tolerance for verbose explanations. It works because the only audience is the engineer who wrote it.

The moment a second engineer joins the same project, the file’s job changes — and most teams don’t notice for months. By engineer five it’s actively misleading the model. By engineer ten it has become a fossil layer of contradictions nobody dares delete.

This article is for engineering managers and tech leads of teams that have crossed the line from “one of us is using Claude” to “all of us are using Claude.” Here is what breaks, what we see most often, and four habits that fix it.

What goes wrong at scale

Drift

The first thing that happens is drift. Engineer A adds a rule because Claude keeps misnaming React component files. Engineer B, working in the same repo two weeks later, never reads the new rule because she added her own version of the same instruction in a comment higher up. Neither knows the other’s version exists. After three months the file has six conflicting hints about file naming and the model picks one at random.

Project-vs-personal confusion

CLAUDE.md files live in two places: the user’s home directory (~/.claude/CLAUDE.md, applies to everything) and any project tree (<repo>/CLAUDE.md, applies to that repo). Solo engineers don’t have to think about this — the project file inherits from their personal one and everything Just Works. On a team, the project file is shared via git and the personal one isn’t. So an engineer who relies on a personal rule discovers, two weeks later, that their teammate’s identical session produces wildly different output. The fix is real, but unobvious: every team-shared rule has to be moved out of personal config and into the repo file. Most teams have never done this audit.

The silent token tax

Most teams don’t measure their own token spend per engineer. The ones that do are almost always shocked. A bloated CLAUDE.md — say, 1,200 words with three “examples” that the model reproduces back at every prompt — quietly adds 30–60% to per-session token cost across the whole team. At 8 engineers, $20-per-day Claude Code usage each, that’s an extra $40-$60/day in pure overhead with no benefit. The file feels comprehensive; the bill feels normal; nobody connects the two.

Mid-session corrections that nobody graduates

Claude Code sessions accumulate live corrections — “don’t do that,” “use tabs not spaces,” “respect the existing helper instead of writing a new one.” Solo engineers absorb these into the file eventually. On a team, the corrections happen in private sessions across multiple repos and never make it back to the shared file. The model keeps making the same mistake. The fifth engineer notices and writes a new rule. The first engineer’s correction is still uncodified somewhere in their session telemetry.

Four habits that fix it

These are not original — every team that has actually solved this converges on roughly the same four. The interesting question is when each kicks in.

1. One owner, monthly reviews

Pick one person — usually a senior IC who uses Claude Code most heavily — to own CLAUDE.md like they would own a critical config file. Monthly review: read the whole file out loud, ask “would I tell a new hire this?” If the answer is no, delete the rule. Most teams’ files lose 30-40% of their length in the first review and Claude performs measurably better afterwards because the signal-to-noise improved.

2. Personal-config audit at onboarding

When a new engineer joins, sit them down for 15 minutes and check their ~/.claude/CLAUDE.md. Move anything project-shaped (file naming, coding style, repo conventions) into the project file. Keep only personal preferences (terseness, language preference, tooling shortcuts) in personal config. This is the single highest-ROI conversation you can have with a new hire — it pays back the first week.

3. A graduation ritual for session corrections

The corrections that work in private session must make it into the shared file. The simplest mechanism: each engineer keeps a one-line note when they correct Claude on something repeatable, and brings the list to the monthly review. The owner decides which graduate into the file. This sounds like overhead; it takes five minutes per engineer per month and prevents the same correction being typed forty times across the team.

4. A budget number, watched

Pick a Claude Code per-engineer monthly budget. Watch it. The number is more about catching regressions than about absolute spend — when it jumps 30% in a week, your CLAUDE.md got bigger or someone is misusing a sub-agent. Most teams discover the silent token tax this way and end up with a thinner, more effective file.

What about Codex / Cursor / Aider teams

Everything above applies, with one substitution per file. Codex reads AGENTS.md, Cursor reads .cursor/rules/*.mdc, Aider reads CONVENTIONS.md. The mistakes are identical; the team-scale failures are identical; the four habits are identical. The hardest case is mixed-stack teams — engineers using two or three agents at once — where the same rule needs to live in two or three files. Until the agent ecosystem agrees on a single config format (which doesn’t seem imminent), the answer is to keep the shared file short, generate the others from it, and treat the rules-as-source-of-truth question with the same seriousness you’d treat code-as-source-of-truth.

When to bring in outside help

Most teams can fix this themselves once they’ve named the problem. A few can’t, usually because:

  • The codebase is too big for any single engineer to hold the full picture, and the CLAUDE.md reflects that.
  • The team has already had two failed attempts and morale on the file is low.
  • The token spend is high enough that “we’ll get to it next quarter” is no longer acceptable.

If that’s you, an outside review — fresh eyes, no political stake in the current file — usually takes 90 minutes and pays for itself in a couple of weeks of saved token spend. I run that engagement as the CLAUDE.md audit on this site: $299 solo, $799 for a team of 2–10. First three of each tier free as case studies.

The harder problem is institutional. Even the best file in the world rots if nobody owns it. The four habits above are cheaper than any audit and they’re what we end up recommending in 80% of engagements. Start there.

Companion reading

Related reading


Reviews independently produced · Editorial policy

Read more reviews →