Skip to content
CW101
Generally availableOfficialFeature

CLAUDE.md

A markdown file in your project that Claude Code reads at the start of every session — the place for coding standards, architecture decisions and review checklists.

Last verified August 21, 2026 · 3 sources

CLAUDE.md is a markdown file you put in your project root. Claude Code reads it at the start of every session, every time.

That is the entire mechanism, and it is the highest-leverage configuration in the product — because everything else in Claude Code is conditional, and this is not.

What belongs in it

  • Coding standards and conventions the code itself does not make obvious
  • Architecture decisions and the reasoning behind them
  • Preferred libraries, and ones to avoid
  • How to run the tests, the build, the linter
  • Review checklists
  • Anything you would otherwise repeat at the start of every session

What does not belong in it

  • Anything the code already says. Directory structure and function signatures are readable.
  • Long reference material. It costs context on every request. Put procedures in a Skill, which loads only when relevant.
  • Secrets. It is a file in your repository.

That first point is the most common failure: a CLAUDE.md that has grown into a project encyclopedia makes every session more expensive and, past a certain length, less obeyed.

Where it sits relative to everything else

Mechanism When it applies
CLAUDE.md Always, every session
Auto memory Always, but written by Claude rather than you
Skills When the task matches
Hooks On specific events
MCP When a tool is called

It travels across surfaces

Because every Claude Code surface runs the same engine, one CLAUDE.md applies in the terminal, VS Code, JetBrains, the desktop app and the web. Checked into the repository, it is also the cheapest way to give a whole team the same baseline.

Plan availability

Anything left blank is not documented publicly, not a claim that it is unavailable. Compare every feature at once in the availability matrix.

  • FreeNot available
  • ProIncluded
  • MaxIncluded
  • TeamIncluded
  • EnterpriseIncluded
  • APIIncluded

Inside CLAUDE.md

Comparisons

Sources

  1. 01How Claude remembers your project — Claude Code docsOfficialcode.claude.com
  2. 02Explore the .claude directoryOfficialcode.claude.com
  3. 03Claude Code overviewOfficialcode.claude.com

Page changelog

  1. VerifiedChecked against the memory and .claude directory documentation.

Referenced by

Start typing to search every entity in the reference.