Give Grok project-specific instructions

configuration

// what it does

Create .grok/GROK.md in the project root to inject standing instructions into Grok's system prompt — coding conventions, preferred libraries, things to avoid. It is the highest-priority instruction source and applies to every interaction in that project.

// shell

$ .grok/GROK.md

// gotcha

Only the project-level .grok/GROK.md is used when it exists; a global ~/.grok/GROK.md is ignored for that project rather than merged. Keep shared rules in the project file if you want them to always win.

// resources