# Send consensus-publish-guard to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "consensus-publish-guard",
    "name": "consensus-publish-guard",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/kaicianflone/consensus-publish-guard",
    "canonicalUrl": "https://clawhub.ai/kaicianflone/consensus-publish-guard",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/consensus-publish-guard",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=consensus-publish-guard",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "AI-SELF-IMPROVEMENT.md",
      "README.md",
      "SKILL.md",
      "examples/input.json",
      "metadata.json",
      "package-lock.json"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "consensus-publish-guard",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T20:35:48.615Z",
      "expiresAt": "2026-05-11T20:35:48.615Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=consensus-publish-guard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=consensus-publish-guard",
        "contentDisposition": "attachment; filename=\"consensus-publish-guard-1.1.17.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "consensus-publish-guard"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/consensus-publish-guard"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/consensus-publish-guard",
    "downloadUrl": "https://openagent3.xyz/downloads/consensus-publish-guard",
    "agentUrl": "https://openagent3.xyz/skills/consensus-publish-guard/agent",
    "manifestUrl": "https://openagent3.xyz/skills/consensus-publish-guard/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/consensus-publish-guard/agent.md"
  }
}
```
## Documentation

### consensus-publish-guard

consensus-publish-guard protects public-facing content before release.

### What this skill does

reviews content drafts with persona consensus
flags policy/legal/sensitive-risk patterns
decides APPROVE | BLOCK | REWRITE
emits rewrite patch when fixable
persists decision artifacts to board state

### Why 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

AI-assisted social/media pipelines
product launch copy checks
policy-sensitive communications

### Runtime, credentials, and network behavior

runtime binaries: node, tsx
network calls: none in the guard decision path itself
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-core is the first-party consensus package used in guard execution
versions are semver-pinned in package.json for reproducible installs
this skill does not request host-wide privileges and does not mutate other skills

### Install 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):

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<OutputJson | 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 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.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: kaicianflone
- Version: 1.1.17
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T20:35:48.615Z
- Expires at: 2026-05-11T20:35:48.615Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/consensus-publish-guard)
- [Send to Agent page](https://openagent3.xyz/skills/consensus-publish-guard/agent)
- [JSON manifest](https://openagent3.xyz/skills/consensus-publish-guard/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/consensus-publish-guard/agent.md)
- [Download page](https://openagent3.xyz/downloads/consensus-publish-guard)