OpenClaw Multi-Agent HQ Builder
Skill purpose
Use this skill to help a user build a
mother-bot + sub-bots OpenClaw organization that is:
- - structured
- installable
- teachable
- runnable
- upgradeable
When speed matters, optimize for a newcomer being able to finish the installation with a clear checklist, exact file list, and acceptance criteria before the stated deadline.
This skill is not for random prompt roleplay. It is for turning a multi-agent idea into a working OpenClaw operating system skeleton.
What this skill builds
A standard delivery should include these layers:
1. Organization layer
Create or refine:
- - org chart
- mother-bot / sub-bot division
- role boundaries
- reporting lines
2. Agent layer
For each core bot, create the four-file profile:
- - INLINECODE0
- INLINECODE1
- INLINECODE2
- INLINECODE3
3. Protocol layer
Create or refine:
- - work handbook
- task flow diagram
- input/output templates
- dispatcher rules
4. L5 operations layer
Create or refine:
- - task state machine
- task card template
- blackboard protocol
- review mechanism
- system upgrade log
5. Onboarding layer
Create or refine:
- - installation guide
- newcomer checklist
- first task demo card
Default build order
Do not start by writing lots of personalities. Build in this order:
- 1. Confirm the mother-bot and core sub-bots
- Confirm role boundaries and responsibilities
- Build the HQ docs
- Install each bot's four-file profile
- Build dispatcher and workflow docs
- Build task state machine and blackboard docs
- Build onboarding docs for newcomers
- Create a first live task card example
Reason: new users fail when they start with too many agents and too little structure.
Recommended core architecture
Unless the user clearly wants a different structure, prefer this minimum HQ:
- -
001 mother-bot / CEO / dispatcher / final decider - INLINECODE5 value and resource bot
- INLINECODE6 problem definition and logic bot
- INLINECODE7 long-term direction and principles bot
- INLINECODE8 execution and delivery bot
Keep the HQ small and hard.
If the user mentions 06-10 or more specialized agents, default to an outer specialist pool, not permanent HQ members.
Standard delivery files
When building from scratch, aim to produce these files or their equivalents:
HQ docs
- - INLINECODE9
- INLINECODE10
- INLINECODE11
- INLINECODE12
- INLINECODE13
- INLINECODE14
- INLINECODE15
L5 docs
- - INLINECODE16
- INLINECODE17
- INLINECODE18
- INLINECODE19
- INLINECODE20
- INLINECODE21
Task system
- - INLINECODE22
- INLINECODE23
- INLINECODE24
Per-bot files
For
001 to
005, create:
- - INLINECODE27
- INLINECODE28
- INLINECODE29
- INLINECODE30
Installation workflow for a newcomer
When the user wants a teachable installation package, produce an onboarding guide that walks them through:
Step 1: Confirm structure
Have them decide:
- - how many core bots
- what each bot is responsible for
- what stays in HQ vs outer specialist pool
Step 2: Build HQ documents
Create the shared HQ governance files first.
Step 3: Install the bot profiles
Create the four-file profile for each bot.
Step 4: Install the dispatcher
Set up
001-dispatcher.md and
001-dispatcher-runbook.md.
Step 5: Install L5 operations
Set up state machine, task cards, blackboard, review system, and upgrade log.
Step 6: Run one real task
Create a first real
TASK-001 or
TASK-002 and run the full chain.
Newcomer success checklist
A newcomer should be considered successful only if all of the following are true:
- - HQ structure is clear
- each core bot has all 4 files
- dispatcher exists
- task state machine exists
- task card template exists
- blackboard protocol exists
- review mechanism exists
- upgrade log exists
- INLINECODE35 directory exists
- at least one real task card exists
- the user can explain the routing chain from 001 to sub-bots and back
Output style
When using this skill, prefer outputs that are:
- - concise
- structured
- installable
- easy to follow for a newcomer
- explicit about file paths and check steps
Do not give abstract theory without telling the user what files to create and in what order.
Suggested report structure
For setup requests, use this structure:
- 1. Conclusion
- What will be created
- Exact file list
- Recommended order
- Key risks
- Final acceptance checklist
Anti-patterns
Avoid these mistakes:
- - too many bots too early
- vague role descriptions with no file outputs
- no dispatcher
- no state machine
- no task cards
- no review loop
- no newcomer checklist
- relying only on chat history instead of files
Bundled resources
Read these bundled resources when needed:
- -
references/install-guide.md for newcomer installation teaching - INLINECODE37 for final quality checks
- INLINECODE38 for task card / blackboard / review minimal examples
- INLINECODE39 for quick trigger and delivery checks and realistic request coverage
- INLINECODE40 for pre-release checks before declaring the skill ready to ship
Core sentence
The goal is not to create more agents.
The goal is to create a
small, hard, teachable multi-agent HQ that can actually run.
OpenClaw 多智能体总部构建器
技能目的
使用此技能帮助用户构建一个
母机器人+子机器人的OpenClaw组织,该组织应具备:
当速度至关重要时,优化方案应确保新手能在规定截止日期前,凭借清晰的检查清单、确切的文件列表和验收标准完成安装。
此技能不适用于随机提示的角色扮演。它旨在将多智能体构想转化为可运行的OpenClaw操作系统骨架。
此技能构建的内容
标准交付应包含以下层级:
1. 组织层
创建或完善:
- - 组织架构图
- 母机器人/子机器人分工
- 角色边界
- 汇报关系
2. 智能体层
为每个核心机器人创建四文件档案:
- - SOUL.md(灵魂文件)
- HEARTBEAT.md(心跳文件)
- ROLE.md(角色文件)
- AGENT_PROFILE.md(智能体配置文件)
3. 协议层
创建或完善:
4. L5运营层
创建或完善:
- - 任务状态机
- 任务卡模板
- 黑板协议
- 复盘机制
- 系统升级日志
5. 入职层
创建或完善:
默认构建顺序
不要从编写大量角色设定开始。按以下顺序构建:
- 1. 确认母机器人和核心子机器人
- 确认角色边界和职责
- 构建总部文档
- 安装每个机器人的四文件档案
- 构建调度器和工作流程文档
- 构建任务状态机和黑板文档
- 构建新手入职文档
- 创建首个实际任务卡示例
原因:新手失败往往是因为一开始就引入过多智能体而缺乏足够结构。
推荐核心架构
除非用户明确要求不同结构,否则优先采用以下最小化总部配置:
- - 001 母机器人/首席执行官/调度器/最终决策者
- 02 价值与资源机器人
- 03 问题定义与逻辑机器人
- 04 长期方向与原则机器人
- 05 执行与交付机器人
保持总部小而精。
如果用户提到06-10或更多专业智能体,默认将其归入外部专家池,而非永久总部成员。
标准交付文件
从头构建时,目标产出以下文件或其等效文件:
总部文档
- - 组织架构总表.md
- 母bot与子bot工作手册.md
- 001-05任务流转图.md
- 001-05标准输入输出模板包.md
- 001-dispatcher.md
- 001-dispatcher-runbook.md
- 多智能体技术路线图.md
L5文档
- - 任务状态机.md
- 任务卡模板.md
- 共享黑板协议.md
- 复盘机制.md
- 复盘模板.md
- 系统升级日志.md
任务系统
- - tasks/
- tasks/TASK-001-.md
- tasks/TASK-002-.md
每个机器人的文件
为001至005创建:
- - teammates//SOUL.md
- teammates//HEARTBEAT.md
- teammates//ROLE.md
- teammates//AGENT_PROFILE.md
新手安装工作流程
当用户需要可教学的安装包时,提供引导他们逐步完成的入职指南:
步骤1:确认结构
让他们决定:
- - 核心机器人数量
- 每个机器人的职责
- 哪些留在总部,哪些归入外部专家池
步骤2:构建总部文档
首先创建共享的总部治理文件。
步骤3:安装机器人档案
为每个机器人创建四文件档案。
步骤4:安装调度器
设置001-dispatcher.md和001-dispatcher-runbook.md。
步骤5:安装L5运营
设置状态机、任务卡、黑板、复盘系统和升级日志。
步骤6:运行一个实际任务
创建首个实际的TASK-001或TASK-002并运行完整链条。
新手成功检查清单
仅当以下所有条件都满足时,才应认为新手成功:
- - 总部结构清晰
- 每个核心机器人拥有全部4个文件
- 调度器存在
- 任务状态机存在
- 任务卡模板存在
- 黑板协议存在
- 复盘机制存在
- 升级日志存在
- tasks/目录存在
- 至少存在一个实际任务卡
- 用户能解释从001到子机器人再返回的路由链
输出风格
使用此技能时,优先采用以下输出风格:
- - 简洁
- 结构化
- 可安装
- 新手易于理解
- 明确说明文件路径和检查步骤
不要只提供抽象理论而不告诉用户创建哪些文件以及创建顺序。
建议报告结构
对于设置请求,使用以下结构:
- 1. 结论
- 将要创建的内容
- 确切文件列表
- 推荐顺序
- 关键风险
- 最终验收检查清单
反模式
避免以下错误:
- - 过早引入过多机器人
- 角色描述模糊且无文件输出
- 没有调度器
- 没有状态机
- 没有任务卡
- 没有复盘循环
- 没有新手检查清单
- 仅依赖聊天记录而非文件
捆绑资源
需要时阅读以下捆绑资源:
- - references/install-guide.md 用于新手安装教学
- references/acceptance-checklist.md 用于最终质量检查
- references/minimal-examples.md 用于任务卡/黑板/复盘的最小示例
- references/test-prompts.md 用于快速触发和交付检查以及实际请求覆盖
- references/publish-checklist.md 用于宣布技能可发布前的预发布检查
核心语句
目标不是创建更多智能体。
目标是创建一个
小而精、可教学、能实际运行的多智能体总部。