Apply the same instructions across all projects

configuration

// what it does

~/.grok/GROK.md in your home directory supplies default instructions for every project that lacks its own .grok/GROK.md. Use it for personal preferences like readability, naming, or always adding tests.

// shell

$ ~/.grok/GROK.md

// gotcha

It is a fallback, not a base layer — if a project has .grok/GROK.md, the global file is skipped entirely for that project, so global rules do not carry over. Duplicate any must-have rules into project files.

// resources