A robust framework for defining immutable behavioral rules, permission boundaries, and safety interlocks that AI agents cannot override.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install skylv-agent-constitution-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 skylv-agent-constitution-guard using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Agent Constitution Guard is a specialized safety system designed to provide AI agents with a set of enforceable, constitutional rules. By utilizing this within the Openclaw Skills framework, developers can establish multi-layered defense mechanisms that protect infrastructure from accidental or malicious actions. The skill ensures that agents operate within strict boundaries, preventing unauthorized data exfiltration, system modifications, or excessive API spending, even when faced with prompt injection or social engineering attempts.
This system acts as a foundational layer for responsible AI deployment, offering a structured way to manage agent permissions. Integrating these Openclaw Skills into your workflow allows for a higher level of trust and reliability, as every action is cross-referenced against a predefined constitution that remains immutable regardless of the context or user pressure.
To get started with this skill for Openclaw Skills, follow these installation steps:
node constitution.js init --name "my-agent" --owner "[email protected]"
node constitution.js rule add --level immutable --action deny --scope "external_write" --description "Block all unauthorized external API writes"
const decision = guard.check('external_write', { target: 'api.example.com' });
if (!decision.allowed) { /* Handle restriction */ }
The skill manages its data within a .constitution/ directory, using a structured format to ensure high-speed lookups and audit integrity:
| File | Role | Format |
|---|---|---|
rules.json |
Stores the active hierarchy of behavioral constraints | JSON |
audit.log |
An append-only log of every permission check performed | JSONL |
config.json |
Global settings including escalation timeouts and retention policies | JSON |
Each rule entry includes an ID, scope, level (Immutable, Owner-only, Mutable, or Advisory), and specific conditions such as environment or data type restrictions.
Loading
An AI-powered traditional Chinese divination skill that combines ancient I Ching wisdom with Python-driven hexagram generation.

A comprehensive security testing harness providing 470 executable protocol and behavioral tests for AI agent systems.

An intelligent automation skill for generating, researching, and staging classified ad drafts on kleinanzeigen.de.

A sophisticated AI divination tool providing I Ching readings through virtual coin simulation and cross-cultural philosophical analysis.

A comprehensive configuration management system for AI agents to handle environment variables, secrets, and versioned settings.

A professional evaluation framework that scores AI agent performance across five critical dimensions to provide actionable improvement insights.








































