Install
openclaw skills install multi-agent-parallel-buildOrchestrate multiple coding agents (Claude Code, Codex, etc.) in parallel waves to build UI pages, API endpoints, or features simultaneously. Use when building dashboards with 5+ pages, microservices, or any project where independent components can be built concurrently. Covers wave planning, shared shell/component libraries, agent spawning, merge conflict avoidance, and post-wave integration fixes.
openclaw skills install multi-agent-parallel-buildSpawn multiple coding agents in parallel to build independent components simultaneously. Reduces wall-clock time 3-5x for multi-page builds.
Wave 0 (Sequential — YOU do this):
→ Shared infrastructure: API, shell components, CSS, data layer
Wave 1 (Parallel — AGENTS do this):
→ Agent A: Page/Feature 1
→ Agent B: Page/Feature 2
→ Agent C: Page/Feature 3
→ Agent D: Page/Feature 4
→ Agent E: Page/Feature 5
Wave 2 (Sequential — YOU do this):
→ Integration fixes, cross-component wiring, testing
Before spawning agents, create everything they'll all need:
This is critical — agents that build against a shared shell produce consistent UIs. Agents that each invent their own shell produce chaos.
Example shared shell:
// shell.js — agents import this
function createShell(pageTitle, navItems) { /* sidebar + topbar */ }
function createCard(title, content) { /* themed card component */ }
function mcFetch(endpoint) { /* API wrapper with base URL */ }
Each agent gets:
Write a task prompt for each agent:
Build {page_name} at {file_path}.
Import shared shell from {shell_path}.
Fetch data from these API endpoints: {endpoints}.
Expected data shapes: {json_examples}.
Use Chart.js/D3 for visualization. Dark theme. No frameworks — vanilla JS + HTML.
Use sessions_spawn or coding-agent skill to launch all agents simultaneously:
Agent A: "Build agents.html — display 215 AI agents in searchable grid..."
Agent B: "Build skills.html — display 197 skills with category filters..."
Agent C: "Build knowledge.html — display 6.8K knowledge records with search..."
Agent D: "Build tools.html — display 231 tools grouped by MCP server..."
Agent E: "Build workflows.html + archetypes.html — two pages..."
Key flags:
Common issues after parallel build:
Agents often misconstruct API URLs: /api/mc/api/mc/ instead of /api/mc/. Fix with sed:
sed -i '' "s|/api/mc/api/mc/|/api/mc/|g" static/mc/*.html
Some agents inline fetch() instead of using the shared mcFetch(). Standardize.
Server needs routes for the new static directories:
app.mount("/static/mc", StaticFiles(directory="static/mc"), name="mc-static")
If tables have massive text columns (system_prompt, etc.), agents may have built queries that select everything. Fix API to use lightweight selects.