返回顶部
a

agent-conductor子代理编排

Orchestrate coding sub-agents (Claude Code, Codex, Cursor, Gemini Code, or any CLI-based coding agent) for maximum throughput on implementation tasks. Use when: (1) writing or modifying code files, (2) running scripts or data pipelines, (3) batch processing large datasets, (4) multi-stage workflows requiring parallel execution. Covers agent-agnostic dispatch templates, task decomposition, parallel coordination, and acceptance criteria. NOT for: simple file reads, config-only changes, or sending

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
364
下载量
免费
免费
1
收藏
概述
安装方式
版本历史

agent-conductor

Agent Conductor 🎼

你指挥,智能体执行。

将所有实现工作——文件变更、脚本运行、数据处理——路由给编码子智能体。编排会话保持精简:它负责规划、决策和验证。智能体负责执行。

支持的智能体

与智能体无关。只需设置一次调用命令:

智能体调用命令
Claude Codeclaude <任务>
OpenAI Codex
codex <任务> |
| Cursor Agent | cursor-agent <任务> |
| Gemini Code | gemini-code <任务> |
| 其他 | your-agent-cmd <任务> |

在以下示例中使用 AGENT_CMD 作为占位符。

何时分派

当任务涉及任何以下情况时进行分派:

  • - 写入或修改文件(即使只有一行)
  • 运行脚本或处理数据
  • 执行时间 > 10 秒
  • 对多个项目进行批量操作

如果会产生文件变更 → 就分派。

分派模板

任务:[名称]

需求

[一句话:要生成什么以及在哪里生成]

上下文

  • - 项目:[名称和用途]
  • 相关文件:[路径]
  • 数据格式:[输入/输出的简要描述]

验收标准

  • - [ ] 输出文件存在于 [路径]
  • [ ] 包含 [N] 条记录 / 通过 [特定检查]
  • [ ] [错误字段/日志] 中无错误

注意事项

  • - [已知陷阱 1]
  • [已知陷阱 2]

环境

  • - 语言/运行时:[python3 / node / go / 等]
  • 工作目录:[路径]
  • 特殊配置:[代理、认证、环境变量(如需要)]

完成后,通过以下方式通知:
[你的完成通知命令]

执行机制

时长机制
< 5 分钟前台:exec pty:true command:AGENTCMD ...
5–30 分钟
后台:exec pty:true background:true timeout:1800 command:AGENTCMD ... | | > 30 分钟 | 智能体编写脚本 → 在 screen / tmux 中运行 |

如果你的平台需要,请使用 pty:true(Claude Code 需要;请查看其他智能体的文档)。

任务分解

阶段而非功能拆分大型项目。每个阶段必须可独立验证。

当以下任一情况适用时进行拆分:

  • - 运行时间 > 30 分钟
  • 需要多个脚本
  • 批次 > 100 个项目
  • 一个步骤的输出作为下一步的输入

阶段 1:准备数据 → clean_data.csv (< 2 分钟)
阶段 2:处理 → results.json (需要阶段 1)
阶段 3:报告 → report.md (需要阶段 2)

有关并行协调、检查点/恢复和领域示例,请参见 references/patterns.md

验收检查清单

在任何完成信号后,始终验证:

  1. 1. 文件存在 — 确认输出路径
  2. 数量正确 — 预期 N 条记录 vs. 实际 N 条记录
  3. 非空 — 抽查 2–3 个输出
  4. 无静默错误 — 检查错误字段和空值率

完成信号 ≠ 验收。执行检查清单。

错误处理

症状操作
超时,无输出检查进程日志 → 终止并重新分派,提供更多上下文
完成后文件缺失
读取执行日志 → 添加上下文 → 重新分派 | | 部分完成 | 检查 progress.json → 从检查点恢复 | | 连续失败两次 | 停止重新分派 → 在编排器会话中调试 |

不要分派的内容

  • - 简单读取 → 直接使用读取工具
  • 编排器配置变更 → 仅在编排器会话中进行
  • 消息/通知 → 直接使用消息工具
  • 设计决策 → 编排器先决策,智能体再实现

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 agent-conductor-1776236042 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 agent-conductor-1776236042 技能

通过命令行安装

skillhub install agent-conductor-1776236042

下载

⬇ 下载 agent-conductor v1.0.0(免费)

文件大小: 4.47 KB | 发布时间: 2026-4-16 00:00

v1.0.0 最新 2026-4-16 00:00
agent-conductor 1.0.0 changelog

- Initial release of agent-conductor skill.
- Provides orchestration templates and guidelines for dispatching code, script, and data processing tasks to coding sub-agents.
- Introduces agent-agnostic dispatch patterns for Claude Code, Codex, Cursor, Gemini Code, and any CLI-based agent.
- Outlines best practices for task decomposition, parallel execution, and acceptance validation.
- Defines clear criteria for when to delegate work versus handling within the orchestrator session.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部