Install
openclaw skills install firm-orchestrationPyramid multi-agent orchestration for OpenClaw: routes objectives from a CEO agent down through departments, services and employees via sessions_send / sessions_spawn, collects and merges results, enforces handoff contracts, and writes the final deliverable back to the originating session.
openclaw skills install firm-orchestrationThis skill implements the A2A (Agent-to-Agent) pyramid pattern for OpenClaw.
CEO Agent (orchestrator)
├── Department Strategy
│ └── Service Planning → Employee Analyst
├── Department Engineering
│ └── Service Backend → Employee Implementer
├── Department Quality
│ └── Service Testing → Employee Auditor
└── Department Operations
└── Service Release → Employee Coordinator
Send this to your OpenClaw session to trigger a full firm orchestration run:
@firm-orchestration run
objective: "Build a payment API"
departments: ["engineering", "quality"]
delivery_format: "github_pr"
| Tool | Purpose |
|---|---|
sessions_list | Discover active department/service sessions |
sessions_spawn | Spawn missing sessions per pyramid level |
sessions_send | Delegate objectives down the hierarchy |
sessions_history | Collect results from child sessions |
Each delegation payload follows this schema:
{
"from": "ceo",
"to": "department:engineering",
"objective": "...",
"constraints": ["...", "..."],
"definition_of_done": "...",
"context_ref": "memory:delivery/latest",
"reply_session": "main"
}
Results from all departments are:
sessions_history with a 30-second deadlineobjective_keydelivery_formatBased on real Anthropic team practices — "How Anthropic teams use Claude Code"
Fan-out simultaneously to all departments via sessions_send. Never wait for one department
before launching the next. Each session receives the full handoff contract and maintains its
own complete context. Store all reply_session refs for convergence.
Objective received →
sessions_send(engineering) ‖ sessions_send(quality) ‖ sessions_send(ops) ‖ sessions_send(strategy)
→ wait(deadline=30s)
→ collect via sessions_history
If a department returns status: blocked, do NOT resolve it yourself. Spawn a joint
resolution session with the two conflicting departments and let them iterate:
engineering blocked by legal →
sessions_spawn(participants=[engineering, legal], objective="resolve_blocker") →
wait(max_iterations=2) →
collect resolution
Maximum 2 re-delegation cycles before escalating to CEO with explicit blocker report.
30-second hard deadline. After deadline: accept partial results, mark missing department
outputs as status: timeout, include them in final report as open items.
Never block delivery on a single department.
Before merging each department output into the final deliverable:
definition_of_donequality: partial — do not silently dropAfter every completed orchestration, automatically append:
All final outputs carry the mandatory disclaimer:
⚠️ Contenu généré par IA — validation humaine requise avant utilisation en production.
Require Engineering to commit after each sub-task — not only at end of run.
Reject PRs that are not draft + labelled needs-review.
Never allow direct merge to main.
reply_session: "main" to avoid orphaned sessionssessions_spawn is rate-limited: max 20 spawns per orchestration runUse the firm-orchestration skill to:
objective: "Audit the authentication module"
departments: ["quality", "engineering"]
constraints: ["read-only access only", "no production changes"]
definition_of_done: "Security report with CVSS scores and fix recommendations"
delivery_format: "markdown_report"
Si ce skill vous est utile, vous pouvez soutenir le développement :
Dogecoin : DQBggqFNWsRNTPb6kkiwppnMo1Hm8edfWq