multi_agent_collaboration SKILL.md skillA
multi_agent_collaboration from mateaix/mateclaw is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mateaix/mateclaw/multi_agent_collaboration@v1.4.0Pins v1.4.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mateaix/mateclaw
- Path
mateclaw-server/src/main/resources/skills/multi_agent_collaboration/SKILL.md- Versions recorded
- 1
- Latest version
- v1.4.0, committed Apr 23, 2026
- Size
- 3,297 bytes
- Repository stars
- 1,185
- License
- Apache-2.0
当任务需要多个 Agent 的专业能力协同完成时,编排多 Agent 并行或串行协作,整合各方结果。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 多 Agent 协作
## 何时使用
当任务明显需要多个专业 Agent 共同完成,或用户明确要求多 Agent 协作时使用。
### 应该使用
- 任务可拆分为多个专业子域,每个子域有对应 Agent
- 多个独立子任务可以并行执行(节省时间)
- 需要来自不同 Agent 的结果进行综合分析
- 用户明确要求"让 A 和 B 一起做"
### 不应使用
- 一个 Agent 可以完成,无需分工
- 只是简单咨询,用 `chat_with_agent` 即可
- 刚收到某 Agent 的消息,不要立刻回调它(防死循环)
## 两种协作模式
### 模式一:串行(有依赖关系)
B 的任务需要 A 的结果时使用:
```
# 第一阶段:A 完成
result_a = delegateToAgent(
agentName="research-agent",
task="[来自 Agent coordinator 的请求] 收集最新 AI 大模型基准测试数据,返回原始数据表格。"
)
# 第二阶段:B 基于 A 的结果处理
result_b = delegateToAgent(
agentName="data-analyst",
task="[来自 Agent coordinator 的请求] 基于以下数据生成分析报告和可视化建议:\n\n" + result_a
)
```
### 模式二:并行(互相独立)
多个子任务之间没有依赖时使用,最多同时 3 个:
```
results = delegateParallel(
tasksJson="[
{\"agentName\": \"research-agent\", \"task\": \"[来自 Agent coordinator 的请求] 搜索竞品 A 的最新功能更新\"},
{\"agentName\": \"data-analyst\", \"task\": \"[来自 Agent coordinator 的请求] 分析我们产品上月用户留存数据\"},
{\"agentName\": \"writer-agent\", \"task\": \"[来自 Agent coordinator 的请求] 起草本次竞品分析报告的大纲\"}
]"
)
```
所有任务完成后一次性返回全部结果,再由当前 Agent 整合。
## 完整工作流程
### 第一步:查询可用 Agent
```
listAvailableAgents()
```
根据各 Agent 的描述分配任务。
### 第二步:判断串行 or 并行
| 判断条件 | 模式 |
|---------|------|
…Read the whole file at its exact version.
How to install
mdr add mateaix/mateclaw/multi_agent_collaboration@sha256:6a70783ddc2bd16cThe line at the top of this page pins the label v1.4.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_rrgtc3dktrhd7sbv)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Apr 23, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3297 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
mateaix/mateclaw · 1,185 stars · license Apache-2.0 · pushed 2026-11-05 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_rrgtc3dktrhd7sbv GET https://markdownregistry.com/api/v1/resolve?ref=mateaix/mateclaw/multi_agent_collaboration GET https://markdownregistry.com/api/v1/blob/6a70783ddc2bd16cc3e85aba29f89c028aa2f41f7b3149773ad8bcdf2aa76237
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.