代理工作流设计器
- 作者仓库星标 15,974
- 作者仓库 claude-skills
- 领域
- 设计与多媒体
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 88 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @alirezarezvani · 未声明许可证
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
# 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
# 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.
章节与文件索引
按说明文件中的顺序排列。
概述
核心能力
何时使用
图案图
推荐工作流程
文件/命令 -> sequential · parallel · router · orchestrator · evaluator · references/workflow-patterns.md · scripts/workflow_scaffolder.py
内容校验值 -> e85adb0994b8
当前原文的自动摘译,尚未人工审校。
概述
设计具有清晰模式选择、切换合同、故障处理和成本/上下文控制的生产级多代理工作流程。
核心能力
多步骤代理系统的工作流程模式选择 用于快速工作流程引导的骨架配置生成 长期运行流程中的上下文和成本规则 错误恢复和重试策略脚手架 用于操作模式权衡的文档指针
何时使用
单个提示不足以应对任务复杂性 您需要具有明确边界的专业代理 您需要在实施之前确定确定的工作流程结构 您需要质量或安全门的验证循环
图案图
sequential:严格的逐步依赖链parallel:独立子任务的扇出/扇入router:按意图/类型分派并回退orchestrator:规划器协调具有依赖关系的专家evaluator:生成器+质量门循环推荐工作流程
根据依赖性形状和风险状况选择模式。 Scaffold config via
scripts/workflow_scaffolder.py. Define handoff contract fields for every edge. Add retry/timeouts and output validation gates.在扩展之前以较小的上下文预算进行试运行。