Install
openclaw skills install consensus-agent-action-guardPre-execution governance for high-risk agent actions. Uses persona-weighted consensus to decide ALLOW/BLOCK/REQUIRE_REWRITE before external or irreversible side effects occur, with board-native audit artifacts.
openclaw skills install consensus-agent-action-guardconsensus-agent-action-guard is the final safety gate before autonomous action execution.
ALLOW | BLOCK | REQUIRE_REWRITEMost catastrophic automation failures happen at execution time. This skill inserts explicit governance before side effects.
Built on the same consensus stack as communication and merge guards, giving one policy language across agent operations.
node, tsxconsensus-guard-core is the first-party consensus package used in guard executionpackage.json for reproducible installsnode --import tsx run.js --input ./examples/input.json
This skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):
This keeps board orchestration standardized across skills.
This skill exposes a canonical entrypoint:
invoke(input, opts?) -> Promise<OutputJson | ErrorJson>invoke() starts the guard flow and executes deterministic policy evaluation with board operations via shared guard-core wrappers.
Guards support two modes:
mode="external_agent": caller supplies external_votes[] from agents/humans/models for deterministic aggregation.mode="persona": requires an existing persona_set_id; guard will not generate persona sets internally.