← 返回 Skills 市场
zcyynl

claw-orchestra

作者 zcyynl · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
199
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install claw-orchestra
功能描述
OpenClaw native multi-agent orchestrator. Based on AOrchestra 4-tuple (I,C,T,M) abstraction. Dynamically creates sub-agents, parallel execution, smart routin...
使用说明 (SKILL.md)

ClawOrchestra 🎼

OpenClaw 原生的多智能体编排器 —— 用乐团指挥的方式协调多个 Agent 完成复杂任务。


⚠️ 核心规则(必读)

1. 结果交付方式

必须生成 MD 文件发送给用户,不要在聊天中输出长文本!

2. 子Agent完成后必须主动整合

最后一个子Agent完成后,主Agent必须立即整合结果并发送报告,不能等待用户催促!

3. 动态四元组必须突出

每次编排都要展示四元组的动态生成过程,让用户感受到"智能编排"的价值。


🎯 编排流程

步骤1:启动公告

🎼 ClawOrchestra 动态编排器已激活

📋 任务: [用户任务简述]
🎯 类型: 调研 | 复杂度: 中等 | 模式: 🔀 并行

步骤2:动态四元组生成

⚡ 动态四元组生成中...

┌─────────────────────────────────────────────────────┐
│  Φ = (I, C, T, M)  动态子Agent创建                   │
├─────────────────────────────────────────────────────┤
│  Agent-1: 🔍 Swarm专家                              │
│  ├── I: "搜索 Agent Swarm 最新框架和论文"            │
│  ├── C: [主任务上下文]                               │
│  ├── T: [web_search, web_fetch]                     │
│  └── M: GLM (快速搜索,成本低)                       │
├─────────────────────────────────────────────────────┤
│  Agent-2: 🎯 编排专家                               │
│  ├── I: "搜索 Agent 编排器技术和趋势"                │
│  ├── C: [主任务上下文]                               │
│  ├── T: [web_search, web_fetch]                     │
│  └── M: GLM (快速搜索)                               │
├─────────────────────────────────────────────────────┤
│  Agent-3: 📊 协作专家                               │
│  ├── I: "搜索多智能体协作模式"                       │
│  ├── C: [主任务上下文]                               │
│  ├── T: [web_search, web_fetch]                     │
│  └── M: Kimi (深度分析,长上下文)                    │
└─────────────────────────────────────────────────────┘

✨ 智能决策: 3个子Agent并行执行,预计节省 60% 时间

步骤3:派遣子Agent

🚀 子Agent小队出发 (并行模式)

[1] 🔍 Swarm专家  → GLM  → Agent Swarm 调研
[2] 🎯 编排专家   → GLM  → 编排器技术调研
[3] 📊 协作专家   → Kimi → 多智能体协作分析

⏳ 执行中... (预计 60-90s)

步骤4:等待并整合(关键!)

主Agent必须轮询等待所有子Agent完成,然后立即整合!

⏳ 监控子Agent状态...

✅ Swarm专家 完成 (65s, 90k tokens)
✅ 编排专家 完成 (93s, 71k tokens)
✅ 协作专家 完成 (65s, 117k tokens)

📊 全部完成!正在整合结果...

步骤5:生成并发送报告

📝 生成调研报告...

📊 执行统计:
| Agent | 模型 | 耗时 | Tokens |
|-------|------|------|--------|
| 🔍 Swarm专家 | GLM | 65s | 90k |
| 🎯 编排专家 | GLM | 93s | 71k |
| 📊 协作专家 | Kimi | 65s | 117k |

⚡ 并行节省: 67% 时间
💰 总成本: ~278k tokens

📤 正在发送报告文件...

🔧 技术实现要点

1. 并行执行

同一轮 sessions_spawn 调用 = 真并行

2. 结果等待

使用 subagents list 轮询状态,直到所有子Agent完成

3. 结果获取

使用 sessions_history 获取子Agent输出

4. 报告生成

整合结果 → 生成 MD 文件 → message(filePath=...) 发送


🤖 模型选择

任务类型 推荐模型 原因
搜索、收集信息 GLM 便宜、快速、中文好
代码、分析、长文 Kimi 长上下文、代码强
复杂推理 GLM 均衡

注意:目前仅支持 lixiang 内部模型(GLM、Kimi)


📚 参考文献


🗓️ 更新日志

