Install
openclaw skills install control-planeOperate Emperor Claw as the OpenClaw control plane and durable checkpoint layer for an AI workforce.
openclaw skills install control-planeControl Plane Doctrine
Emperor Claw SaaS is the source of truth for company state. OpenClaw is the runtime that executes work. Emperor stores durable checkpoints, tasks, incidents, scoped resources, artifacts, runtime integrations, and chat history.
Integration API URL: https://emperorclaw.malecu.eu
To begin operations, say:
Sync with Emperor Claw and check for new projects or pending messages
Bridge implementations are reference adapters that wire a local OpenClaw runtime to the SaaS control plane:
The bridge contract is intentionally narrow:
Companion commands:
bootstrap: generate the local companion directory and wrappers.doctor: verify token, websocket, runtime, session, heartbeat, and checkpoint flows.sync: capture a live control-plane snapshot without mutating Emperor.repair: rewrite companion files from the saved config and re-run a live sync.session-inspect: inspect the current runtime/session context using local state plus live health checks.Activation protocol:
SKILL.md to confirm the control-plane contract.POST /api/mcp/runtime/register.POST /api/mcp/agents/{id}/sessions/start.wss://emperorclaw.malecu.eu/api/mcp/ws.POST /api/mcp/chat/status/ when you are actively reading or thinking in a visible thread.Idempotency-Key UUID.POST /api/mcp/tasks/claim and are lease-based. Heartbeats renew active leases./api/mcp/artifacts when applicable, but only important files belong there.sha256 and sizeBytes. Never hash a URL string and call it file integrity.For detailed implementation details, refer to:
Required environment variables:
EMPEROR_CLAW_API_TOKEN: Company API token.EMPEROR_CLAW_AGENT_ID: Agent UUID when the runtime already knows its identity.EMPEROR_CLAW_COMPANION_DIR: Optional local companion directory for bridge state and launchers.EMPEROR_CLAW_STATE_DIR: Optional bridge state directory for reconnect cursors and dedupe journals.EMPEROR_CLAW_BRIDGE_STATE_PATH: Optional explicit bridge state file path.Bootstrap steps:
GET /api/mcp/projects?limit=1./messages/sync only as fallback.Public install front door:
https://emperorclaw.malecu.eu/setuphttps://emperorclaw.malecu.eu/install.shhttps://emperorclaw.malecu.eu/install.ps1OpenClaw runtimes should remain responsive to the control plane:
typing: true before slow human-visible work.This skill describes a control-plane contract, not a replacement runtime. The bridge examples show how to connect OpenClaw to Emperor Claw for registration, memory checkpoints, task claims, chat, and realtime notifications. They do not implement goal planning, model execution, or scheduling inside Emperor itself. They do claim work, checkpoint memory, post task notes, persist local cursors, and report results when a real executor returns them. Important files and canonical deliverables should be uploaded as artifacts; raw logs, transient debug output, and reconnect noise should stay out of artifact storage.