Answer: Type `/config` in a Claude Code session to open the settings panel, then set **Project instructions** to one of the listed values (such as `claude-md-or-agents-md`, the default, or `claude-md-and-agents-md`). You can also set the value in a settings file under `pluginConfigs` for `cc-plugin-agents-md@builtin`. Status: Confirmed Entry: tool/claude-code/memory-and-context/choose-instruction-files Revision: 2 Digest: sha256:213a000c19d3f76f (changes whenever the content changes) Timeline: Created: 2026-11-13T02:28:01Z Last changed: 2026-11-18T12:17:30Z (Settings file plugin ID: — → cc-plugin-agents-md@builtin) Last verified: 2026-11-20T12:22:08Z Next check: 2026-11-21T12:22:08Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of How to change setting | /config | [1] | 2026-11-20 Setting name | Project instructions | [1] | 2026-11-20 Default value | claude-md-or-agents-md | [1] | 2026-11-20 Both files value | claude-md-and-agents-md | [1] | 2026-11-20 CLAUDE.md only value | claude-md | [1] | 2026-11-20 Managed only value | managed-only | [1] | 2026-11-20 Settings file plugin ID | cc-plugin-agents-md@builtin | [1] | 2026-11-20 When change applies | from the next message you send and in every new session | [1] | 2026-11-20 Sources: [1] Anthropic. "How Claude remembers your project". https://code.claude.com/docs/en/memory.md Role: primary. Accessed: 2026-11-20T12:22:08Z Quote: "type `/config` in a Claude Code session to open the settings panel" (Supports: How to change setting) Quote: "set **Project instructions** to one of these values" (Supports: Setting name) Quote: "| `claude-md-or-agents-md` | Your `CLAUDE.md` files, or your `AGENTS.md` files when you have no `CLAUDE.md` or `CLAUDE.local.md` in your working directory or above it. This is the default |" (Supports: Default value) Quote: "| `claude-md-and-agents-md` | Your `CLAUDE.md` and `AGENTS.md` files together" (Supports: Both files value) Quote: "| `claude-md` | Your `CLAUDE.md` files only |" (Supports: CLAUDE.md only value) Quote: "| `managed-only` | Only your organization's managed `CLAUDE.md` and [auto memory](#auto-memory) at launch." (Supports: Managed only value) Quote: "Add it to [`pluginConfigs`](https://code.claude.com/docs/en/settings-reference#pluginconfigs) under `cc-plugin-agents-md@builtin`" (Supports: Settings file plugin ID) Quote: "Your change applies from the next message you send and in every new session." (Supports: When change applies) Published: 2026-11-20T02:52:54Z Snapshot SHA-256: 4186f2be3c7c25188e957096d3e33421afb09467bc0192aa5685a7cc4d8de88f (captured 2026-11-18T12:17:29Z) 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]. On this check the text of [1] was unchanged since 2026-11-18T12:17:30Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:22:08Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:22:08Z Last attempt: 2026-11-20T12:22:08Z Notes and limitations: Extracted automatically from a single official source (section "Choose which instruction files load"). Related: https://latestn.com/tool/claude-code/memory-and-context/claude-md-load-locations-sdk Where does the Claude Code SDK load CLAUDE.md files from? https://latestn.com/tool/claude-code/memory-and-context/context-window-and-compaction What consumes context in the Claude Code agent loop and how does automatic compaction work? https://latestn.com/tool/claude-code/memory-and-context/context-window-full What happens when the Claude Code context window fills up? https://latestn.com/tool/claude-code/memory-and-context/auto-compact-window How do I set the auto-compact window in Claude Code? https://latestn.com/tool/claude-code/memory-and-context/auto-memory-storage-location Where does Claude Code store auto memory files? https://latestn.com/tool/claude-code/memory-and-context/check-session-context-usage How can I check my own Claude Code session's context usage? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-18T12:17:30Z | changed | Settings file plugin ID: — → cc-plugin-agents-md@builtin | [1] 2026-11-18T12:17:30Z | changed | How to change setting: — → /config | [1] 2026-11-18T12:17:30Z | changed | Settings plugin ID: cc-plugin-agents-md@builtin → — | [1] 2026-11-18T12:17:30Z | changed | How to change: /config → — | [1] 2026-11-13T02:28:01Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/memory-and-context/choose-instruction-files/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/choose-instruction-files POST: https://latestn.com/dispute/tool/claude-code/memory-and-context/choose-instruction-files with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/memory-and-context/choose-instruction-files?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I choose which CLAUDE.md or AGENTS.md instruction files Claude Code loads? Revision 2, last verified 2026-11-20T12:22:08Z. https://latestn.com/tool/claude-code/memory-and-context/choose-instruction-files (accessed 2026-11-21T09:57:55Z). @misc{LatestN_tool_claude_code_memory_and_context_choose_instruction_files_r2, title = {How do I choose which CLAUDE.md or AGENTS.md instruction files Claude Code loads?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/memory-and-context/choose-instruction-files}}, note = {Revision 2; digest sha256:213a000c19d3f76f; last verified 2026-11-20T12:22:08Z; accessed 2026-11-21T09:57:55Z} } 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/choose-instruction-files