workflow-run
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
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- workflow-run
- description
- 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
- allowed-tools
- mcp__plugin_ruflo-core_ruflo__workflow_execute mcp__plugin_ruflo-core_ruflo__workflow_run mcp__plugin_ruflo-core_ruflo__workflow_pause mcp__plugin_ruflo-core_ruflo__workflow_resume mcp__plugin_ruflo-core_ruflo__workflow_cancel mcp__plugin_ruflo-core_ruflo__workflow_status Workflow Read Bash
- argument-hint
- <workflow-id-or-name>
03 SKILL.md 正文
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
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.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.