Answer: Keep CLAUDE.md short by only including what Claude couldn't work out from the code itself, such as exact test, typecheck, and lint commands, misleading code patterns, decisions not in the repo, and anything you've had to correct twice already. Status: Confirmed Entry: tool/claude-code/memory-and-context/keep-claude-md-short Revision: 3 Digest: sha256:1ccab922f12aab1e (changes whenever the content changes) Timeline: Created: 2026-11-13T02:27:53Z Last changed: 2026-11-19T12:13:58Z (include: repeated corrections: — → Anything you've had to correct twice already) Last verified: 2026-11-20T12:18:16Z Next check: 2026-11-21T12:18:16Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of core principle | it only holds what Claude couldn't work out from the code itself | [1] | 2026-11-20 include: confirmation commands | the exact test, typecheck, and lint commands, and how to run a single test file | [1] | 2026-11-20 include: misleading code | an old pattern that's everywhere but that new code must not copy, or a directory that looks unused but isn't | [1] | 2026-11-20 include: decisions not in repo | which error helper the team settled on, how deploys work, what needs a migration review | [1] | 2026-11-20 include: repeated corrections | Anything you've had to correct twice already | [1] | 2026-11-20 Sources: [1] Anthropic. "Best practices for Claude Code". https://code.claude.com/docs/en/best-practices.md Role: primary. Accessed: 2026-11-20T12:18:16Z Quote: "That's why the file works best when it only holds what Claude couldn't work out from the code itself:" (Supports: core principle) Quote: "How to confirm work in this repo: the exact test, typecheck, and lint commands, and how to run a single test file" (Supports: include: confirmation commands) Quote: "Places where the code is misleading: an old pattern that's everywhere but that new code must not copy, or a directory that looks unused but isn't" (Supports: include: misleading code) Quote: "Decisions that aren't in the repo: which error helper the team settled on, how deploys work, what needs a migration review" (Supports: include: decisions not in repo) Quote: "Anything you've had to correct twice already" (Supports: include: repeated corrections) Published: 2026-11-20T10:31:18Z Snapshot SHA-256: 4cec5f4d01d2756b3de3d51fa8fc8e72e84020a51e008b866639104845fd704d (captured 2026-11-20T12:18:14Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T12:18:16Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:18:16Z Last attempt: 2026-11-20T12:18:16Z Notes and limitations: Extracted automatically from a single official source (section "Keep CLAUDE.md short"). Related: https://latestn.com/tool/claude-code/memory-and-context/layer-claude-md-files-by-directory How do I layer CLAUDE.md files by directory in Claude Code for a monorepo? https://latestn.com/tool/claude-code/memory-and-context/lower-always-on-plugin-cost How can I reduce the always-on token cost of a Claude Code plugin? https://latestn.com/tool/claude-code/memory-and-context/tool-search-default-tools-loaded How many tools does Claude Code tool search load into context by default? https://latestn.com/tool/claude-code/memory-and-context/enable-disable-auto-memory How do I enable or disable auto memory in Claude Code? https://latestn.com/tool/claude-code/memory-and-context/exclude-irrelevant-claude-md-files How do I exclude irrelevant CLAUDE.md files in Claude Code? https://latestn.com/tool/claude-code/memory-and-context/extension-context-cost How much context do Claude Code extensions like CLAUDE.md, Skills, and MCP cost, and how do they load? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-19T12:13:58Z | changed | include: repeated corrections: — → Anything you've had to correct twice already | [1] 2026-11-19T12:13:58Z | changed | include: decisions not in repo: — → which error helper the team settled on, how deploys work, what needs a migration review | [1] 2026-11-19T12:13:58Z | changed | include: misleading code: — → an old pattern that's everywhere but that new code must not copy, or a directory that looks unused but isn't | [1] 2026-11-19T12:13:58Z | changed | include: confirmation commands: — → the exact test, typecheck, and lint commands, and how to run a single test file | [1] 2026-11-19T12:13:58Z | changed | corrections: Anything you've had to correct twice already → — | [1] 2026-11-19T12:13:58Z | changed | decisions not in repo: which error helper the team settled on, how deploys work, what needs a migration review → — | [1] 2026-11-19T12:13:58Z | changed | misleading code: an old pattern that's everywhere but that new code must not copy, or a directory that looks unused but isn't → — | [1] 2026-11-19T12:13:58Z | changed | confirm work: the exact test, typecheck, and lint commands, and how to run a single test file → — | [1] 2026-11-16T12:06:52Z | changed | corrections: — → Anything you've had to correct twice already | [1] 2026-11-16T12:06:52Z | changed | decisions not in repo: — → which error helper the team settled on, how deploys work, what needs a migration review | [1] 2026-11-16T12:06:52Z | changed | misleading code: — → an old pattern that's everywhere but that new code must not copy, or a directory that looks unused but isn't | [1] 2026-11-16T12:06:52Z | changed | confirm work: — → the exact test, typecheck, and lint commands, and how to run a single test file | [1] 2026-11-16T12:06:52Z | changed | include: corrections: Anything you've had to correct twice already → — | [1] 2026-11-16T12:06:52Z | changed | include: decisions: which error helper the team settled on, how deploys work, what needs a migration review → — | [1] 2026-11-16T12:06:52Z | changed | include: misleading code: an old pattern that's everywhere but that new code must not copy, or a directory that looks unused but isn't → — | [1] 2026-11-16T12:06:52Z | changed | include: commands: the exact test, typecheck, and lint commands, and how to run a single test file → — | [1] 2026-11-13T02:27:53Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/memory-and-context/keep-claude-md-short/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/memory-and-context/keep-claude-md-short POST: https://latestn.com/dispute/tool/claude-code/memory-and-context/keep-claude-md-short with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/memory-and-context/keep-claude-md-short?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I keep CLAUDE.md short in Claude Code? Revision 3, last verified 2026-11-20T12:18:16Z. https://latestn.com/tool/claude-code/memory-and-context/keep-claude-md-short (accessed 2026-11-21T09:58:10Z). @misc{LatestN_tool_claude_code_memory_and_context_keep_claude_md_short_r3, title = {How do I keep CLAUDE.md short in Claude Code?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/memory-and-context/keep-claude-md-short}}, note = {Revision 3; digest sha256:1ccab922f12aab1e; last verified 2026-11-20T12:18:16Z; accessed 2026-11-21T09:58:10Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/memory-and-context/keep-claude-md-short