consensus-send-email-guard
by @kaicianflone
Persona-weighted pre-send email governance for AI systems. Produces APPROVE/BLOCK/REWRITE decisions, writes decision artifacts to the board ledger, and retur...
clawhub install consensus-send-email-guardπ About This Skill
name: consensus-send-email-guard description: Persona-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. version: 1.1.14 homepage: https://github.com/kaicianflone/consensus-send-email-guard source: https://github.com/kaicianflone/consensus-send-email-guard upstream: consensus-guard-core: https://github.com/kaicianflone/consensus-guard-core
requires: bins: - node - tsx env: - CONSENSUS_STATE_FILE - CONSENSUS_STATE_ROOT metadata: openclaw: requires: bins: - node - tsx env: - CONSENSUS_STATE_FILE - CONSENSUS_STATE_ROOT install: - kind: node package: consensus-send-email-guard
consensus-send-email-guard
consensus-send-email-guard is a production-style outbound communication guardrail.
What this skill does
APPROVE | BLOCK | REWRITEdecision artifacts to board stateWhy this matters
Email is high-impact and irreversible once sent. This skill reduces hallucinated promises and policy-violating claims before external side effects occur.
Ecosystem role
Stack position:
consensus-tools -> consensus-interact pattern -> persona_set -> send-email-guard
It converts raw generation into governed action with auditability.
Governance and learning
Use cases
Runtime, credentials, and network behavior
node, tsxCONSENSUS_STATE_FILE, CONSENSUS_STATE_ROOTDependency trust model
consensus-guard-core is the first-party consensus package used in guard executionpackage.json for reproducible installsInstall
npm i consensus-send-email-guard
Quick start
node --import tsx run.js --input ./examples/email-input.json
Tool-call integration
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.
Invoke Contract
This skill exposes a canonical entrypoint:
invoke(input, opts?) -> Promiseinvoke() 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 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.β‘ When to Use
π‘ Examples
node --import tsx run.js --input ./examples/email-input.json