Skip to content

Run agency-orchestrator YAML workflows inside Claude Code, OpenClaw, or Cursor, with no API key needed.

CCM score
68 of 100
skills.sh installs
961
GitHub stars
8.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers parsing YAML workflow files, collecting inputs, building a dependency-ordered execution plan, and running each step as a named role
  • Includes role-file lookup across several agent directories, template variable rendering, and per-step output saved under .ao-output/
  • Enforces reading each role's .md file before executing it, and halts with install guidance when role directories are missing
  • Designed for multi-role collaboration tasks, such as a product manager and architect reviewing a PRD together

Install

$ npx -y skills add jnmetacode/superpowers-zh --skill workflow-runner -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

工作流执行器:在 AI 工具内运行多角色编排

直接在当前会话中执行 agency-orchestrator 的 YAML 工作流,无需配置 API key。当前 LLM 就是执行引擎——依次扮演每个角色完成任务。

适用场景

  • 用户提供了一个 .yaml 工作流文件(如 运行 workflows/story-creation.yaml)
  • 用户要求多个角色协作完成任务(如"用产品经理和架构师一起评审这个 PRD")
  • 用户安装了 agency-agents-zh 并希望直接在 AI 工具内编排多角色

执行流程(5 步)

按以下顺序执行,不要跳步:

第 1 步:解析工作流

用 Read 工具读取用户指定的 YAML 文件,提取以下字段:

name: "工作流名称"
agents_dir: "agency-agents-zh"    # 角色定义目录
inputs:                            # 输入变量
  - name: xxx
    required: true/false
    default: "默认值"
steps:                             # 执行步骤
  - id: step_id
    role: "category/agent-name"    # 角色路径
    task: "任务描述 {{变量}}"       # 支持模板变量
    output: variable_name          # 输出变量名
    depends_on: [other_step_id]    # 依赖关系

忽略 llm、concurrency、timeout、retry 配置——Skill 模式使用当前会话的 LLM,这些字段仅用于 CLI 模式。

定位角色目录:用 Bash test -d 按以下顺序检查,用第一个存在的:

  1. 当前工作目录下的 {agents_dir}/(如 ./agency-agents-zh/)
  2. ../{agents_dir}/(上级目录)
  3. 相对于 YAML 文件所在目录的 {agents_dir}/
  4. node_modules/agency-agents-zh/

如果全部找不到,停止执行并提示用户:

找不到角色目录。请先安装:
  git clone --depth 1 https://github.com/jnMetaCode/agency-agents-zh.git
  或:npm install agency-agents-zh

第 2 步:收集输入

Details

Repository
github.com/jnmetacode/superpowers-zh
Categories
Agent Workflow & Planning, Workflow Automation
First seen
Jun 3, 2026

Questions

What does the workflow-runner skill do?

workflow-runner runs agency-orchestrator YAML workflows directly inside Claude Code, OpenClaw or Cursor. The current session's LLM acts as the execution engine, playing each role in turn, so no API key is needed.

When should I use workflow-runner?

Use workflow-runner when you have a .yaml workflow file to run, or when you want several roles, such as a product manager and an architect, to work together on one task. It can also generate a workflow from your description when no YAML file exists.

How do I install workflow-runner?

Run npx -y skills add jnmetacode/superpowers-zh --skill workflow-runner -y in your project. It needs the agency-agents-zh role directory, which you can get by cloning its repository or installing it from npm.

Where does workflow-runner save its results?

workflow-runner writes each step's output to an .ao-output folder named after the workflow and date. The folder holds per-step files, a summary.md with the final result, and a metadata.json file.

More from jnmetacode/superpowers-zh

All 20

Similar to Workflow Runner

More Agent Workflow & Planning