agent-workflow-designer
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.
Overview
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.
Source: https://github.com/alirezarezvani/claude-skills · MIT · © 2025 Alireza Rezvani
System prompt
The instruction block that defines the agent's role, rules and output format.
# 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 skeleton
python3 scripts/workflow_scaffolder.py sequential --name content-pipeline
# Generate an orchestrator workflow and save it
python3 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. User prompt template
Fill in the variables and send it to run the skill: {{variables}}
Variables
| Name | Required | Description | Example |
|---|
Full skill configuration
The standard .aiskill file in JSON and YAML.
{
"format": "aiskill/v1",
"skill": {
"name": "agent-workflow-designer",
"slug": "agent-workflow-designer",
"version": "1.0.0",
"description": "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.",
"category": "Development",
"tags": [
"ai-agents",
"llm",
"agents"
],
"platforms": [
"chatgpt",
"claude-code",
"cursor"
],
"tested_environment": "Agent Skills convention (SKILL.md) — works with Claude Code, Cursor, ChatGPT/Codex and compatible agents",
"license": "MIT"
},
"prompts": {
"system": "# Agent Workflow Designer\r\n\r\n**Tier:** POWERFUL \r\n**Category:** Engineering \r\n**Domain:** Multi-Agent Systems / AI Orchestration\r\n\r\n---\r\n\r\n## Overview\r\n\r\nDesign production-grade multi-agent workflows with clear pattern choice, handoff contracts, failure handling, and cost/context controls.\r\n\r\n## Core Capabilities\r\n\r\n- Workflow pattern selection for multi-step agent systems\r\n- Skeleton config generation for fast workflow bootstrapping\r\n- Context and cost discipline across long-running flows\r\n- Error recovery and retry strategy scaffolding\r\n- Documentation pointers for operational pattern tradeoffs\r\n\r\n---\r\n\r\n## When to Use\r\n\r\n- A single prompt is insufficient for task complexity\r\n- You need specialist agents with explicit boundaries\r\n- You want deterministic workflow structure before implementation\r\n- You need validation loops for quality or safety gates\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n```bash\r\n# Generate a sequential workflow skeleton\r\npython3 scripts/workflow_scaffolder.py sequential --name content-pipeline\r\n\r\n# Generate an orchestrator workflow and save it\r\npython3 scripts/workflow_scaffolder.py orchestrator --name incident-triage --output workflows/incident-triage.json\r\n```\r\n\r\n---\r\n\r\n## Pattern Map\r\n\r\n- `sequential`: strict step-by-step dependency chain\r\n- `parallel`: fan-out/fan-in for independent subtasks\r\n- `router`: dispatch by intent/type with fallback\r\n- `orchestrator`: planner coordinates specialists with dependencies\r\n- `evaluator`: generator + quality gate loop\r\n\r\nDetailed templates: `references/workflow-patterns.md`\r\n\r\n---\r\n\r\n## Recommended Workflow\r\n\r\n1. Select pattern based on dependency shape and risk profile.\r\n2. Scaffold config via `scripts/workflow_scaffolder.py`.\r\n3. Define handoff contract fields for every edge.\r\n4. Add retry/timeouts and output validation gates.\r\n5. Dry-run with small context budgets before scaling.\r\n\r\n---\r\n\r\n## Common Pitfalls\r\n\r\n- Over-orchestrating tasks solvable by one well-structured prompt\r\n- Missing timeout/retry policies for external-model calls\r\n- Passing full upstream context instead of targeted artifacts\r\n- Ignoring per-step cost accumulation\r\n\r\n## Best Practices\r\n\r\n1. Start with the smallest pattern that can satisfy requirements.\r\n2. Keep handoff payloads explicit and bounded.\r\n3. Validate intermediate outputs before fan-in synthesis.\r\n4. Enforce budget and timeout limits in every step.",
"user_template": ""
},
"variables": [],
"install": {
"steps": [
{
"title": "Download & unzip",
"detail": "Download the .zip package from SkillVault and unzip it. The agent-workflow-designer/ folder contains SKILL.md plus any companion scripts, references and assets."
},
{
"title": "Copy into your agent skills directory",
"detail": "Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code), .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or reload the session."
},
{
"title": "Use it",
"detail": "Describe the task in natural language; the agent loads the skill automatically when the request matches the skill description."
}
]
},
"usage": {
"steps": []
},
"metadata": {
"author": "SkillVault",
"source": "https://skillvault.top/skills/agent-workflow-designer",
"exported_at": "2026-11-03T06:35:53.662Z"
}
} format: aiskill/v1
skill:
name: agent-workflow-designer
slug: agent-workflow-designer
version: 1.0.0
description: >-
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.
category: Development
tags:
- ai-agents
- llm
- agents
platforms:
- chatgpt
- claude-code
- cursor
tested_environment: >-
Agent Skills convention (SKILL.md) — works with Claude Code, Cursor, ChatGPT/Codex and
compatible agents
license: MIT
prompts:
system: "# Agent Workflow Designer\r\n\r\n**Tier:** POWERFUL \r\n**Category:** Engineering \r\n**Domain:** Multi-Agent Systems / AI Orchestration\r\n\r\n---\r\n\r\n## Overview\r\n\r\nDesign production-grade multi-agent workflows with clear pattern choice, handoff contracts, failure handling, and cost/context controls.\r\n\r\n## Core Capabilities\r\n\r\n- Workflow pattern selection for multi-step agent systems\r\n- Skeleton config generation for fast workflow bootstrapping\r\n- Context and cost discipline across long-running flows\r\n- Error recovery and retry strategy scaffolding\r\n- Documentation pointers for operational pattern tradeoffs\r\n\r\n---\r\n\r\n## When to Use\r\n\r\n- A single prompt is insufficient for task complexity\r\n- You need specialist agents with explicit boundaries\r\n- You want deterministic workflow structure before implementation\r\n- You need validation loops for quality or safety gates\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\n```bash\r\n# Generate a sequential workflow skeleton\r\npython3 scripts/workflow_scaffolder.py sequential --name content-pipeline\r\n\r\n# Generate an orchestrator workflow and save it\r\npython3 scripts/workflow_scaffolder.py orchestrator --name incident-triage --output workflows/incident-triage.json\r\n```\r\n\r\n---\r\n\r\n## Pattern Map\r\n\r\n- `sequential`: strict step-by-step dependency chain\r\n- `parallel`: fan-out/fan-in for independent subtasks\r\n- `router`: dispatch by intent/type with fallback\r\n- `orchestrator`: planner coordinates specialists with dependencies\r\n- `evaluator`: generator + quality gate loop\r\n\r\nDetailed templates: `references/workflow-patterns.md`\r\n\r\n---\r\n\r\n## Recommended Workflow\r\n\r\n1. Select pattern based on dependency shape and risk profile.\r\n2. Scaffold config via `scripts/workflow_scaffolder.py`.\r\n3. Define handoff contract fields for every edge.\r\n4. Add retry/timeouts and output validation gates.\r\n5. Dry-run with small context budgets before scaling.\r\n\r\n---\r\n\r\n## Common Pitfalls\r\n\r\n- Over-orchestrating tasks solvable by one well-structured prompt\r\n- Missing timeout/retry policies for external-model calls\r\n- Passing full upstream context instead of targeted artifacts\r\n- Ignoring per-step cost accumulation\r\n\r\n## Best Practices\r\n\r\n1. Start with the smallest pattern that can satisfy requirements.\r\n2. Keep handoff payloads explicit and bounded.\r\n3. Validate intermediate outputs before fan-in synthesis.\r\n4. Enforce budget and timeout limits in every step."
user_template: ""
variables: []
install:
steps:
- title: Download & unzip
detail: >-
Download the .zip package from SkillVault and unzip it. The agent-workflow-designer/ folder
contains SKILL.md plus any companion scripts, references and assets.
- title: Copy into your agent skills directory
detail: >-
Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code),
.codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or
reload the session.
- title: Use it
detail: >-
Describe the task in natural language; the agent loads the skill automatically when the
request matches the skill description.
usage:
steps: []
metadata:
author: SkillVault
source: https://skillvault.top/skills/agent-workflow-designer
exported_at: "2026-11-03T06:35:53.662Z"
Installation guide
- 1
Download & unzip
Download the .zip package from SkillVault and unzip it. The agent-workflow-designer/ folder contains SKILL.md plus any companion scripts, references and assets.
- 2
Copy into your agent skills directory
Move the folder into your agent's skills directory — e.g. ~/.claude/skills/ (Claude Code), .codex/skills/, .cursor/skills/ or your project's .claude/skills/ folder — then restart or reload the session.
- 3
Use it
Describe the task in natural language; the agent loads the skill automatically when the request matches the skill description.
How to use
Platform compatibility
ChatGPT GPTs
OpenAI
Paste the system prompt into the GPT "Instructions" field and keep the user template as your starter message.
Official docsClaude Code
Anthropic
Save the exported .aiskill JSON as a skill file in your project or paste the system prompt into CLAUDE.md / a slash-command markdown file.
Official docsCursor
Anysphere
Copy the system prompt into .cursor/rules/*.mdc (or Project Rules in Settings) and reference the user template in your agent prompts.
Official docsRelated skills
rag-architect
Use when the user asks to design a RAG pipeline, choose a chunking strategy or embedding model, pick a vector database, or evaluate retrieval quality (precision@k, recall@k, NDCG). Examples: 'design a RAG system for our docs', 'what chunk size should I use for this corpus', 'evaluate my retriever against ground truth'. NOT for general LLM cost tuning (use llm-cost-optimizer) or agent loops over retrieval (use agenthub).
senior-prompt-engineer
Use when the user asks to optimize prompts, design prompt templates, evaluate LLM outputs with an eval set, measure RAG retrieval quality, validate agent/tool configurations, analyze token usage, or design structured-output contracts. Covers eval-driven prompt iteration, RAG metrics (relevance, faithfulness, coverage), agent workflow validation, and token/cost budgeting — all model-agnostic, with three stdlib Python tools.
agent-designer
Use when the user asks to design a multi-agent system, pick an orchestration pattern (supervisor/swarm/pipeline), generate tool schemas for agents, or evaluate agent execution logs for cost, latency, and failure bottlenecks. Examples: 'design an agent architecture for research automation', 'generate Anthropic tool schemas from these tool descriptions', 'analyze these agent run logs for bottlenecks'. NOT for Claude Code workflow files (use workflow-builder) or single-agent prompt design (use agent-workflow-designer).