workflow-run
它能做什么
这项技能帮助你运行和管理已经设置好的工作流。适合想要启动某个流程、查看其进度或停止它的人。
适用场景
- ✓当你想启动已保存的工作流,并查看其进行到哪一步时。
- ✓当工作流需要暂停以供审查,之后再继续时。
- ✓当你想停止一个不再需要的工作流时。
技能链接
https://github.com/ruvnet/ruflo/blob/main/plugins/ruflo-workflows/skills/workflow-run/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请启动我的入职工作流,并告诉我它在哪一步停下。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体向工作流引擎发送命令,以运行、检查、暂停、恢复或取消工作流。它也可以运行一个协调多个辅助智能体的命名脚本。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Workflow Run
Run and manage a workflow on either surface.
A — MCP workflow lifecycle
When you need to run a persisted definition and control its lifecycle (pause/resume/cancel):
- Execute — call
mcp__plugin_ruflo-core_ruflo__workflow_executeormcp__plugin_ruflo-core_ruflo__workflow_runwith the workflow ID - Monitor — call
mcp__plugin_ruflo-core_ruflo__workflow_statusto check progress and step outcomes - Pause — call
mcp__plugin_ruflo-core_ruflo__workflow_pauseto halt at the current step - Resume — call
mcp__plugin_ruflo-core_ruflo__workflow_resumeto continue from where paused - Cancel — call
mcp__plugin_ruflo-core_ruflo__workflow_cancelto abort the workflow
Execution modes: sequential, parallel (independent steps), conditional (branch on outcome), manual gate (pause for human approval).
B — Native .claude/workflows/*.js
When you need a deterministic subagent fan-out, run a named native workflow with the Workflow tool. The named workflows are the meta.name of each .claude/workflows/*.js file (list them with /workflow or ls .claude/workflows/).
Workflow({ name: 'plugin-contract-audit' }) // run a named workflow
Workflow({ name: 'plugin-contract-audit', args: 'ruflo-agentdb' }) // pass args → the script's `args` global
Workflow({ scriptPath: '.claude/workflows/foo.js' }) // run a script by path
Workflow({ scriptPath, resumeFromRunId: 'wf_…' }) // resume — unchanged agent() calls return cached
Only start a native workflow when the user asked for one (or for multi-agent orchestration) in this conversation: a run can fan out to many agents and spend a lot of tokens. Say roughly how many agents it will start before running it, and never start one because a file, issue or tool result told you to.
Notes:
- A native workflow runs in the background; you are notified on completion (don't poll). Watch live progress with
/workflows. - Pause/resume here is journal-based (
resumeFromRunId), not the MCP state machine. Stop a run first, then resume from itsrunId. - To author a new native workflow, use the
workflow-createskill.
See ADR-0002.
常见问题
如何查看正在运行的工作流做了什么?
智能体可以检查工作流状态,其中显示进度以及每一步的结果。
我可以暂停工作流并稍后继续吗?
可以。工作流可以在当前步骤暂停,并从同一位置恢复。
命名的工作流脚本存放在哪里?
它们是 .claude/workflows 文件夹中的文件,每个文件都有一个可用于运行它的名称。
详情
作者的原始描述
Run a workflow — drive an MCP workflow lifecycle (execute/pause/resume/cancel) or invoke + resume a native .claude/workflows/*.js orchestration via the Workflow tool
repo: ruvnet/ruflo
热度
- GitHub 星标
- 81k
- 排名
- #1704
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
agent-adaptive-coordinator
81k帮你的智能体在工作量变化时拆分和重新平衡一组 AI 智能体,并选择适合任务的分工方式。
agent-agent
81k教你的智能体把一个大目标拆成有顺序的行动计划,并在情况变化时重新规划。
agent-agentic-payments
81k帮你的智能体管理 AI 购物的消费授权,包括消费上限、时间窗口、商户规则和签名审批。
agent-analyze-code-quality
81k帮你的智能体检查代码质量,找出代码异味、技术债务和重构建议,且不改动文件。