0
Use CLAUDE.local.md for personal overrides you never commit
Keep personal shortcuts and machine-specific notes in CLAUDE.local.md (gitignored) instead of polluting the shared CLAUDE.md.
The problem
Teammates do not want your local paths, aliases, or experimental rules in the shared project memory.
The hack
Put personal always-on notes in `CLAUDE.local.md` (or user-level `~/.claude/CLAUDE.md`) and gitignore the local file.
Why it works
Shared CLAUDE.md should encode team truth. Local overrides keep experiments and personal prefs out of git history.
Setup
1. Create `CLAUDE.local.md` beside the project CLAUDE.md. 2. Add it to `.gitignore` if not already ignored. 3. Put machine-specific paths, personal checklists, and experimental rules there. 4. Keep team conventions in the committed CLAUDE.md only.
Additional details
Global user memory lives in ~/.claude/CLAUDE.md and applies across projects.
Discussion
No comments yet. Be the first to say whether this worked for you.