Install
openclaw skills install consensus-send-email-guardPersona-weighted pre-send email governance for AI systems. Produces APPROVE/BLOCK/REWRITE decisions, writes decision artifacts to the board ledger, and returns strict machine-parseable JSON.
openclaw skills install consensus-send-email-guardconsensus-send-email-guard is a production-style outbound communication guardrail.
APPROVE | BLOCK | REWRITEdecision artifacts to board stateEmail is high-impact and irreversible once sent. This skill reduces hallucinated promises and policy-violating claims before external side effects occur.
Stack position:
consensus-tools -> consensus-interact pattern -> persona_set -> send-email-guard
It converts raw generation into governed action with auditability.
node, tsxCONSENSUS_STATE_FILE, CONSENSUS_STATE_ROOTconsensus-guard-core is the first-party consensus package used in guard executionpackage.json for reproducible installsnpm i consensus-send-email-guard
node --import tsx run.js --input ./examples/email-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.