Agent skill · software engineering · alirezarezvani
workflow-builder
Use when writing or running a Claude Code Workflow-tool script (.js in .claude/workflows/) for fan-out, pipeline, loop or judge-panel sub-agents. Gathers intent with workflow_intake.py, scaffolds with scaffold_workflow.py and validates with validate_workflow.py.
Why this skill is useful
Adds executable scripts for building and validating multi-agent workflows that automate complex tasks, which the AI cannot generate on its own.
What it needs
Requires python installed locally. About 3k tokens when loaded. Last updated 2026-08-05. 23,939 stars on the source repository.
What this skill does
Workflow Builder Author runnable workflow scripts for Claude Code's Workflow tool: deterministic multi-agent orchestration files (.js) that fan work out to fresh-context sub-agents under plain JavaScript control flow. Only leaf agent() calls spend tokens, so the main session stays clean and the whole run is resumable. ALWAYS start every session with intake (non-negotiable) Before proposing or writing any workflow, run the intake. Do not skip to code. 1. Ask what kind of workflow they want. Use this opening question set: What repeatable, multi-step task do you want to automate? What is the one unit of work a single sub-agent does once? How many units — a known list, or discovered by looping? Do later steps need all prior results at once, or can each item flow on its own? Does any step need structured data back (a verdict, a list, scores)? Roughly how many tokens / how deep should it go? 2. If the user is vague, do NOT stall. Run the recommendation engine to turn whatever you have into 1-2 concrete proposals, then present them with the reasoning: The engine returns a recommended topology (fan-out / pipeline / loop / barrier / judge-panel), model picks, a budget guard, and a one-line rationale per choice. Present those as "Here's what I'd build and why" — never ask the user to re-answer questions they already half-answered. 3. Confirm the shape with the user (topology + phases + parallel-vs-pipeline) before writing the file. This is the only approval gate. See references/decisionandintakeguide.md for the full question framework, the vague-input playbook, and worked recommendation examples. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills alirezarezvani/workflow-builder--547ec4