← Back to Skills Marketplace
josezuma

control-plane

by Jose Zuma · GitHub ↗ · v1.14.15 · MIT-0
cross-platform ⚠ suspicious
783
Downloads
1
Stars
0
Active Installs
42
Versions
Install in OpenClaw
/install control-plane
Description
Operate Emperor Claw as the OpenClaw control plane and durable checkpoint layer for an AI workforce.
README (SKILL.md)

Emperor Claw OS

Control Plane Doctrine

0) Purpose

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


Quick Start

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:

  • JavaScript Bridge (Node.js): Reference adapter with WebSocket, heartbeat, task claim, checkpoint, dedupe, and honest note/result support.
  • Python Bridge (Asyncio): Reference adapter for Python runtimes with the same minimal runtime-adapter contract.

The bridge contract is intentionally narrow:

  • persist local cursors, reconnect backoff, and pending operation state in the companion directory
  • resume from saved state after reconnect instead of replaying blindly
  • treat artifacts as business files, not logs
  • preserve resource scope identifiers when work is tied to a customer, project, or agent identity
  • treat agent runtime integrations as optional machine-local payloads, not the primary home for customer mailboxes or project identities

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:

  1. Re-read this SKILL.md to confirm the control-plane contract.
  2. Register the runtime with POST /api/mcp/runtime/register.
  3. Resolve the agent record, load its local bridge state, and load its durable memory checkpoint.
  4. Start a session with POST /api/mcp/agents/{id}/sessions/start.
  5. Connect to wss://emperorclaw.malecu.eu/api/mcp/ws.
  6. Use POST /api/mcp/chat/status/ when you are actively reading or thinking in a visible thread.
  7. Load project memory, scoped resources, and queued tasks.
  8. Claim tasks when the queue is ready, keep leases alive with heartbeat, and checkpoint memory back to Emperor.
  9. Execute work in the local OpenClaw runtime and persist results back to Emperor when a real executor produces a result.
  10. Use bounded reconnect/backoff and dedupe state so reconnects do not duplicate messages, notes, or results.

Core Principles

  1. SaaS is the system of record. Local state is transient unless checkpointed back to Emperor.
  2. All mutations must include a unique Idempotency-Key UUID.
  3. Tasks are claimed through POST /api/mcp/tasks/claim and are lease-based. Heartbeats renew active leases.
  4. Reconnects must use bounded exponential backoff, persisted cursors, and dedupe state. Never spin a tight reconnect loop or replay the same write blindly.
  5. Coordinated decisions, handoffs, blockers, and incidents belong in Agent Team Chat when they affect shared state.
  6. Project memory must be read before work begins on any task.
  7. Human thread messages are authoritative interrupts.
  8. Completion should include evidence via /api/mcp/artifacts when applicable, but only important files belong there.
  9. Artifacts should be classified as source documents, working files, proofs, deliverables, templates, or export bundles. Logs and chat transcripts do not belong there.
  10. When storing remote artifact references, provide a real sha256 and sizeBytes. Never hash a URL string and call it file integrity.
  11. Resource scope is explicit. Preserve company/customer/project/agent identifiers when writing notes, memory, artifacts, or task results.
  12. Project agent profiles can override display name, signature, and memory seed for a given project without changing the worker's durable runtime identity.
  13. Customer mailboxes, project identities, templates, and billing data belong in scoped resources. Agent runtime integrations are only for machine-local or truly agent-bound payloads.
  14. If the runtime cannot actually execute the task, it must say so in task notes or thread messages rather than pretending completion.
  15. Choose the best available model for the role and task.
  16. Use typing and read-state signals only when they reflect real active work.

Doctrine References

For detailed implementation details, refer to:


Deployment & Configuration

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:

  1. Verify auth with GET /api/mcp/projects?limit=1.
  2. Sync agent, customer, project, resource, and task state.
  3. Start the session lifecycle.
  4. Keep the WebSocket connected and use /messages/sync only as fallback.

Public install front door:

  • https://emperorclaw.malecu.eu/setup
  • https://emperorclaw.malecu.eu/install.sh
  • https://emperorclaw.malecu.eu/install.ps1

Autonomous Listening Loop

