OpenClaw Guard Skill (VAIBot v2.1)
name: openclaw-guard-skill
by briantanthony · published 2026-03-22
$ claw add gh:briantanthony/briantanthony-vaibot-guard---
name: openclaw-guard-skill
description: Local VAIBot Guard skill for OpenClaw. Use to run the guard service, enforce tool decisions via the OpenClaw circuit-breaker plugin, manage approvals, and validate guard receipts/audit logs. Also use when installing/operating the guard systemd user service or running guard unit tests.
---
# OpenClaw Guard Skill (VAIBot v2.1)
Provide a **local policy decision service** plus a CLI to gate OpenClaw tool calls and write **tamper-evident audit logs** in `.vaibot-guard/`.
Sensitive credentials
Treat these as secrets.
HTTP API (guard service)
Auth:
Manual quick start (no persistence)
Run the service in the foreground:
export VAIBOT_GUARD_HOST=127.0.0.1
export VAIBOT_GUARD_PORT=39111
export VAIBOT_POLICY_PATH=references/policy.default.json
export VAIBOT_WORKSPACE="$(pwd)"
export VAIBOT_GUARD_LOG_DIR="$VAIBOT_WORKSPACE/.vaibot-guard"
export VAIBOT_GUARD_TOKEN="<random-token>"
node scripts/vaibot-guard-service.mjsSmoke test:
curl -s http://127.0.0.1:39111/healthOpenClaw enforcement (recommended)
Use the **OpenClaw circuit-breaker plugin** so tool calls are intercepted at the gateway (not just “model follows instructions”).
Reference:
Optional: systemd user service
Install a user service + env file via the CLI helper:
node scripts/vaibot-guard.mjs install-localThis writes:
Templates live under `references/systemd/` for reference.
Policy + schemas
See:
Tests
Run guard service tests (no external deps):
node --test tests/guard-service.test.mjsMore tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...