warden-governance
БесплатноЗапускает вложенные скриптыНе проверенEvery action your OpenClaw bot tries to take is evaluated by War/Den before it executes.
от modbender★ 21 звезда на GitHubОб этом скилле
War/Den Governance Skill
ClawHub Package:
an2b/warden-governanceVersion: 1.0.0 Category: Governance & Security License: MIT
What This Skill Does
Every action your OpenClaw bot tries to take is evaluated by War/Den before it executes.
Your Bot -> War/Den check -> ALLOW -> action executes
-> DENY -> action blocked + logged
-> REVIEW -> waits for your approval
No more deleted emails. No more data exfiltration. No more ungoverned agents.
Community mode works with zero external dependencies. No API keys. No cloud. Just YAML policies, a local SQLite audit log, and a hash chain you can verify.
Install
From ClawHub (recommended)
openclaw skill install an2b/warden-governance
From pip
pip install warden-governance-skill
Both methods install to: ~/.openclaw/skills/warden-governance/
On successful install you'll see:
🦞 War/Den governance active.
Your OpenClaw bot is now governed.
Add to your OpenClaw config
skills:
- name: warden-governance
config:
SENTINEL_API_KEY: "" # optional -- leave blank for community mode
ENGRAMPORT_API_KEY: "" # optional -- leave blank for local memory
WARDEN_FAIL_OPEN: "false" # block on governance failure (default)
Restart your bot
openclaw restart
That's it. Your bot is now governed.
How It Works
Hooks
This skill registers three OpenClaw hooks:
| Hook | Purpose |
|---|---|
before_action |
Evaluate every action against policy before execution |
after_action |
Write action result to governed memory |
on_error |
Log errors to tamper-evident audit trail |
Action Bridge
All 15 OpenClaw action types are mapped to War/Den governance types:
| OpenClaw Action | War/Den Type | Default Protection |
|---|---|---|
email.send |
message.send |
Monitored |
email.delete |
data.write |
Requires human review |
email.read |
data.read |
Monitored |
file.write |
data.write |
Monitored |
file.delete |
data.write |
Requires human review |
file.read |
data.read |
Monitored |
browser.navigate |
api.call |
Monitored |
browser.click |
api.call |
Monitored |
shell.execute |
code.execute |
Blocked in production |
api.call |
api.call |
Monitored |
calendar.create |
data.write |
Monitored |
calendar.delete |
data.write |
Requires human review |
message.send |
message.send |
Monitored |
code.execute |
code.execute |
Blocked in production |
payment.create |
api.call |
Requires human review |
Policy Engine
Policies are YAML files evaluated in priority order:
policies:
- name: protect-email-delete
match:
action.type: data.write
action.data.openclaw_original: email.delete
decision: review
mode: enforce
priority: 1
active: true
reason: "Email deletion requires human review."
Evaluation rules:
- Filter to active policies only
- Sort by priority ascending (lower number = higher priority)
- First match wins
mode: monitor-- log but return ALLOWmode: enforce-- return the matched decision- No match -- default ALLOW
Pre-built Policy Packs
Load governance instantly with built-in packs:
| Pack | What It Does |
|---|---|
basic_safety |
Blocks code execution in prod, monitors writes and API calls |
phi_guard |
Denies PHI access in dev, requires review for memory export |
payments_guard |
Denies payment actions in dev, requires review in prod |
Audit Trail
Every governance decision is written to a tamper-evident SHA-256 hash chain:
Event N: hash = SHA256(prev_hash + agent_id + action_type + decision + timestamp)
Event N+1: prev_hash = Event N hash
Verify the chain at any time:
valid, bad_event_id = audit_log.verify_chain()
Decision Cache
ALLOW decisions are cached for 5 minutes (configurable). DENY and REVIEW are never cached -- they always hit the governance engine fresh.
Community vs Enterprise
| Feature | Community (Free) | Enterprise |
|---|---|---|
| Policy enforcement | Local YAML | Sentinel_OS cloud |
| Audit trail | Local SQLite + hash chain | Cloud + signed PDF |
| Memory storage | Local SQLite | EngramPort cloud (MandelDB) |
| Memory search | Text search (LIKE) | Vector search (3072-dim) |
| Synthesis | Basic recall | Eidetic AI synthesis |
| Cross-bot memory | -- | Orchestra multi-agent |
| Multi-namespace | 3 max | Unlimited |
| Compliance export | -- | SOC2/HIPAA PDF |
| Cryptographic provenance | Local hash chain | AEGIS (SHA-256 + R |
Установить warden-governance в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл warden-governance?
Every action your OpenClaw bot tries to take is evaluated by War/Den before it executes.
Как установить скилл warden-governance?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл warden-governance запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic