| name | grok-workflows |
| description | When and how to run Grok Rhai multi-agent workflows from Claude Code |
| user-invocable | false |
Grok workflows
Workflows are deterministic Rhai scripts under .grok/workflows/ or ~/.grok/workflows/ that orchestrate parallel subagents via Grok’s workflow tool.
When to use
- Multi-dimension review (correctness + error handling + performance) with adversarial verify
- Bounded fan-out over a known work list
- Repeatable pipelines the user wants by name
How
/grok:workflow list
/grok:workflow run <name> --arg key=value --background
/grok:workflow run <name> --validate-only
Do not reimplement workflow logic in Claude. The companion hands a prompt that tells Grok to use the workflow tool.
Prefer over multi-rescue when
- The work is a named recipe with structured phases
- You need agent budget caps and deterministic fan-out