{"name":"CLAUDE_CODE_DISABLE_CLAUDE_MDS","slug":"claude-code-disable-claude-mds","family":"env","title":"Environment variables","noun":"environment variable","description":"Set to `1` to prevent loading any CLAUDE.md memory files into context, including user, project, and auto memory files","description_source":"docs","described_by":{"doc":"claude-code\/env-vars","title":"Environment variables"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":150,"mined_builds":150,"first_cited":{"version":"2.1.296","released_at":"2026-10-09 16:58:10","spans":1}},"aliases":[],"entries":[{"version":"2.1.301","anchor":"managed-and-user-claudemd-loading-restructured","heading":"Managed and user CLAUDE.md files are now loaded only under certain conditions","line":"The managed CLAUDE.md is no longer always loaded, and the user CLAUDE.md now also needs a user file path to exist","released_at":"2026-10-15 14:34:23","reason":"found in this entry's text"},{"version":"2.1.296","anchor":"local-only-claudemd-loading-skipped-under-new-condition","heading":"A second condition can now stop CLAUDE.md files from loading","line":"CLAUDE.md files, rules and project memory can now be skipped under a new condition, not only when `CLAUDE_CODE_DISABLE_CLAUDE_MDS` is set","released_at":"2026-10-09 16:58:10","reason":"found in this entry's text, named in this entry"}],"entries_total":2,"docs":[{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":true},{"source":"claude-code","path":"agent-sdk\/modifying-system-prompts","title":"Modifying system prompts","documented":false}],"docs_total":2,"gates":[],"related":[{"name":"CLAUDE_CODE_DISABLE_CLAUDE_API_SKILL","slug":"claude-code-disable-claude-api-skill","description":"Environment flags are now parsed centrally, so values are compared to explicit true or false."},{"name":"CLAUDE_CODE_DISABLE_CLAUDE_CODE_SKILL","slug":"claude-code-disable-claude-code-skill","description":"A bundled workflow-authoring skill loads itself when you mention workflows, and multi-agent runs need your ask."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-disable-claude-mds","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}