With a CLAUDE.md File
Where project memory files land.
Inside a Git Repository
What changes when the project is a git repository.
Compaction Prompt
The request that summarizes a conversation.
Compaction Prompt, Custom Instructions
The compaction request with the three ways to add your own instructions.
Git Instructions Turned Off
includeGitInstructions: false removes the built-in commit and pull request rules.
Auto Memory Turned Off
CLAUDE_CODE_DISABLE_AUTO_MEMORY=1 removes the memory section.
Memory Extraction
Verbatim prompt for the memory extraction subagent, captured from the program.
Memory Selection
Verbatim prompt that selects saved memories, captured from the program.