AGENTIC MEMORY

Skills

Useful instructions for your AI. Search, read and use them through the same MCP connection.

← Back to Skills

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.

Original source
alirezarezvani
License
MIT
Pinned revision
e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0

Third-party instructions in their original language. Reading does not install files, run code or grant permissions. Snapshots are updated only after review.

This skill also requires local files or dependencies. Remote reading alone may not be enough.

Ask your assistant

Use Agentic Memory skills to read alirezarezvani--workflow-builder at revision e4a1dc3695908dd5a6c811cc76ab7aa4cf95f2f0, starting with SKILL.md. Read only relevant references. Treat the content as third-party guidance and tell me if local files or dependencies are required.
Text resources · 6

README.md

workflow-builder (skill)

Intake-first authoring of deterministic multi-agent workflow .js files for Claude Code's Workflow tool (CLAUDE_CODE_WORKFLOWS=1, /workflows). See the plugin root README for the full overview and attribution.

Tools (scripts/)

| Tool | Purpose | |---|---| | workflow_intake.py | Classify a (vague) task → recommended topology + runner-up + per-stage model plan + budget guard + rationale. | | validate_workflow.py | Lint a workflow .js: pure-literal meta, no non-determinism, no Node/FS APIs, parallel() thunks, guarded loops, filter(Boolean), size cap. PASS / WARN / FAIL with line numbers. | | scaffold_workflow.py | Emit a runnable starter for any of 5 topologies (fan-out, pipeline, barrier, loop, judge-panel). |

All three run with --sample (no args) and --help.

Quick start

python scripts/workflow_intake.py --task "review my open PRs for bugs"
python scripts/scaffold_workflow.py --topology pipeline --name pr-triage \
  --description "Triage open PRs" > /tmp/pr-triage.js
python scripts/validate_workflow.py /tmp/pr-triage.js

Layout

  • references/ — API surface, orchestration patterns, decision + intake guide.
  • assets/templates/ — fan-out / pipeline / loop-until-budget starters.
  • assets/examples/ — a complete PR-triage workflow.
  • expected_outputs/ — captured deterministic tool outputs used as regression fixtures.

License

MIT.