Consensus Publish Guard
by @kaicianflone
Persona-weighted governance for outbound publishing (blog, social, announcements). Prevents unsafe public claims via hard-block checks, weighted consensus, r...
clawhub install consensus-publish-guardπ About This Skill
name: consensus-publish-guard description: Persona-weighted governance for outbound publishing (blog, social, announcements). Prevents unsafe public claims via hard-block checks, weighted consensus, rewrite paths, and board-native audit artifacts. version: 1.1.15 homepage: https://github.com/kaicianflone/consensus-publish-guard source: https://github.com/kaicianflone/consensus-publish-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-publish-guard
consensus-publish-guard
consensus-publish-guard protects public-facing content before release.
What this skill does
APPROVE | BLOCK | REWRITEWhy this matters
Public content creates brand, legal, and trust exposure. Consensus review creates a safer publish gate than single-pass generation.
Ecosystem role
Uses deterministic logic from consensus-guard-core and existing persona inputs, persisted via consensus board primitives.
Good fit for
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 assumptions
This repository currently expects a local sibling checkout of consensus-guard-core.
# from repos/ directory
repos/
consensus-guard-core/
consensus-publish-guard/
Then install dependencies in this repo:
npm i
Install (registry)
npm i consensus-publish-guard
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):
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.π‘ Examples
node --import tsx run.js --input ./examples/input.json