一键导入
fflow
Start a workflow run. Default uses fflow start with CLI tracking. Use --lite for lite mode, --markdown for prompt-only mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Start a workflow run. Default uses fflow start with CLI tracking. Use --lite for lite mode, --markdown for prompt-only mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
E2E agent testing with fflow verify — write test plans (gen), run them (run), or diagnose failures (fix). Dispatch via positional arg.
Generate a complete specification from a rough idea through interactive requirements gathering, research, design, and implementation planning.
Implement a spec into working code, one plan step at a time.
End-to-end pipeline from rough idea to merged pull request. Passing --quick forwards the flag to the spec-gen sub workflow.
Monitor a PR/MR until it is merged or closed.
Create or edit FreeFlow workflow files.
| name | fflow |
| description | Start a workflow run. Default uses fflow start with CLI tracking. Use --lite for lite mode, --markdown for prompt-only mode. |
Initialize a new workflow run from a workflow YAML file.
/fflow PATH — normal mode (default). Uses fflow start with full CLI tracking./fflow --lite PATH — lite mode. Uses fflow start --lite (simplified cards on revisits)./fflow --markdown PATH — markdown-only mode. Uses fflow render to inject the full workflow as a prompt. No CLI state tracking or hooks.--markdown: use markdown mode (see below).--lite: use lite mode (see below).Strip the mode flag from args before extracting PATH.
If there is a remembered run_id from a previous /fflow in this conversation, run fflow current --run-id <run_id>. If the current state is not done, prompt the user:
<run_id> in state <state>. Abort it and start a new one?"fflow abort --run-id <run_id> first.done or the run doesn't exist, skip this step silently.Use the format <workflow-name>-$(date '+%Y%m%d%H%M%S') where workflow-name is derived from the workflow filename. Use lowercase letters, numbers, and hyphens.
/fflow PATH)Full CLI-tracked mode with event sourcing and hooks.
Complete the Common Steps above.
Run the CLI command:
fflow start <PATH> --run-id <run-id>
Never omit --run-id. PATH can be a workflow name (e.g. spec-gen) or a full path. The CLI resolves it automatically.
Remember the run ID — Store the run_id value for use in subsequent fflow current --run-id <run-id> and fflow goto <state> --run-id <run-id> --on <transition-label> calls within this conversation.
Flow CLI output
WARNING — DO NOT TRUNCATE CLI OUTPUT
fflow start,fflow goto, andfflow currentoutput state cards that contain critical workflow instructions. You MUST read the complete, untruncated output of these commands. NEVER pipe them throughtail,head, or any other tool that truncates output. NEVER use a line-limit or byte-limit on their output. Truncating the output will cause you to miss guide rules, state instructions, and transition definitions, which will lead to incorrect workflow execution.
fflow start will output the initial state card. fflow goto will output the new state card. If the target state is done, the workflow is completed.
The state card consists of instructions, todos and valid state transitions. Follow the instructions and transition to the correct state based on the output of your actions.
Execution model: After every state transition, immediately execute the new state's instructions. You may summarize progress or report status, but do NOT stop between states. Keep driving the workflow forward until you reach a terminal state (a state with no transitions). Only a terminal state ends the workflow.
Before ending a turn: You MUST run fflow current --run-id <run_id> before ending your turn to check if there is remaining work in the current state. Only end your turn if the current state has no actionable work left or requires user input. This prevents accidentally dropping tasks mid-state.
If the exit code of any CLI is not 0, the CLI will output the error message. Follow the error message on right actions to take.
/fflow --lite PATH)Same as normal mode but with --lite flag. Revisited states show simplified cards.
Complete the Common Steps above.
Run the CLI command:
fflow start <PATH> --run-id <run-id> --lite
/fflow --markdown PATH)The agent reads the full workflow once and self-manages state transitions — no CLI calls after the initial render. Uses fflow start --markdown to create a minimal run directory and output the full workflow as markdown.
fflow start <PATH> --run-id <run-id> --markdown
This creates a run directory with only fsm.meta.json (no event sourcing) and outputs the full resolved workflow as markdown to stdout with ${workflow_dir} and ${run_dir} substituted.
Remember the run ID — you can use fflow current --run-id <run-id> to retrieve metadata (run_id, mode, workflow_dir, run_dir), but goto and finish are blocked in markdown mode.
Read the complete, untruncated output. This is the entire workflow specification.
You are now running a workflow. The full workflow is rendered above. Follow these rules:
goto and finish will error with MARKDOWN_MODE).workflow_dir — Workflow DirectoryThe CLI commands (fflow start, fflow current, fflow goto) include a workflow_dir
field in their output. In markdown mode (fflow render), it appears as an HTML comment:
<!-- workflow_dir: /path -->. This is the directory containing the workflow YAML file.
Use workflow_dir from CLI output whenever workflow prompts reference files relative to
the workflow directory (e.g., {workflow_dir}/../references/github-cli.md).
RUN_EXISTS — The generated run_id is already taken. Generate a different slug and retry.SCHEMA_INVALID — The YAML file has validation errors. Show the error message and suggest using /fflow-author to build a valid workflow.