modes-and-commands.md +25 −0
54| `/imagine <prompt>` | Generate an image from a text description |54| `/imagine <prompt>` | Generate an image from a text description |
55| `/imagine-video <prompt>` | Generate a video from a text description |55| `/imagine-video <prompt>` | Generate a video from a text description |
56| `/tasks` | List background tasks, subagents, and scheduled tasks |56| `/tasks` | List background tasks, subagents, and scheduled tasks |
57| `/create-workflow [description]` | Author and save a new workflow |
58| `/workflow <name> [args]` | Launch a saved workflow, or `pause` / `resume` / `stop` / `save` a run |
59| `/workflows` | Open the live workflow run dashboard (fullscreen) |
60| `/deep-research <query>` | Run a background research workflow |
57| `/queue` | List the prompts queued behind the running turn |61| `/queue` | List the prompts queued behind the running turn |
58| `/dashboard` | Open the [Agent Dashboard](/build/features/dashboard) |62| `/dashboard` | Open the [Agent Dashboard](/build/features/dashboard) |
59| `/settings` (alias `/config`) | Open the settings modal |63| `/settings` (alias `/config`) | Open the settings modal |
95Any user-invocable skill can also appear as a slash command, for example `/<skill-name>`.99Any user-invocable skill can also appear as a slash command, for example `/<skill-name>`.
96 100
97If names collide, use the qualified form, such as `/local:commit`.101If names collide, use the qualified form, such as `/local:commit`.
102
103## Workflows
104
105Workflows orchestrate a bounded set of [subagents](/build/features/subagents) in the background: fan out work, verify, then return a result. They are on by default.
106
107Create one with `/create-workflow` and describe what it should do. Grok asks about fan-out, verification, and scope, then authors, smoke-checks, and saves the file as `.grok/workflows/<name>.rhai` in the project, or `~/.grok/workflows/<name>.rhai` for every project.
108
109```text
110/create-workflow Review the current branch for bugs, then verify each finding
111```
112
113Launch a saved workflow with `/workflow <name>` (optional JSON args) or `/<name>`. `/workflows` is the live run dashboard in the fullscreen TUI; it lists active and retained runs, not saved files.
114
115```text
116/workflow review-changes {"target":"origin/main...HEAD"}
117/workflow pause review-changes
118/workflow resume review-changes
119/workflow stop review-changes-2
120```
121
122`/deep-research <query>` starts a built-in research workflow. Disable the feature with `[workflows] enabled = false` in `~/.grok/config.toml`, or `GROK_WORKFLOWS=0`.