According to the Memory documentation, CLAUDE.md files should support importing additional files using @path/to/import syntax, including files from the user's home directory like @~/.claude/my-project-instructions.md.
Expected Behavior
When a project's CLAUDE.md contains:
# Individual Preferences
- @~/.claude/CLAUDE_PROJECT.md
The referenced file should be loaded into context and appear in /context output under "Memory files".
Actual Behavior
The file is NOT loaded. Running /context shows:
Memory files · /memory
└ User (/home/uptown/.claude/CLAUDE.md): 737 tokens
└ Project (/home/uptown/Projects/project/project-app/sql-view/CLAUDE.md): 783 tokens
No entry for CLAUDE_PROJECT.md appears, even though the file exists and is readable.
Steps to Reproduce
- Create a file at
~/.claude/CLAUDE_PROJECT.md
- Reference it in a project CLAUDE.md using:
- @~/.claude/CLAUDE_PROJECT.md
- Run
/context in Claude Code
- Observe the file is not listed in "Memory files"
Environment
- Claude Code CLI
- Platform: Linux
Additional Notes
The file can be read directly via Read tool, confirming it exists and has proper permissions. The @ syntax appears to work for other files but not for home directory references in list format.
According to the Memory documentation, CLAUDE.md files should support importing additional files using
@path/to/importsyntax, including files from the user's home directory like@~/.claude/my-project-instructions.md.Expected Behavior
When a project's CLAUDE.md contains:
The referenced file should be loaded into context and appear in
/contextoutput under "Memory files".Actual Behavior
The file is NOT loaded. Running
/contextshows:No entry for
CLAUDE_PROJECT.mdappears, even though the file exists and is readable.Steps to Reproduce
~/.claude/CLAUDE_PROJECT.md- @~/.claude/CLAUDE_PROJECT.md/contextin Claude CodeEnvironment
Additional Notes
The file can be read directly via Read tool, confirming it exists and has proper permissions. The
@syntax appears to work for other files but not for home directory references in list format.