← 返回 Skills 市场
kagura-agent

FlowForge Workflow Engine

作者 kagura-agent · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
111
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-flowforge
功能描述
Run structured multi-step workflows via FlowForge engine. Use when user requests step-by-step execution, structured workflows, or when a task needs enforced...
使用说明 (SKILL.md)

FlowForge Workflow Runner

Execute multi-step workflows defined in YAML files using the FlowForge state machine engine.

Prerequisites

FlowForge CLI must be installed. Check with:

flowforge --version

If the command fails or is not found, run the setup flow in setup.md before proceeding.

My Workflows

\x3C!-- Map your intents to workflow names here. --> \x3C!-- When you notice the same intent matching the same workflow 2-3 times, add it. --> \x3C!-- This saves a flowforge list lookup every time and makes triggering instant. -->

Intent Workflow
(add your mappings here as you use FlowForge)

Core Loop

1. Start or Resume

# Check for active instances
flowforge active

# Resume if exists
flowforge status

# Or start new
flowforge start \x3Cworkflow>

2. Get Action

flowforge run \x3Cworkflow>

Returns JSON: { action: { type, node, task, branches, ... } }

3. Execute by Action Type

type: 'spawn' — Node has executor: subagent. MUST spawn a sub-agent:

sessions_spawn(
  task: action.task,
  mode: "run",
  label: "flowforge-\x3Cworkflow>-\x3Cnode>"
)

Wait for sub-agent to complete. Collect its output.

⚠️ NEVER execute spawn tasks yourself in the main session. The whole point of subagent nodes is delegation — they run in parallel, unblock the main session, and use the best tool for the job. If you do it yourself, you're blocking the main session and defeating the purpose.

type: 'prompt' — Node needs your direct judgment. Execute the task yourself in the main session. Use this for decision-making, lightweight checks, and coordination — not heavy implementation work.

type: 'complete' — Workflow finished. Report results to the user.

4. Advance

After getting the result (from sub-agent output or your own work):

echo "\x3Cresult summary>" | flowforge advance

Or:

flowforge advance --result "\x3Cresult summary>"

If the node had branches, include Branch: N in the result so the engine knows which path to take.

5. Repeat

Go back to step 2. Loop until type: 'complete'.

Rules

  • spawn = sub-agent. When action type is spawn, use sessions_spawn. Not exec, not a coding CLI, not doing it yourself in the main session.
  • Never skip nodes. Execute every node's task before advancing.
  • Run to completion. Execute all nodes before reporting to the user. If a node spawns a sub-agent, wait for it to finish, then advance.
  • State persists. Workflows survive session restarts. Use flowforge active to resume.
  • Post-run: Record results in your daily log.

Manual Mode

If you prefer step-by-step control instead of the run/advance JSON loop:

flowforge status          # See current task
# ... execute task ...
flowforge next            # Advance (linear node)
flowforge next --branch N # Advance (branching node)

The same spawn rules apply: if the current node has executor: subagent, spawn a sub-agent.

Creating New Workflows

See references/yaml-format.md for the full YAML spec.

name: my-workflow
description: What this workflow does
start: first-node

nodes:
  first-node:
    task: What to do (detailed instructions for the executor)
    executor: subagent    # spawn a sub-agent for this node
    next: second-node

  second-node:
    task: Make a decision based on results
    # executor defaults to 'inline' — agent does it directly
    branches:
      - condition: success
        next: done
      - condition: retry
        next: first-node

  done:
    task: Report results
    terminal: true

Node Fields

  • task (required): Natural language instruction for what to do
  • executor: 'subagent' (spawn) or 'inline' (default, do it yourself)
  • next: Single next node for linear flow
  • branches: Array of {condition, next} for branching
  • terminal: true for end nodes

Troubleshooting

  • "No active instance": Run flowforge start \x3Cworkflow>
  • "Workflow not found": Run flowforge list to see available workflows
  • Wrong node / stuck: Use flowforge reset to restart
  • Sub-agent failed: Check the error, fix the issue, re-run the node or advance manually
