A multi-agent governance skill that enforces a strict response hierarchy and sequencing between Primary, Secondary, and Observer agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install moses-roles
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install moses-roles using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
moses-roles is a foundational component of the MO§ES™ governance bundle designed to bring constitutional order to multi-agent environments. By defining specific responsibilities for Primary, Secondary, and Observer roles, it eliminates redundant processing and ensures that AI agents interact within a structured, logical sequence. This skill is essential for users of Openclaw Skills who require high-integrity outputs where validation and oversight are baked into the agentic workflow.
The skill operates on the principle that sequence is law. By preventing out-of-turn responses and requiring agents to consume the context of their predecessors, moses-roles transforms a chaotic group of LLMs into a disciplined team. Whether you are building complex software or managing sensitive data, this skill provides the hierarchical framework necessary for reliable AI operations.
To utilize moses-roles effectively, it is recommended to install the full moses-governance bundle. You can configure your workspace by updating your AGENTS.md file.
# Example of manually logging a sequence violation
python3 ~/.openclaw/workspace/skills/moses-governance/scripts/audit_stub.py log --action "sequence_violation" --detail "agent responded out of turn"
Add the role definitions to your ~/.openclaw/workspace/AGENTS.md to ensure Openclaw Skills recognize the hierarchy.
The skill relies on a centralized governance state and specific workspace configurations to maintain the hierarchy:
| Data Element | Path | Purpose |
|---|---|---|
| Governance State | ~/.openclaw/governance/state.json |
Stores active mode, posture, and role constraints. |
| Agent Definitions | ~/.openclaw/workspace/AGENTS.md |
Defines the specific behavior and tool access for each role. |
| Audit Logs | External Script (moses-audit) | Captures violations and state changes for compliance. |
/role broadcast to temporarily suspend sequencing, allowing all agents to respond independently for brainstorming or parallel processing.audit_stub.py to record every role-based action or hierarchy violation.MOSES_OPERATOR_SECRET to provide a secure local gate for sensitive governance changes.Loading
A sophisticated code review skill that employs multiple parallel subagents to identify bugs, security flaws, and best practice violations.

An automated system that transforms written scripts into professional short-form drama videos with multi-character AI voices and cinematic transitions.

A comprehensive quantitative analysis tool for the A-share market that retrieves stock quotes, financial reports, and sector data using the AkShare library.

An automated intelligence framework designed to generate professional-grade competitive analysis reports with high ROI.

An advanced intelligence-gathering skill that builds comprehensive pre-meeting briefs on companies and decision-makers.

An unofficial, API-first automation skill to programmatically manage Buy Me a Pie grocery lists and items.








































