Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-workflow-designer

БесплатноЗапускает вложенные скриптыНе проверен

Designs multi-agent workflow DAGs (routing, hand-offs, state, retries) and validates and costs them before build. Use when planning a pipeline of specialised…

borgheiот borghei★ 1 250 звёзд на GitHub

Об этом скилле

Agent Workflow Designer

The agent designs multi-agent orchestration systems using five core patterns: sequential pipeline, parallel fan-out/fan-in, hierarchical delegation, event-driven reactor, and consensus validation. It implements agent routing strategies, circuit breaker reliability patterns, context window budgeting, and cost optimization across LangGraph, CrewAI, AutoGen, and Claude Code agent teams.

Core Capabilities

  • Pattern selection & design — sequential pipelines, parallel fan-out/fan-in, hierarchical delegation, event-driven reactors, consensus validation
  • Agent routing — intent-based, skill-based, cost-aware, load-balanced, and fallback-chain routing
  • State & context management — persistent workflow state, context budgeting, checkpoint/resume, conflict resolution
  • Reliability engineering — circuit breakers, retry with backoff, dead letter queues, timeout enforcement, idempotency

When to Use

  • Building multi-step AI pipelines that exceed one agent's capability
  • Parallelizing research, analysis, or generation tasks
  • Creating specialist agent teams with defined roles and contracts
  • Designing fault-tolerant AI workflows for production deployment
  • Optimizing cost across workflows with mixed model tiers

Clarify First

Before designing the workflow, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.

  • Workflow topology: linear, parallel, tree/delegation, reactive, or consensus (selects which of the five orchestration patterns).
  • Framework target: LangGraph, CrewAI, AutoGen, or Claude agent teams (determines the implementation code emitted).
  • Reliability & cost constraints: failure tolerance and budget (drives circuit breakers, retries, timeouts, and model-tier routing).

Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.

Pattern Selection Decision Tree

What does the workflow look like?
│
├─ Linear: step A feeds step B feeds step C
│  └─ SEQUENTIAL PIPELINE
│     Best for: content pipelines, code review chains, data transformation
│
├─ Parallel: N independent tasks, then combine
│  └─ FAN-OUT / FAN-IN
│     Best for: competitive research, multi-source analysis, parallel code gen
│
├─ Tree: orchestrator breaks work into subtasks dynamically
│  └─ HIERARCHICAL DELEGATION
│     Best for: complex projects, open-ended research, code generation with planning
│
├─ Reactive: agents respond to events/triggers
│  └─ EVENT-DRIVEN REACTOR
│     Best for: monitoring, alerting, continuous integration, chat workflows
│
└─ Verification: multiple agents must agree on output
   └─ CONSENSUS VALIDATION
      Best for: high-stakes decisions, code review, fact checking, safety-critical output

Reference Documentation

Load the reference that matches the task — keep this file lean and pull detail on demand:

  • references/orchestration-patterns.md — full implementations of all five patterns (LangGraph sequential pipeline, async fan-out/fan-in, hierarchical orchestrator with dependency batching, event bus, consensus validation). Read after picking a topology from the decision tree.
  • references/routing-and-cost.md — intent-based router, context window budgeting (ContextBudget), and the cost optimization matrix. Read when deciding how requests reach agents and how to control spend.
  • references/reliability-and-troubleshooting.md — circuit breaker, common pitfalls, best practices, troubleshooting table, and success criteria. Read when hardening for production or diagnosing failures.
  • references/subagent-scoping-and-orchestration.md — when to split work into scoped subagents vs one loop; scoping a subagent (minimal tool allow-list, focused instructions, isolated context, return contract); the lead→parallel-specialists→merge pattern on a shared workspace; failure isolation/retries; and multi-agent vs single-agent cost/latency tradeoffs. Read when designing a lead that delegates to specialist subagents.

Quick Start Workflow

Design time only: these tools check and price a workflow file; they run no agents. To track a live multi-agent run (spawned agents, a board, ranked results) use engineering/agenthub, which reads its own agents/dependencies format rather than the steps/depends_on format below.

# 1. Validate the DAG: cycles, missing dependencies, unreachable steps, dead ends, duplicate ids
python3 scripts/workflow_validator.py assets/sample_workflow.json            # exit 0, VALID
python3 scripts/workflow_validator.py assets/sample_workflow_flawed.json     # exit 1, 4 errors

# 2. Draw it (Mermaid) with
Полный SKILL.md на GitHub

Установить agent-workflow-designer в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

assets/sample_multi_agent_design.jsonassets/sample_prices.jsonassets/sample_workflow.jsonassets/sample_workflow_flawed.jsonreferences/orchestration-patterns.mdreferences/reliability-and-troubleshooting.mdreferences/routing-and-cost.mdreferences/subagent-scoping-and-orchestration.mdscripts/cost_estimator.pyscripts/multi_agent_cost_estimator.pyscripts/workflow_validator.pyscripts/workflow_visualizer.py

FAQ

Что делает скилл agent-workflow-designer?

Designs multi-agent workflow DAGs (routing, hand-offs, state, retries) and validates and costs them before build. Use when planning a pipeline of specialised agents, fan-out/fan-in, or a lead with subagents.

Как установить скилл agent-workflow-designer?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-workflow-designer запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить agent-workflow-designer с