consensus-send-email-guard
/install consensus-send-email-guard
consensus-send-email-guard
consensus-send-email-guard is a production-style outbound communication guardrail.
What this skill does
- evaluates an email draft with a persona panel
- aggregates votes by reputation (weighted approval policy)
- enforces hard-block categories (sensitive data, legal/medical certainty, disallowed guarantees)
- returns final decision:
APPROVE | BLOCK | REWRITE - writes
decisionartifacts to board state
Why 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
- strict JSON contracts for automation pipelines
- idempotent retries to prevent duplicate reputation mutation
- reputation updates calibrate evaluator influence over time
Use cases
- customer-facing outbound messaging
- partner/legal-sensitive communications
- automated campaign quality gates
Runtime, credentials, and network behavior
- runtime binaries:
node,tsx - network calls: none in guard decision logic
- environment config read by this package:
CONSENSUS_STATE_FILE,CONSENSUS_STATE_ROOT - 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
Install
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):
- 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-send-email-guard - After installation, invoke the skill by name or use
/consensus-send-email-guard - Provide required inputs per the skill's parameter spec and get structured output
What is consensus-send-email-guard?
Persona-weighted pre-send email governance for AI systems. Produces APPROVE/BLOCK/REWRITE decisions, writes decision artifacts to the board ledger, and retur... It is an AI Agent Skill for Claude Code / OpenClaw, with 529 downloads so far.
How do I install consensus-send-email-guard?
Run "/install consensus-send-email-guard" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is consensus-send-email-guard free?
Yes, consensus-send-email-guard is completely free (open-source). You can download, install and use it at no cost.
Which platforms does consensus-send-email-guard support?
consensus-send-email-guard is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created consensus-send-email-guard?
It is built and maintained by Kai Cianflone (@kaicianflone); the current version is v1.1.15.