New to Claude Skills? Learn how to install them →

Wruvnet on GitHub

Workflow Create

Free

Easily author workflows for varied tasks.

by ruvnet67.6k stars on ruvnet/ruflo
1 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Workflow Create does

Workflow Create is a powerful tool designed for developers and designers to create workflows tailored to their specific needs. This skill provides two surfaces for workflow creation: the MCP workflow template and the native .claude JavaScript orchestration script. Each surface caters to different use cases, allowing users to choose the most appropriate method for their workflow requirements.

The MCP workflow template is ideal for long-lived, human-gated processes that require a pause/resume lifecycle. Users can define workflows with sequential and parallel steps, conditional branching, and even inherit templates for more complex scenarios. This structured approach ensures that workflows are not only efficient but also manageable over time. Users can easily list available templates, create new workflows, monitor their status, and clean up unused workflows as needed.

On the other hand, the native .claude workflow scripting option allows for more imperative orchestration. This method is particularly useful for comprehensive tasks that require fan-out capabilities, such as reviews, audits, or migrations. By writing JavaScript files that follow specific rules, users can leverage hooks for spawning subagents, running tasks in parallel, and processing items through various stages of execution. This flexibility makes it suitable for developers looking to create dynamic and responsive workflows.

Overall, Workflow Create is tailored for those who need to automate and orchestrate complex tasks efficiently. Whether you're managing long-term projects with the MCP workflow template or executing detailed scripts with the native JavaScript option, this skill provides the necessary tools to streamline your workflow processes.

When to use it

Use this skill when you need to create structured workflows for automation, whether through templates or JavaScript scripts.

When not to use it

This skill may not be suitable for simple task automation that doesn't require the complexity of workflows or for users unfamiliar with JavaScript.

What you can build with it

Creating a Long-Term Workflow

Use an MCP workflow template to define a project that requires human approval at various stages, allowing for pauses and resumption as needed.

Executing a Complex Task

Write a JavaScript workflow to handle a multi-step process that requires parallel execution of subagents, such as data verification or migration.

Managing Workflow Lifecycles

Utilize the workflow management functions to list, monitor, and delete workflows, ensuring efficient use of resources.

How to install Workflow Create

View source

1. Install with the skills CLI

npx skills add ruvnet/ruflo/workflow-create --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by ruvnet

Workflow Create

Author a workflow on whichever surface fits the job.

Pick a surface

  • MCP workflow template — a persisted definition with a pause/resume lifecycle. Use for long-lived, human-gated, resumable pipelines.
  • Native .claude/workflows/*.js — an imperative orchestration script that fans subagents out. Use for comprehensive fan-out (review, audit, migration, research) where you aggregate structured results in code.

A — MCP workflow template

  1. List templates — call mcp__plugin_ruflo-core_ruflo__workflow_template to see available templates
  2. Create workflow — call mcp__plugin_ruflo-core_ruflo__workflow_create with steps, conditions, and execution order
  3. List workflows — call mcp__plugin_ruflo-core_ruflo__workflow_list to see all defined workflows
  4. Check status — call mcp__plugin_ruflo-core_ruflo__workflow_status to monitor a workflow
  5. Clean up — call mcp__plugin_ruflo-core_ruflo__workflow_delete to remove unused workflows

Features: sequential/parallel steps, conditional branching, template inheritance, pause/resume approval gates.

B — Native .claude/workflows/*.js

Write a .js file under .claude/workflows/. It MUST begin with a pure-literal export const meta block; the body runs inside an async wrapper (top-level await/return are legal) with these hooks injected:

HookPurpose
agent(prompt, opts)Spawn one subagent; pass opts.schema (JSON Schema) to get validated structured output back
parallel(thunks)Run thunks concurrently with a barrier.filter(Boolean) the results
pipeline(items, ...stages)Stream each item through stages independently — prefer this over a barrier
phase(title) / log(msg)Progress grouping / narration
export const meta = {
  name: 'my-workflow',                 // becomes the invocable name — must be a pure literal
  description: 'one line',
  phases: [{ title: 'Find' }, { title: 'Verify' }],
}
const SCHEMA = { type: 'object', required: ['ok'], properties: { ok: { type: 'boolean' } }, additionalProperties: false }
phase('Find')
const found = await agent('find the things', { schema: SCHEMA, agentType: 'tester' })
phase('Verify')
const checked = await parallel((found.items || []).map((it) => () =>
  agent(`verify ${it}`, { schema: SCHEMA })))
return { found, checked: checked.filter(Boolean) }

Rules: meta is a pure literal (no variables/calls/interpolation); default to pipeline over parallel; never use Date.now()/Math.random() (they throw — vary by index instead). Validate syntax (the body is ESM-in-async-wrapper, not a bare module):

node -e 'const fs=require("fs");let s=fs.readFileSync(".claude/workflows/my-workflow.js","utf8").replace(/^export\s+const\s+meta/m,"const meta");fs.writeFileSync("/tmp/wf.mjs","let agent,parallel,pipeline,phase,log,args,budget,workflow;async function __wf(){\n"+s+"\n}")' \
  && node --check /tmp/wf.mjs && echo OK

Run it with the workflow-run skill or Workflow({ name: 'my-workflow' }). Reference: .claude/workflows/plugin-contract-audit.js. See ADR-0002.

Frequently asked questions about Workflow Create

Similar skills