Multi-Agent Coordinator

v1.0.0

协调并管理多个AI子Agent(Learner、Critic等)进行任务分工、通信和结果整合,实现复杂任务的多Agent协作。

1· 2k·25 current·25 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for yangchunwanwusheng/multi-agent-coordinator.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Multi-Agent Coordinator" (yangchunwanwusheng/multi-agent-coordinator) from ClawHub.
Skill page: https://clawhub.ai/yangchunwanwusheng/multi-agent-coordinator
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install multi-agent-coordinator

ClawHub CLI

Package manager switcher

npx clawhub@latest install multi-agent-coordinator
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

collaborationvk972hhhv4bqb5mb515e22wqjqs8248s5coordinationvk972hhhv4bqb5mb515e22wqjqs8248s5criticvk972hhhv4bqb5mb515e22wqjqs8248s5latestvk972hhhv4bqb5mb515e22wqjqs8248s5learnervk972hhhv4bqb5mb515e22wqjqs8248s5multi-agentvk972hhhv4bqb5mb515e22wqjqs8248s5
2kdownloads
1stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

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(<200字),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协作经验总结。

Comments

Loading comments...