Overview
- Skill Key
- devongenerally-png/governance-guard
- Author
- devongenerally-png
- Source Repo
- openclaw/skills
- Version
- 0.1.0
- Source Path
- skills/devongenerally-png/governance-guard
- Latest Commit SHA
- eede8c0007abf406e304566e20ff996c3e4abe25
Structural authority separation for autonomous agent actions. Three-phase governance pipeline: PROPOSE, DECIDE, PROMOTE. No action is both proposed and approved by the same computational pathway.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 governance-guard 技能。 若已安装,则直接安装 governance-guard 技能。
# governance-guard Governance guard enforces structural authority separation on all agent actions through a PROPOSE-DECIDE-PROMOTE pipeline. ## When to activate Before performing any **write**, **execute**, **network**, **create**, or **delete** action. The governance pipeline MUST be invoked before the action executes. Read actions may also be governed under standard or strict policies. ## How to use ### 1. Full pipeline (recommended) Run the complete PROPOSE → DECIDE → PROMOTE pipeline in a single call: ```bash npx tsx scripts/governance.ts pipeline '<intent-json>' --policy policies/standard.yaml ``` The intent JSON must include: - `skill`: skill identifier - `tool`: tool/function being invoked - `model`: LLM model name - `actionType`: one of `read`, `write`, `execute`, `network`, `create`, `delete` - `target`: resource being acted upon - `parameters`: tool parameters (object) - `dataScope`: data categories accessed (array, e.g. `["personal", "financial"]`) - `conversationId`: current conversation ID - `messageId`: current message ID - `userInstruction`: the user message that triggered this action ### 2. Handle the verdict The pipeline returns a JSON response: - If `"governance": "approved"` — proceed with the action - If `"governance": "deny"` — do NOT proceed; inform the user with the `reason` - If `"governance": "escalate"` — present the action to the user for approval: ``` Action requires your approval: Skill: <skill> Action: <actionType> on <target> Reason: <reason> Reply APPROVE or DENY ``` Then resolve: ```bash npx tsx scripts/governance.ts resolve-escalation <intent-id> approve # or npx tsx scripts/governance.ts resolve-escalation <intent-id> deny ``` ### 3. Audit decisions ```bash npx tsx scripts/governance.ts audit --last 10 ``` ## Policy presets | Preset | Default | Description | |--------|---------|-------------| | `minimal` | approve | Blocks only credentials and d...
# governance-guard
Structural authority separation for autonomous agent actions. An [OpenClaw](https://openclaw.dev) skill that interposes a three-phase governance pipeline between agent intent and execution.
**Core principle**: PROPOSE ≠ DECIDE ≠ PROMOTE. The agent proposes actions. A separate, deterministic policy engine decides admissibility. Only approved actions are promoted to execution. Every transition is witnessed.
## Quick start
```bash
# Install
npm install
# Run the governance pipeline
npx tsx scripts/governance.ts pipeline \
'{"skill":"browser","tool":"fetch","model":"claude","actionType":"network","target":"https://api.example.com","parameters":{},"dataScope":[],"conversationId":"c1","messageId":"m1","userInstruction":"fetch the API"}' \
--policy policies/standard.yaml
```
## Architecture
```
Agent Intent → PROPOSE → DECIDE → PROMOTE → Execution
│ │ │
Serialize Evaluate Gate on
+ hash policy approval
(no LLM) + freshness
```
| Phase | Authority | Implementation |
|-------|-----------|---------------|
| PROPOSE | Agent (LLM) | Structured intent capture with SHA-256 hash binding |
| DECIDE | Policy Engine (deterministic) | Pure function: policy + intent → verdict. No LLM. |
| PROMOTE | Execution Gate | Approve verdict + hash match + freshness check |
## Policy presets
| Preset | Default | Use case |
|--------|---------|----------|
| `minimal` | approve | Low friction. Blocks only credentials and destructive commands. |
| `standard` | deny | Recommended. Allows common ops, escalates network/delete. |
| `strict` | deny | Maximum safety. Reads only, everything else escalates. |
See [references/policy-schema.md](references/policy-schema.md) for the full policy file specification.
## Witness chain
Every governance decision is recorded as a hash-chained witness record in `~/....
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.