Install
openclaw skills install hive-builderDesign, scaffold, and carefully activate a Hive-style one-person company inside OpenClaw using an orchestrator pattern. Use when planning or building a multi-agent Hive system with a CEO main session plus specialist subagents, especially when distinguishing fresh-workspace setup from existing-workspace adoption.
openclaw skills install hive-builderBuild Hive as a controlled architecture project, not as an automatic workspace takeover.
Treat hive-builder as the complete mother skill for Hive and the main public product entry point: the user should be able to download this skill and understand how to build the full virtual organization, including CEO, HRM, OPS, and specialist roles such as Collector, Writer, and QA.
Hive uses a layered orchestrator pattern built on modern OpenClaw-native primitives:
hive-builder for architecture, scaffolding, and activation boundarieshive-ceo for task entry, routing, approval, and final synthesishive-hrm and hive-opssessions_spawn as the preferred execution primitive for bounded specialist work once Hive moves beyond pure contained/manual validationFor end users, hive-builder is the single complete entry point for Hive.
It should evolve with the latest stable OpenClaw runtime primitives instead of preserving unnecessary custom Hive machinery once the platform supports the behavior natively.
That means this skill should:
hive-* skillsThe modular hive-* skills are implementation helpers and evolution paths, not prerequisites for understanding Hive at the product level.
Installing this skill is not the same as enabling Hive.
Treat Hive setup as four separate phases:
Do not skip directly from installation to full deployment.
Use when the workspace is effectively new and the user wants Hive to become a primary operating structure.
Typical signs:
Allowed actions in this mode:
SETUP.mdUse when the workspace already has established files, behaviors, memory, or active skills.
Typical signs:
AGENTS.md, SOUL.md, USER.md, MEMORY.md, or mature skill stackDefault behavior in this mode:
In existing-workspace mode, do not default to rewriting core workspace files or changing how the main session behaves.
Before generating anything, determine:
If the user has not clearly asked for live activation, default to:
Especially in existing-workspace mode:
AGENTS.md, SOUL.md, USER.md, MEMORY.md, or HEARTBEAT.mdHive should begin as a contained subsystem under {WORKSPACE}/hive/.
User request
↓
Commander / CEO (main session)
├── classify task
├── keep in main session when Hive adds no real value
├── run contained/manual validation when testing a chain
└── dispatch bounded specialist work when appropriate
via sessions_spawn
↓
isolated specialist runs / governance roles
↓
artifacts → {WORKSPACE}/hive/artifacts/
task state → {WORKSPACE}/hive/state/tasks/
checkpoints → {WORKSPACE}/hive/state/checkpoints/
↓
Commander / CEO synthesizes back to user
Treat these mappings as the preferred design center:
sessions_spawn → bounded specialist executionhive-builder = build layer: defines architecture, scaffold shape, activation boundaries, and native-alignment ruleshive-ceo = runtime control layer: receives user requests, decides whether Hive is needed, routes work, and approves final synthesis{WORKSPACE}/hive/artifacts/{WORKSPACE}/hive/state/Trigger when the user asks to:
Do not trigger just because the word “Hive” appears casually.
Always start here.
Outputs:
Questions to resolve internally:
{WORKSPACE}/hive/ only?Create the contained structure without claiming the system is live.
Typical scaffold output:
{WORKSPACE}/hive/
├── agents/
│ ├── commander/
│ ├── hrm/
│ ├── ops/
│ └── [specialists...]
├── state/
│ ├── tasks/
│ ├── checkpoints/
│ ├── artifacts/
│ └── audit/ops/
├── artifacts/
│ ├── raw/
│ ├── analysis/
│ ├── reports/
│ ├── review/
│ └── final/
└── SETUP.md
Scaffold deliverables may also include:
ROLE.md filesSTATE-CONTRACT.md or equivalent task/flow contract noteOPENCLAW-MAPPING.md-style note aligning Hive concepts to native OpenClaw primitivesOnly after the user clearly confirms activation.
Activation means some or all of the following become real operating behavior:
sessions_spawnActivation is a policy change, not just a file creation step.
When Hive moves beyond pure scaffold/manual validation, prefer the following order:
sessions_spawn for bounded specialist execution when the role split is real and reusableDo not make Task Flow or spawn-based execution mandatory for the very first scaffold. Do make them the preferred target for any Hive design that claims to be truly integrated with OpenClaw orchestration.
If the user wants Hive to feel genuinely native to OpenClaw, prefer this adoption sequence:
{WORKSPACE}/hive/sessions_spawnThis recipe is preferred over inventing a parallel custom runtime too early.
A scaffold that aims to be OpenClaw-native should make these runtime expectations explicit:
sessions_spawnIf these are not explicit, Hive is still only a concept scaffold, not a runtime-ready orchestration design.
hive-ceo)hive-hrm)hive-ops)A sensible default starter set is:
hive-collector)hive-writer)hive-qa)In existing-workspace mode, these should begin as templates or proposals unless the user explicitly wants them activated immediately.
Each role should define:
## Identity
- Name / number
- Primary responsibility
## Position in Workflow
- Trigger conditions
- Upstream / downstream
- Data flow
## Core Duties
- Task list
## Outputs
- Artifact types
- Output paths
## Boundaries
- What this role does not do
- Who it should not talk to directly
When Hive is added to an existing workspace, prefer this order:
{WORKSPACE}/hive/SETUP.mdsessions_spawn for reusable specialist execution before inventing a parallel runtimeThis is the recommended path for mature workspaces.
When the workspace is intentionally fresh, a fuller build can be used:
SETUP.mdGood outputs from this skill:
{WORKSPACE}/hive/SETUP.md explaining what exists versus what is only plannedAvoid jumping straight to claims like:
unless those behaviors were actually enabled.
Before claiming Hive is live, verify:
{WORKSPACE}/hive/ existsSETUP.md clearly separates planned vs active behaviorsessions_spawnKeep this distinction explicit:
hive-builder builds the complete Hive system and serves as the mother skillhive-ceo represents the runtime control layer inside that systemhive-hrm changes org structurehive-ops evaluates operational readinessFor ClawHub-style distribution, keep the publish boundary equally explicit:
hive-builder should be understandable as the complete public entry pointhive-* skills should improve runtime specialization without making the base product feel incompleteDo not collapse these layers back into one overloaded runtime skill.
Do not present the modular internal breakdown in a way that makes the end user think hive-builder is incomplete on its own.
Use bundled templates as raw material, not rigid truth:
templates/00-base-roles.mdtemplates/10-runtime-contract.mdtemplates/20-validation-task.mdHIVE-合规专员-扩员.mdAdapt them to the user’s actual domain and current workspace maturity.
| Placeholder | Meaning |
|---|---|
{WORKSPACE} | OpenClaw workspace path |
{USER_DOCUMENTS} | User documents directory if needed |
{DEFAULT_MODEL} | CEO default model |
{FAST_MODEL} | Fast / low-cost model |
{STRONG_MODEL} | Strong / high-accuracy model |
{WORKSPACE}/hive/SETUP.md distinguishes planned vs active behaviorsessions_spawn preference are both explicit