consensus-agent-action-guard
/install consensus-agent-action-guard
consensus-agent-action-guard
consensus-agent-action-guard is the final safety gate before autonomous action execution.
What this skill does
- evaluates proposed agent actions (risk, irreversibility, side effects)
- applies hard-block and weighted consensus logic
- returns one of:
ALLOW | BLOCK | REQUIRE_REWRITE - emits required follow-up actions (e.g., human confirmation)
- writes decision and persona updates to board artifacts
Why this matters
Most catastrophic automation failures happen at execution time. This skill inserts explicit governance before side effects.
Ecosystem role
Built on the same consensus stack as communication and merge guards, giving one policy language across agent operations.
Typical usage
- gating destructive operations
- controlling external messaging/posting actions
- requiring human confirmation for irreversible high-risk tasks
Runtime, credentials, and network behavior
- runtime binaries:
node,tsx - network calls: none in the guard decision path itself
- filesystem writes: board/state artifacts under the configured consensus state path
Dependency trust model
consensus-guard-coreis the first-party consensus package used in guard execution- versions are semver-pinned in
package.jsonfor reproducible installs - this skill does not request host-wide privileges and does not mutate other skills
Quick start
node --import tsx run.js --input ./examples/input.json
Tool-call integration
This skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):
- readBoardPolicy
- getLatestPersonaSet / getPersonaSet
- writeArtifact / writeDecision
- idempotent decision lookup
This keeps board orchestration standardized across skills.
Invoke Contract
This skill exposes a canonical entrypoint:
invoke(input, opts?) -> Promise\x3COutputJson | ErrorJson>
invoke() starts the guard flow and executes deterministic policy evaluation with board operations via shared guard-core wrappers.
external_agent mode
Guards support two modes:
mode="external_agent": caller suppliesexternal_votes[]from agents/humans/models for deterministic aggregation.mode="persona": requires an existingpersona_set_id; guard will not generate persona sets internally.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install consensus-agent-action-guard - After installation, invoke the skill by name or use
/consensus-agent-action-guard - Provide required inputs per the skill's parameter spec and get structured output
What is consensus-agent-action-guard?
Pre-execution governance for high-risk agent actions. Uses persona-weighted consensus to decide ALLOW/BLOCK/REQUIRE_REWRITE before external or irreversible s... It is an AI Agent Skill for Claude Code / OpenClaw, with 501 downloads so far.
How do I install consensus-agent-action-guard?
Run "/install consensus-agent-action-guard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is consensus-agent-action-guard free?
Yes, consensus-agent-action-guard is completely free (open-source). You can download, install and use it at no cost.
Which platforms does consensus-agent-action-guard support?
consensus-agent-action-guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created consensus-agent-action-guard?
It is built and maintained by Kai Cianflone (@kaicianflone); the current version is v1.1.14.