A decentralized governance framework on Base Sepolia that allows AI agents to follow rules, log actions, and prove compliance on-chain.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-constitution
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 agent-constitution using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
AgentConstitution provides a robust framework for regulating AI agent behavior through smart contracts on the Base Sepolia network. By integrating this skill into the Openclaw Skills ecosystem, developers can ensure their agents operate under a public constitution, which is essential for earning user trust through verifiable on-chain actions. This skill bridges the gap between autonomous execution and human-defined ethics by providing a "legal" layer for AI.
The primary purpose of this skill is to allow agents to interact with a suite of governance contracts, including registries, action logs, and tribunals. This ensures that every significant action is transparent and every agent remains accountable to a set of genesis rules, such as preserving human override and preventing self-modification of governance logic.
To get started with this skill on Base Sepolia, use the following configuration:
# Set your RPC URL and Private Key
export RPC_URL=https://sepolia.base.org
export AGENT_PRIVATE_KEY=your_private_key
# Check if an Agent is currently compliant
./scripts/check-compliance.sh <agentId>
# Read all active constitutional rules
./scripts/get-rules.sh
The AgentConstitution skill manages data across several specialized contracts to maintain the integrity of the Openclaw Skills environment:
| Data Component | Format | Description |
|---|---|---|
| Agent Registry | Mapping | Maps agent IDs to compliance status and registration metadata. |
| Action Log | Event/Struct | Contains actionType, riskLevel, contextHash, and a text description. |
| Constitution | Array | A list of active rules, including genesis rules and human-proposed amendments. |
| Governance State | Boolean/Uint | Tracks emergency status and the threshold for rule activation. |
Loading
A comprehensive developer tool for building .NET applications that process Excel, Word, PDF, and email files using GemBox components.

A smart PDF utility that automatically detects page orientation to apply perfectly centered, adjustable text watermarks.

A two-layer safety framework designed to protect AI agents from prompt injections and sensitive content violations.

An intelligent multi-model routing manager that optimizes AI performance and reduces costs through automated model selection and failover logic.

A specialized Windows skill for converting text to speech and sending it as native Feishu voice bubbles.

A local semantic memory plugin for Openclaw Skills providing vector-based context storage and recall without external API dependencies.








































