moses-coordinator

Monitor OpenClaw Gateway WebSocket sessions and log agent sequence violations.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/SunrisesIllNeverSee/moses-claw-gov --skill moses-coordinator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: moses-coordinator
Source: https://github.com/SunrisesIllNeverSee/moses-claw-gov/tree/main/skills/moses-coordinator
Command: npx skills add https://github.com/SunrisesIllNeverSee/moses-claw-gov --skill moses-coordinator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires websockets, and includes scripts (resource) components.

What problem does it solve?

MO§ES™ Coordinator provides a lightweight daemon that monitors OpenClaw Gateway WebSocket for session events, detects sequence violations (Primary → Secondary → Observer), and logs them to a governance audit trail. It acts as an optional component of the moses-governance bundle to strengthen real-time compliance.

Core Features & Use Cases

  • Monitors the OpenClaw Gateway WebSocket to receive session updates and track agent order.
  • Detects sequence violations and logs incidents to the local audit trail for operator review.
  • Supports deployment as a background service to ensure continuous governance enforcement.

Quick Start

Run python3 scripts/coordinator.py in the background to start monitoring OpenClaw gateway session events.

Frequently Asked Questions about moses-coordinator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor agent sequence flow in OpenClaw sessions?

Monitor agent sequence flow by running a Python async daemon that connects to the OpenClaw Gateway WebSocket to track Primary → Secondary → Observer agent order. It detects out-of-order responses and logs incidents to a local audit trail for operator review.

What is the best way to enforce governance compliance in a multi-agent environment?

Enforce governance compliance by deploying a lightweight background service that monitors session WebSocket events and records sequence violations. This detects out-of-order agent responses continuously, logging incidents to a local audit trail for review.

Do I need a WebSocket gateway to audit agent sessions?

Yes, auditing agent sessions requires a WebSocket gateway running at ws://127.0.0.1:18789. The Python async monitor connects to this endpoint to receive session updates and track agent sequencing governance events.

How do I detect out-of-order agent responses during a session?

Detect out-of-order agent responses by running python3 scripts/coordinator.py in the background. This starts monitoring the OpenClaw Gateway WebSocket to track agent order and log sequence violations to the audit trail.

Can I run the session coordinator as a background service?

Yes, the session coordinator supports deployment as a background service to ensure continuous governance enforcement. Running it in the background provides real-time monitoring of agent sequence violations across session lifecycles.

What dependencies are required for OpenClaw session governance monitoring?

OpenClaw session governance monitoring requires the Python websockets library and a local audit script for logging. The coordinator operates as a Python async monitor using these dependencies to track WebSocket events.