Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.48 ·

CLAUDE.md Exclude Patterns

Entry
JSON All of v2.1.48
EntryKind: in v2.1.48,
ChangesSection of the release
What

Exclude specific CLAUDE.md files from loading using glob patterns or absolute paths.

Usage (in settings.json):

{
  "memory": {
    "excludePatterns": [
      "/home/user/monorepo/CLAUDE.md",
      "**/node_modules/**/CLAUDE.md",
      "**/some-dir/.claude/rules/**"
    ]
  }
}
Details
  • Uses picomatch for glob pattern matching
  • Patterns match against absolute file paths
  • Only applies to User, Project, and Local memory types (Managed/policy files cannot be excluded)
Evidence

New excludePatterns setting (search for "Glob patterns or absolute paths of CLAUDE.md files to exclude from loading")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.48 →

Feedback