Task Modes
Task modes are the quickest way to tell Grok Code how disciplined or exploratory you want a run to be.
Main Task Modes
/quick: focused task with commit discipline/deep: research-first task run/persist: verify-and-fix loop after each meaningful change/qa: verification-first task run/refactor: structured refactor run/inspect: review a diff, PR, or working tree
Project-Level Task Modes
/map: generate codebase maps under.grok/map//init-project: interview and scaffold project docs under.grok//init-deep: generateAGENTS.mdfiles across the workspace/walkthrough: write.grok/walkthrough.mdand open a Mermaid preview
When To Use Each One
- use
/quickfor small, concrete tasks - use
/deepwhen you need broader reading first - use
/persistwhen you want tighter fix-then-verify discipline - use
/qawhen tests or checks are the center of the task - use
/inspectwhen you want review without implementation