Flow commands
/flow:init
Scaffold the .ai/ workspace, auto-detect project stack, populate workflows.config.json, and ensure CLAUDE.md exists (via /init).
| Property | Value |
|---|---|
| Command | /flow:init |
| Category | setup |
| Argument hint | (none) |
| Source | plugins/flow/commands/init.md |
Description
Scaffold the .ai/ workspace, auto-detect project stack, populate workflows.config.json, and ensure CLAUDE.md exists (via /init).
Invocation
snippet
/flow:initSummary
Sets up everything the flow plugin needs to operate on a new (or existing) repo. Does not duplicate Claude Code's built-in /init — defers to it for CLAUDE.md. Owns three things:
Source of truth
This page is auto-generated from the command's frontmatter. The exact prompt Claude runs — including directives, edge-case handling, and tool-routing logic — lives in the source file:
plugins/flow/commands/init.md → read it for the full behavior.