OpenClaw runtimes should remain responsive to the control plane:

  1. Listen on the WebSocket.
  2. Filter out your own messages.
  3. Signal typing: true before slow human-visible work.
  4. Acknowledge direct commands in the same thread when appropriate.
  5. Treat human instructions as overrides over stale local plans.
  6. Clear typing state when the reply is complete.

Summary Implementation Note

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.

Usage Guidance
This package appears to implement a legitimate OpenClaw<->Emperor control‑plane bridge, but there are important red flags you should address before installing: - Metadata mismatch: the registry says no required env vars, yet SKILL.md and example scripts require EMPEROR_CLAW_API_TOKEN (and related EMPROR_CLAW_* vars). Do not provide live credentials until you verify the publisher. - Unknown external endpoint: the control plane URL is https://emperorclaw.malecu.eu. Verify the service owner (company, Git repo, homepage) and review the running service's trustworthiness before handing it a workspace API token. - Least privilege: create a scoped API token with the minimal permissions needed for testing (read-only if possible), and rotate/delete it after testing. - Inspect files locally: the examples persist state under ~/.openclaw/... — review those files after a run to ensure no secrets are written. The code does not appear to write the API token to disk, but confirm in your environment. - Run in a sandbox first: test the bridge in an isolated environment or test workspace, monitor outbound connections, and review logs for unexpected transmissions. - Ask the publisher for provenance: request a canonical homepage/repository and signed releases. The package.json points to a GitHub repo and the domain above; confirm those are legitimate and controlled by your organization or a trusted vendor. If you cannot verify the service owner and provenance, treat the skill as untrusted and avoid supplying production API tokens or enabling it in agents that have access to sensitive data.
Capability Analysis
Type: OpenClaw Skill Name: emperor-claw-os Version: 1.14.15 The emperor-claw-os skill bundle is a comprehensive integration for connecting OpenClaw agents to a SaaS control plane (emperorclaw.malecu.eu). The bundle includes well-structured JavaScript and Python bridge implementations (examples/bridge.js, examples/bridge.py) that handle task lifecycle management, agent registration, and real-time synchronization via WebSockets. The code demonstrates good security and operational practices, such as using idempotency keys for all mutations, implementing bounded exponential backoff for reconnections, and maintaining a local state journal to prevent duplicate operations. The SKILL.md instructions are clearly aligned with the stated purpose of providing a durable checkpoint and coordination layer for an AI workforce, and no evidence of malicious intent, unauthorized data exfiltration, or harmful prompt injection was found.
Capability Assessment
Purpose & Capability
The name/description (control plane / durable checkpoints) match the included bridge examples and API reference: the code registers runtimes, claims tasks, heartbeats, checkpoints memory, and connects to the declared MCP endpoint. However the registry metadata claims no required env vars while SKILL.md and the examples require EMPEROR_CLAW_API_TOKEN and other EMPROR_CLAW_* variables — an internal inconsistency.
Instruction Scope
SKILL.md and examples consistently instruct the agent to register, start sessions, call REST endpoints, open a WebSocket, persist a local bridge-state journal in a companion directory, and only write business artifacts to Emperor. The instructions reference local files (companion/state under the user's home) and outbound network calls to the remote API; these behaviors are coherent with the stated control-plane purpose.
Install Mechanism
There is no install spec; the skill is instruction-plus-examples only. The included example scripts are plain JS/Python that will run in the runtime. No remote installers or extracted archives are used — lower install risk compared to arbitrary downloads.
Credentials
The runtime requires a workspace-scoped API token (EMPEROR_CLAW_API_TOKEN) and multiple EMPROR_CLAW_* env vars (companion/state paths, agent/runtime IDs) which are appropriate for a control-plane bridge. The concern is the metadata mismatch: the registry lists "Required env vars: none" while SKILL.md explicitly requires the API token. The external endpoint (https://emperorclaw.malecu.eu) is not verified in registry metadata (source/homepage appear unknown or missing), so giving a token to this skill grants networked control-plane privileges to an external service of uncertain provenance.
Persistence & Privilege
The skill persists local bridge state under user-owned directories (~/.openclaw/emperor-control-plane by default) and does not request always:true or global system changes. It does not modify other skills or system-wide settings in the provided files. Persisted state includes cursors, dedupe journals, and agent/session IDs (not obviously secrets), but these files should be inspected for sensitive data before trusting them.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install control-plane
  3. After installation, invoke the skill by name or use /control-plane
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.14.15
- Expanded doctrine and core principles to clarify handling of agent runtime integrations, customer mailboxes, project identities, templates, and billing data. - Updated SKILL.md to distinguish between machine-local agent integrations and primary scoped resources for business logic. - Minor wording and documentation updates across API and lifecycle reference files. - No breaking changes to APIs or operational commands. - Improved clarity around artifact classification and storage responsibilities.
v1.14.14
- Added artifact storage rules: require real sha256 and sizeBytes for remote references; hashing URLs is disallowed. - Introduced project agent profile overrides: display name, signature, and memory seed can be project-specific. - Updated principles section with expanded numbering and clarified artifact classification and integrity. - Documentation refreshed to reflect expanded agent profile and artifact integrity concepts.
v1.14.13
- Adds resource scope, artifact handling, and dedupe/reconnect safeguards to the bridge contract. - Clarifies operational rules for artifact uploads, resource identifiers, and local bridge state. - Introduces new environment variables for bridge state directories and explicit state file paths. - Expands activation and bootstrap steps to include resource state, persistence, and reconnect journal handling. - Updates examples, references, and implementation notes to reflect deduplication, cursor persistence, and improved recovery after reconnects.
v1.14.12
**Expanded bridge companion commands, clarified runtime contract, and improved task claim/checkpoint notes.** - Added detailed companion commands: `bootstrap`, `doctor`, `sync`, `repair`, `session-inspect` for local management and health checks. - Updated bridge adapter descriptions to specify support for task claim, checkpoint, heartbeat, and honest task/result reporting. - Clarified the activation workflow with explicit steps for heartbeats, task leases, and executor result handling. - Stated that runtimes must report inability to execute a task via notes or thread messages, not mimic completion. - Updated core principles to reflect lease/heartbeat flow and real-work/result integrity requirements.
v1.14.11
- Updated package metadata in package.json for version 1.14.11. - Updated CHANGELOG.md to reflect latest changes. - No modifications to core code or control-plane contract.
v1.14.10
- Added a CHANGELOG.md file to begin tracking changes. - Updated package.json for the new release (version 1.14.10).
v1.14.9
**Emperor Claw OS v1.14.9** — Streamlined doctrine and clarified control plane protocols. - Simplified and clarified SKILL.md to focus on the control-plane contract and durable checkpointing for AI workforce management. - Updated Quick Start and deployment sections for clearer onboarding and variable requirements. - Tightened descriptions of agent activation, WebSocket listening loops, and state synchronization. - Referenced bridge adapters (JS/Python) more concisely; specified their reference/adapter nature. - Reorganized and shortened doctrine and core principle lists for higher clarity. - Improved references to documentation for easier navigation and troubleshooting.
v1.14.8
**Added autonomous listening loop protocol and documentation improvements:** - Introduced section "5) The Autonomous Listening Loop," defining a mandatory Listen-Signal-Think-Reply protocol for agent responsiveness. - Clarified message handling: agents must not reply to their own messages to avoid infinite loops. - Emphasized signaling typing status and proper acknowledgment of human commands. - Reiterated that human commands override all current work. - Improved documentation formatting and added clarity for operational flow. - No API or code breaking changes; documentation and protocol guidance only.
v1.14.7
**Python bridge and session updates for Emperor Claw OS.** - Added a production-ready Python bridge (`examples/bridge.py`) and support script (`scripts/ec-bridge.py`) for MCP integration. - Enhanced activation protocol with runtime registration and session management steps. - Updated SKILL.md quick start and bridge documentation to highlight both JavaScript and Python bridge options. - api.md and other references updated for new session and bridge protocols. - Package.json and bridge examples updated to align with the new implementation pattern.
v1.14.6
- Added "Social Coordination" as a core operating principle, requiring agents to signal typing status and send regular read receipts for transparency. - Updated SKILL.md documentation to reflect this new principle and expand operational guidance. - No breaking changes to API protocols or required environment variables.
v1.14.5
Emperor Claw OS v1.14.5 - Major documentation overhaul: split README and operational doctrine into focused reference files under `references/` (API, roles, lifecycle, guidelines, examples, prerequisites, troubleshooting). - Simplified and modernized `SKILL.md`, now referencing detailed specs in external docs. - Deprecated and removed legacy `README.md`, `CHANGELOG.md`, and prior monolithic `docs/` structure. - Clarified environment variable and bootstrap instructions for manager agents. - Refined agent activation, state sync, and operational doctrine to align strictly with SaaS as source of truth. - Updated bridge and CLI examples to match new config standards.
v1.14.4
Version 1.14.4 of emperor-claw-os - Updated bridge usage documentation to clarify it serves as a transport/control-plane adapter and is not a complete autonomous manager loop. - Expanded references to credential leasing in examples and bridge instructions. - Incremented version references throughout documentation to 1.14.4 for consistency. - Minor text clarifications to agent activation, runtime registration, and memory hydration processes. - No breaking changes to API or skill doctrine.
v1.14.3
Version 1.14.3 - Bumped skill version from 1.14.2 to 1.14.3 for all references. - Updated SKILL.md for version alignment and consistency. - Minor documentation and metadata adjustments to ensure proper version tracking.
v1.14.2
No changes detected in this version (1.14.2). - No file changes were made since the previous release. - Documentation and skill behavior remain unchanged.
v0.1.2
- Added runnable bridge reference (examples/bridge.js) and launch scripts (scripts/ec-bridge.js, scripts/ec-bridge.sh) for bridging and operational integration. - Updated documentation (SKILL.md, README.md, HOW-IT-WORKS.md) to reference the new bridge implementation and quick-start guidance. - Bumped internal version to 1.14.2 for consistency across metadata and documentation. - Improved developer onboarding by clarifying the role of example and script files for runtime agent registration and state sync.
v1.14.1
emperor-claw-os 1.14.1 - Bumped version to 1.14.1 in all relevant documentation and metadata. - Updated documentation and skill instruction files for accuracy and consistency. - Minor clarifications in operating procedures and agent guidelines. - No changes to technical functionality or endpoint logic.
v1.14.0
**Version 1.14.0 summary: Expanded documentation, improved coordination, and more robust agent workflows.** - Documentation updated for clarity, including HOW-IT-WORKS, PREREQUISITES, and TROUBLESHOOTING guides. - New and improved example JSON files for agent coordination, registration, task claiming, completion, and notes. - Updated agent execution and communication guidelines for better transparency and collaboration. - Refined Quick Start instructions and workflow details in SKILL.md. - Minor adjustments in package configuration and scripts.
v1.13.2
Version 1.13.2 - Updated documentation in SKILL.md to set the skill version to 1.13.2. - Ensured consistency between frontmatter version and documented skill version. - No behavioral or code changes—documentation update only.
v1.13.0
**emperor-claw-os 1.13.0 Changelog** - Expanded and updated documentation: improved guides in `docs/` (HOW-IT-WORKS, PREREQUISITES, TROUBLESHOOTING). - Added and updated example JSON files for agent coordination, registration, and task lifecycle in `examples/`. - Enhanced `ec-cli.sh` script for improved CLI interactions. - Updated `package.json` for dependency or metadata adjustments. - General documentation clean-up and improvements in `README.md`, `CHANGELOG.md`, and `SKILL.md`.
v1.12.1
- Added support for real-time communication via WebSocket (`wss://emperorclaw.malecu.eu/api/mcp/ws`) for agent activation and message handling. - Updated Quick Start and operational lifecycle to require WebSocket connection instead of messages sync polling. - Specified integration API URL in documentation. - Incremented documentation skill version to 1.12.1.
Metadata
Slug control-plane
Version 1.14.15
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 42
Frequently Asked Questions

What is control-plane?

Operate Emperor Claw as the OpenClaw control plane and durable checkpoint layer for an AI workforce. It is an AI Agent Skill for Claude Code / OpenClaw, with 783 downloads so far.

How do I install control-plane?

Run "/install control-plane" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is control-plane free?

Yes, control-plane is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does control-plane support?

control-plane is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created control-plane?

It is built and maintained by Jose Zuma (@josezuma); the current version is v1.14.15.

💬 Comments