promptgarten ๐ŸŒฑ

Command reference ยท Claude Code

/workflows

Opens the progress view for running workflows.

/workflows opens the progress view for dynamic workflows: select, watch, pause, resume, stop, or save running and completed runs as your own command. A workflow runs in the background and distributes work across many subagents; the view opens immediately, even while a response is currently running. In the view, according to the doc, these keys apply: p pauses or resumes the run, x stops the selected agent or โ€” when the run itself is focused โ€” the whole workflow, r restarts a running agent, s saves the script as its own command, project-wide under .claude/workflows/ or personally under ~/.claude/workflows/. A paused run can be resumed: finished agents deliver their cached result, the rest continues live. This only works within the same session, though โ€” after a restart, the workflow starts over from scratch.

โœ… WHEN TO USE IT?

Watch a running workflow

Call /workflows, select the run with the arrow keys, and pause it with p to briefly do something else.

Save a run as a command

After a successful review workflow, open /workflows, select the run, and save it under .claude/workflows/ with s to reuse it in the future.

โ›” WHEN NOT TO?

No workflow is running

The view shows running and completed workflows; without one, it stays empty.

Better: First start a workflow, for example via a bundled workflow like /deep-research.

Expecting resumption after a restart

According to the doc, resuming only works within the same session; if Claude Code is closed while a workflow is running, the next session starts it over from scratch.

Better: Leave the session open, or deliberately restart the workflow.

SOURCES

MORE COMMANDS ยท Claude Code

/pr-comments/add-dir/advisor/agents/autofix-pr/background/batch/branch/btw/cd/chrome/claude-api

All commands ยท Claude Code โ†’

Share:๐•in๐Ÿ’ฌ