Global Claude.md file

Status Fixed / completed
Maintainer reply ✓ Yes — ashwin-ant
Activity 4 comments · opened Mar 22, 2025 · closed Mar 23, 2025
💡 Likely answer: A maintainer (ashwin-ant, collaborator) responded on this thread — see the highlighted reply below.

I'd like to be able to put a global Claude.md file in my home directory, e.g. ./claude/Claude.md, to record personal coding preferences I want to use on all projects, instruct Claude how to do things like open files in my editor or browser on my machine using bash, etc.

Or if such a facility already exists and I missed it, then better documentation would be helpful.

Thanks!

View original on GitHub ↗

4 Comments

brossi · 1 year ago

My workaround until this feature is added:

# First run your Claude initialization command
# or, if you already have a Claude.md file in your project directory, skip to the next command 
/init

# Then append the content you use for all projects (use ! to enter console commands directly):
cat /path/to/common_rules/file.md >> ./Claude.md
ashwin-ant collaborator · 1 year ago

This exists today:

~/.claude/CLAUDE.md: User-specific preferences that you don’t want to check into source control
stevemolitor · 1 year ago

Ah missed it in the docs. thanks!

github-actions[bot] · 1 year ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.