Agent Workflow Designer

alirezarezvani/claude-skills/engineering/skills/agent-workflow-designer

by alirezarezvani19392f7a0826No license27K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 5 weeks ago

Design production-grade multi-agent workflows with clear pattern choice (sequential, parallel, hierarchical), handoff contracts, failure handling, and cost/context controls. Use when architecting a multi-step agent pipeline, choosing between single-agent vs multi-agent approaches, or refactoring an LLM workflow that suffers from context bloat or unreliable handoffs.

Includes scriptsAI & Agents
AI-generated overview

Designs multi-agent LLM workflows with pattern selection, handoff contracts, failure handling and cost controls.

What it does
This skill guides the design of production-grade multi-agent workflows, covering pattern choice among sequential, parallel, router, orchestrator and evaluator structures. It scaffolds workflow configuration files through a bundled Python script and defines handoff contract fields, retry and timeout policies, and output validation gates. It also documents context and cost discipline for long-running flows, plus common pitfalls and best practices.
When to use it
Use it when a single prompt is not enough for task complexity, when specialist agents with explicit boundaries are needed, or when refactoring an LLM workflow that suffers from context bloat or unreliable handoffs. It also fits teams that want a deterministic workflow structure defined before implementation.
Requirements
Requires a Python 3 runtime to run the bundled script scripts/workflow_scaffolder.py. The reference file references/workflow-patterns.md is read by the agent. No credentials or network access are described.

Agent Workflow Designer

Tier: POWERFUL
Category: Engineering
Domain: Multi-Agent Systems / AI Orchestration


Overview

Design production-grade multi-agent workflows with clear pattern choice, handoff contracts, failure handling, and cost/context controls.

Core Capabilities

  • Workflow pattern selection for multi-step agent systems
  • Skeleton config generation for fast workflow bootstrapping
  • Context and cost discipline across long-running flows
  • Error recovery and retry strategy scaffolding
  • Documentation pointers for operational pattern tradeoffs

When to Use

  • A single prompt is insufficient for task complexity
  • You need specialist agents with explicit boundaries
  • You want deterministic workflow structure before implementation
  • You need validation loops for quality or safety gates

Quick Start

bash
# Generate a sequential workflow skeletonpython3 scripts/workflow_scaffolder.py sequential --name content-pipeline
# Generate an orchestrator workflow and save itpython3 scripts/workflow_scaffolder.py orchestrator --name incident-triage --output workflows/incident-triage.json

Pattern Map

  • sequential: strict step-by-step dependency chain
  • parallel: fan-out/fan-in for independent subtasks
  • router: dispatch by intent/type with fallback
  • orchestrator: planner coordinates specialists with dependencies
  • evaluator: generator + quality gate loop

Detailed templates: references/workflow-patterns.md


Recommended Workflow

  1. Select pattern based on dependency shape and risk profile.
  2. Scaffold config via scripts/workflow_scaffolder.py.
  3. Define handoff contract fields for every edge.
  4. Add retry/timeouts and output validation gates.
  5. Dry-run with small context budgets before scaling.

Common Pitfalls

  • Over-orchestrating tasks solvable by one well-structured prompt
  • Missing timeout/retry policies for external-model calls
  • Passing full upstream context instead of targeted artifacts
  • Ignoring per-step cost accumulation

Best Practices

  1. Start with the smallest pattern that can satisfy requirements.
  2. Keep handoff payloads explicit and bounded.
  3. Validate intermediate outputs before fan-in synthesis.
  4. Enforce budget and timeout limits in every step.

Source and attribution

Source:alirezarezvani/claude-skillsinengineering/skills/agent-workflow-designerat commit19392f7

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal