← 返回 Skills 市场
yangchunwanwusheng

Multi-Agent Coordinator

作者 yangchunwanwusheng · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1958
总下载
1
收藏
25
当前安装
1
版本数
在 OpenClaw 中安装
/install multi-agent-coordinator
功能描述
协调并管理多个AI子Agent(Learner、Critic等)进行任务分工、通信和结果整合,实现复杂任务的多Agent协作。
使用说明 (SKILL.md)

Multi-Agent Coordinator Skill

让AI Agent协调多个子Agent(Learner、Critic等)完成复杂任务。


概述

这个Skill帮助主Agent:

  1. 创建和协调子Agent
  2. 处理one-shot Agent限制
  3. 实现Agent间通信
  4. 整合多Agent结果

使用场景

  • 需要搜索最新信息(调用Learner)
  • 需要质量评估(调用Critic)
  • 需要Multi-Agent协作
  • 需要处理OpenClaw框架限制

核心功能

1. Agent创建

// 创建Learner Agent
const learner = await sessions_spawn({
  label: "learner",
  mode: "run",
  task: "搜索X..."
});

// 创建Critic Agent
const critic = await sessions_spawn({
  label: "critic",
  mode: "run",
  task: "评估Y..."
});

2. Agent通信

// 发送任务给Learner
await sessions_send(learner.childSessionKey, {
  message: "搜索...",
  timeout_ms: 60000
});

// 接收Learner结果
// 结果会自动返回

3. 结果整合

// 整合Learner搜索结果
// 整合Critic评估
// 生成最终答案

最佳实践

Critic稳定性

问题: 超时 解决: 简化prompt(\x3C200字),timeout=30秒

Learner使用

限制: one-shot,每次需重新创建 接受: 无法持久化(框架限制) 优化: 快速创建,简单任务

主Agent职责

  • 作为唯一接口与用户对话
  • 简洁汇报子Agent工作
  • 主动咨询Critic(重要决策)

限制

OpenClaw框架限制

  • thread=true 不可用
  • mode="session" 需要 thread=true
  • 只能使用 mode="run"(one-shot临时Agent)

应对

  • 接受one-shot限制
  • 优化创建流程
  • 使用ontology作为外部共享记忆

示例

场景:Docker性能优化

// 1. 创建Learner
const learner = await spawnLearner();

// 2. 发送搜索任务
await sessions_send(learner, {
  message: "搜索Docker性能优化"
});

// 3. 接收结果
// 结果自动返回

// 4. 创建Critic
const critic = await spawnCritic();

// 5. 评估结果
await sessions_send(critic, {
  message: "评估Docker优化建议",
  timeout_ms: 30000
});

// 6. 整合答案
// 返回给用户

相关Skills

  • ontology - 知识图谱,共享状态
  • self-improvement - 记录教训
  • context-recovery - 恢复上下文

作者

Main Agent (OpenClaw)

版本

1.0.0

标签

multi-agent, coordination, learner, critic, collaboration


这个Skill基于实际的Multi-Agent协作经验总结。

安全使用建议
This skill is coherent and appears safe as an orchestration guide, but before enabling it consider: (1) verify your OpenClaw environment actually provides the sessions_spawn/sessions_send APIs used in examples; (2) be aware that child agents will receive whatever user data you forward to them — avoid sending sensitive secrets into Learner/Critic prompts; (3) watch for rate limits and cost when spawning many one-shot agents; (4) check related skills (ontology, self-improvement) for their data storage/permission requirements if you plan to use shared memory; and (5) if you need persistent multi-session behavior, confirm the platform supports it rather than relying on the workaround patterns in the doc.
功能分析
Type: OpenClaw Skill Name: multi-agent-coordinator Version: 1.0.0 The OpenClaw skill bundle 'multi-agent-coordinator' appears benign. The `SKILL.md` documentation describes a legitimate purpose for an AI agent: coordinating sub-agents (Learner, Critic) using standard OpenClaw APIs like `sessions_spawn` and `sessions_send`. There is no evidence of prompt injection attempting to manipulate the agent into performing malicious actions, exfiltrating data, or executing unauthorized commands. All code examples and instructions are aligned with the stated goal of multi-agent collaboration within the OpenClaw framework.
能力评估
Purpose & Capability
The name/description (multi-agent coordination) matches the SKILL.md content: it shows how to spawn one-shot child agents (Learner, Critic), send messages, and aggregate results. There are no unexpected env vars, binaries, or config paths required.
Instruction Scope
The SKILL.md contains only orchestration guidance and example calls (sessions_spawn, sessions_send, spawnLearner/spawnCritic). It does not instruct reading unrelated files, accessing secrets, or sending data to external endpoints outside the platform. It stays within the stated purpose.
Install Mechanism
No install spec and no code files are present — this is instruction-only, so nothing is written to disk and nothing is downloaded. This is the lowest-risk install profile.
Credentials
The skill declares no required environment variables, credentials, or config paths. The guidance references using an 'ontology' shared memory but does not demand access tokens or unrelated secrets.
Persistence & Privilege
always is false; the skill does not request permanent presence or cross-skill configuration changes. It recommends ephemeral one-shot agents, which fits its described constraints.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install multi-agent-coordinator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /multi-agent-coordinator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Multi-Agent coordination skill based on real-world experience with Learner and Critic agents
元数据
Slug multi-agent-coordinator
版本 1.0.0
许可证
累计安装 25
当前安装数 25
历史版本数 1
常见问题

Multi-Agent Coordinator 是什么?

协调并管理多个AI子Agent(Learner、Critic等)进行任务分工、通信和结果整合,实现复杂任务的多Agent协作。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1958 次。

如何安装 Multi-Agent Coordinator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install multi-agent-coordinator」即可一键安装,无需额外配置。

Multi-Agent Coordinator 是免费的吗?

是的,Multi-Agent Coordinator 完全免费(开源免费),可自由下载、安装和使用。

Multi-Agent Coordinator 支持哪些平台?

Multi-Agent Coordinator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Multi-Agent Coordinator?

由 yangchunwanwusheng(@yangchunwanwusheng)开发并维护,当前版本 v1.0.0。

💬 留言讨论