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: generate AGENTS.md files across the workspace
  • /walkthrough: write .grok/walkthrough.md and open a Mermaid preview

When To Use Each One

  • use /quick for small, concrete tasks
  • use /deep when you need broader reading first
  • use /persist when you want tighter fix-then-verify discipline
  • use /qa when tests or checks are the center of the task
  • use /inspect when you want review without implementation

Was this page helpful? Report issues on GitHub.