v0.1.1 (2026-03-16)

  • ✅ 四元组抽象 (I, C, T, M)
  • ✅ 编排器骨架 (Delegate/Finish)
  • ✅ OpenClaw 适配器 (sessions_spawn)
  • ✅ 智能路由 (上下文/模型/工具)
  • ✅ 经验库 + 成本追踪
  • ✅ 交互优化(动态四元组展示)
  • ✅ 自动结果整合(不再卡住)
安全使用建议
This skill appears to implement exactly what it claims: an OpenClaw multi-agent orchestrator that spawns and integrates subagents. It requires no secrets and has no external installers, which is good. Before installing, check two things in your OpenClaw environment: (1) what tools the platform exposes to spawned subagents — if tools named exec/read/write are available, child agents could run commands or access files, so restrict those tools or audit prompts you send to the orchestrator; (2) the skill's default cost-tracker path (/workspace/projects/claw-orchestra/costs.json) will create and write files — change the path or ensure the skill cannot overwrite sensitive locations. Also be aware the SKILL.md mandates auto-generating and sending a Markdown report file; if you don't want automatic file transmission, modify that behavior or supervise first runs. Overall the package is coherent and not requesting unexpected privileges, but review runtime tool permissions and file-write locations before use.
功能分析
Type: OpenClaw Skill Name: claw-orchestra Version: 0.1.0 The ClawOrchestra skill bundle is a well-structured implementation of a multi-agent orchestrator based on the AOrchestra (I,C,T,M) framework. It provides logic for task decomposition, sub-agent spawning via OpenClaw's 'sessions_spawn' tool, and intelligent routing for models, tools, and context. While it includes high-risk capabilities like 'exec' and 'write' for sub-agents designated as 'coders', these are aligned with the stated purpose of the tool. The bundle includes local logging for cost tracking and experience storage in '/workspace/projects/claw-orchestra/', and no evidence of data exfiltration, obfuscation, or malicious intent was found.
能力评估
Purpose & Capability
Name/description (multi-agent orchestrator) aligns with the provided code and SKILL.md: the package implements AgentTuple, Orchestrator, OpenClawAdapter, routing, a learner (cost/experience), and explicit integration points for sessions_spawn and sessions_history. No unrelated credentials, binaries, or external cloud access are requested.
Instruction Scope
SKILL.md instructs the orchestrator to spawn subagents, poll subagent status via 'subagents list' / 'sessions_history', integrate results immediately, and deliver a Markdown file to the user. These steps are coherent with orchestration behavior, but the policy of auto-generating and sending files (message(filePath=...)) is explicit and may be surprising — it causes the skill to write a file and transmit it to the user without further prompting.
Install Mechanism
No install spec is provided (instruction-only skill with bundled source). All code is included in the skill bundle; there are no external downloads, remote installers, or third-party package fetches that would increase risk.
Credentials
The skill does not request environment variables or credentials. However, runtime components do perform local file I/O: CostTracker defaults to '/workspace/projects/claw-orchestra/costs.json' and will create directories/files there. The AgentTuple 'coder' factory lists tools ['exec','read','write','edit'] (tool names only); if your OpenClaw environment exposes such tools to spawned subagents, child agents could execute commands or access files. These behaviors are proportionate to a local orchestrator but you should confirm platform tool permissions and file path policies.
Persistence & Privilege
The skill does not set always=true and does not request persistent system-wide privileges. It keeps its state within provided objects and writes to its own configured files. There is no code attempting to modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install claw-orchestra
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /claw-orchestra 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of ClawOrchestra: OpenClaw native multi-agent orchestrator. - Implements dynamic orchestration using the AOrchestra 4-tuple (I, C, T, M) abstraction. - Supports parallel sub-agent creation, smart routing, experience store, and cost tracking. - Enforces delivery of results via MD file and automatic integration of sub-agent outputs. - Highlights dynamic generation of agent tuples and execution flow for transparency. - Integrates with lixiang internal models (GLM, Kimi) for flexible task execution.
元数据
Slug claw-orchestra
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

claw-orchestra 是什么?

OpenClaw native multi-agent orchestrator. Based on AOrchestra 4-tuple (I,C,T,M) abstraction. Dynamically creates sub-agents, parallel execution, smart routin... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 199 次。

如何安装 claw-orchestra?

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

claw-orchestra 是免费的吗?

是的,claw-orchestra 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

claw-orchestra 支持哪些平台?

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

谁开发了 claw-orchestra?

由 zcyynl(@zcyynl)开发并维护,当前版本 v0.1.0。

💬 留言讨论