A persona-weighted governance tool for AI-assisted engineering that evaluates PR risks and automates merge decisions.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install consensus-code-merge-guard
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 consensus-code-merge-guard using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Consensus Code Merge Guard transforms the standard code approval process into a governed, auditable decision-making framework. By moving beyond simple pass/fail CI checks, this tool evaluates complex pull request risks through persona-weighted arbitration, ensuring that reliability signals and security markers are thoroughly weighed before a merge occurs.
Integrating seamlessly into the Openclaw Skills ecosystem, it provides engineering teams with a structured way to handle autonomous or semi-autonomous code changes. It reduces the likelihood of silent failure propagation by enforcing hard constraints and recording every decision as a board-native audit artifact, ensuring transparency across the entire development lifecycle.
Install the package using npm:
npm i consensus-code-merge-guard
Set up the necessary environment variables to define your state management paths:
export CONSENSUS_STATE_FILE="path/to/state.json"
export CONSENSUS_STATE_ROOT="path/to/root/"
Execute the guard using node and tsx:
node --import tsx run.js --input ./examples/input.json
This skill utilizes a structured data approach to ensure all decisions are reproducible and transparent within Openclaw Skills environments.
| Element | Description |
|---|---|
| CONSENSUS_STATE_FILE | The primary JSON file tracking the current state of governance decisions. |
| CONSENSUS_STATE_ROOT | The directory where board-native audit artifacts and persona sets are stored. |
| Decision Output | A structured JSON response containing the final MERGE, BLOCK, or REVISE status. |
| Board Artifacts | Metadata describing the weights, votes, and constraints used in the decision process. |
Loading
A pre-execution safety gate that uses persona-weighted consensus to govern high-risk AI agent actions before they cause irreversible side effects.

Deploy websites, forms, and dashboards instantly through a simple API with no build steps or hosting configuration required.

A professional-grade skill for querying official Traditional Chinese dictionaries from Taiwan's Ministry of Education with automated version management.

A comprehensive orchestration framework for AI agents to manage complex tasks, ensure high code quality, and implement a continuous self-improvement loop.

A deterministic safety gate for deployment execution that enforces governance through schema validation and persona-weighted voting.

A shared deterministic policy engine providing the core primitives for vote aggregation, reputation management, and schema enforcement within the Openclaw Skills ecosystem.








