安全使用建议
This skill appears to be a coherent workflow-runner, but take these precautions before installing or using it: - Verify the FlowForge CLI package (@kagura-agent/flowforge) before running npm install: inspect the package on the npm registry or its source repository (README, code, publish history). The skill bundle does not include a homepage or source link. - Because the SKILL.md requires a 'flowforge' CLI but the manifest lists no required binary, confirm that the CLI is installed and trustworthy. Prefer installing in a controlled environment (container or VM) first. - Audit any workflow YAMLs you add to workflows/ — workflows contain free-text 'task' fields that the agent will act on; malicious or careless tasks can cause the agent to perform unwanted actions or handle secrets. Never run untrusted workflow files in a privileged environment. - Confirm your agent runtime supports the sessions_spawn API the skill expects (the SKILL.md instructs spawning sub-agents). If the platform doesn't support that, follow a safe fallback policy rather than allowing arbitrary command execution. - Note the local DB path (~/.flowforge/flowforge.db) and reset command (rm -rf ~/.flowforge) are destructive; back up data if needed and avoid blindly following destructive commands. If you want higher assurance, ask the publisher for the FlowForge CLI source repository or package tarball so you can review the code (network calls, telemetry, privileged operations) before installing. If you cannot verify the CLI/package origin, treat the npm install as a higher-risk operation and run it in an isolated environment.
功能分析
Type: OpenClaw Skill Name: agent-flowforge Version: 1.1.0 The 'agent-flowforge' skill provides a structured framework for executing multi-step workflows using an external CLI engine. The instructions in SKILL.md and setup.md describe standard operational procedures, such as installing a global npm package (@kagura-agent/flowforge) and using sub-agents for task delegation. No evidence of malicious intent, data exfiltration, or unauthorized command execution was found across the documentation or example YAML files.
能力评估
Purpose & Capability
Name/description (FlowForge Workflow Engine) align with the SKILL.md (instructions for running YAML-defined workflows). However the registry metadata claims no required binaries while the runtime docs explicitly require a 'flowforge' CLI — that mismatch suggests the manifest is incomplete. Also the skill references an npm package (@kagura-agent/flowforge) in setup.md; that is plausible for this purpose but the package/owner are not declared in registry metadata or linked by homepage/source.
Instruction Scope
The SKILL.md stays on-topic: it instructs the agent to call the flowforge CLI, follow action types, spawn sub-agents for 'subagent' nodes, advance state, and manage workflows. It does not instruct reading unrelated system files or exfiltrating environment variables. It does reference the FlowForge DB location (~/.flowforge/flowforge.db) and CLI commands, which is expected for a local workflow engine.
Install Mechanism
There is no install spec in the skill bundle, but setup.md instructs installing an npm package globally (npm install -g @kagura-agent/flowforge). Installing an external npm package is a moderate risk: the package origin and contents are not linked in the skill metadata (no homepage/source). The use of a global npm install and advice around altering npm global prefix or using sudo are operationally risky and should be verified before running.
Credentials
The skill declares no required env vars or credentials (consistent with a local CLI tool). It does expect a CLI binary on PATH and will create/use a local DB at ~/.flowforge/flowforge.db. That local filesystem access is proportionate for a workflow engine, but the skill does not explicitly limit what workflows might request — workflows themselves can contain arbitrary tasks, so you should audit workflow YAMLs for requests that would touch credentials, network, or other sensitive resources.
Persistence & Privilege
The skill is not always-enabled and does not request special agent-wide privileges. It instructs use of a local DB (~/.flowforge) and persistent workflow files in a workspace 'workflows/' directory, which is consistent with its purpose. The instruction to remove ~/.flowforge to reset state is potentially destructive (expected for a reset operation) and should be used cautiously.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-flowforge
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-flowforge 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
v1.1.0: Skill orchestration — spawn=sessions_spawn. Clear action type mapping: spawn→sub-agent, prompt→direct, complete→done. Never execute spawn tasks in main session.
元数据
Slug agent-flowforge
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

FlowForge Workflow Engine 是什么?

Run structured multi-step workflows via FlowForge engine. Use when user requests step-by-step execution, structured workflows, or when a task needs enforced... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 111 次。

如何安装 FlowForge Workflow Engine?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-flowforge」即可一键安装,无需额外配置。

FlowForge Workflow Engine 是免费的吗?

是的,FlowForge Workflow Engine 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

FlowForge Workflow Engine 支持哪些平台?

FlowForge Workflow Engine 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 FlowForge Workflow Engine?

由 kagura-agent(@kagura-agent)开发并维护,当前版本 v1.1.0。

💬 留言讨论