{
  "schemaVersion": "1.0",
  "item": {
    "slug": "consensus-guard-core",
    "name": "consensus-guard-core",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/kaicianflone/consensus-guard-core",
    "canonicalUrl": "https://clawhub.ai/kaicianflone/consensus-guard-core",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/consensus-guard-core",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=consensus-guard-core",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "AI-SELF-IMPROVEMENT.md",
      "README.md",
      "SECURITY-ASSURANCE.md",
      "SKILL.md",
      "package-lock.json",
      "package.json"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/consensus-guard-core"
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/consensus-guard-core",
    "agentPageUrl": "https://openagent3.xyz/skills/consensus-guard-core/agent",
    "manifestUrl": "https://openagent3.xyz/skills/consensus-guard-core/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/consensus-guard-core/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "consensus-guard-core",
        "body": "consensus-guard-core is the common policy engine behind the Consensus guard ecosystem."
      },
      {
        "title": "What this skill/package provides",
        "body": "unified hard-block taxonomy\ndeterministic aggregateVotes() policy function\ndeterministic reputation update rules with clamping\nidempotency key generation for retry-safe execution\nstrict-schema unknown-field rejection helpers\nindexed board read helpers for scalable artifact lookup"
      },
      {
        "title": "Why this matters",
        "body": "Without a shared core, every guard drifts into incompatible policy logic. This package keeps behavior consistent, replayable, and comparable across domains."
      },
      {
        "title": "Ecosystem role",
        "body": "consensus-guard-core is consumed by publish/support/merge/action guards and should be treated as policy infrastructure, not an end-user workflow skill."
      },
      {
        "title": "Benefits for LLM orchestration",
        "body": "lower integration drift\nconsistent decision semantics across workflows\neasier auditing and cross-skill analytics"
      },
      {
        "title": "Runtime, credentials, and network behavior",
        "body": "runtime binaries: node, tsx\nnetwork calls: none in this package's core decision/path helpers\ncredentials: none required by this package\nenvironment config read by this package: CONSENSUS_STATE_FILE, CONSENSUS_STATE_ROOT (for board/state path resolution)\nfilesystem writes: board/state artifacts under the configured consensus state path when callers use write helpers (for example writeArtifact)"
      },
      {
        "title": "Dependency trust model",
        "body": "consensus-guard-core is a first-party consensus package\nversions are semver-pinned in package.json for reproducible installs\nthis skill does not request host-wide privileges and does not mutate other skills\nnote: dependency trees should be audited separately by consumers for transitive packages"
      },
      {
        "title": "Install",
        "body": "npm i consensus-guard-core"
      },
      {
        "title": "Quick start",
        "body": "npm test"
      },
      {
        "title": "Import contract",
        "body": "Use the package root import (stable public API):\n\nimport { aggregateVotes, writeArtifact, resolveStatePath } from 'consensus-guard-core';\n\nDo not import internal paths like consensus-guard-core/src/index.mjs in dependent skills."
      },
      {
        "title": "Tool-call integration",
        "body": "This skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):\n\nreadBoardPolicy\ngetLatestPersonaSet / getPersonaSet\nwriteArtifact / writeDecision\nidempotent decision lookup\n\nThis keeps board orchestration standardized across skills."
      },
      {
        "title": "Invoke Contract",
        "body": "This skill exposes a canonical entrypoint:\n\ninvoke(input, opts?) -> Promise<OutputJson | ErrorJson>\n\ninvoke() is primitives-only and delegates to a caller-provided handler. It does not perform persona generation or model/provider calls.\n\nSee also: SECURITY-ASSURANCE.md for threat model, runtime boundaries, and hardening guidance."
      }
    ],
    "body": "consensus-guard-core\n\nconsensus-guard-core is the common policy engine behind the Consensus guard ecosystem.\n\nWhat this skill/package provides\nunified hard-block taxonomy\ndeterministic aggregateVotes() policy function\ndeterministic reputation update rules with clamping\nidempotency key generation for retry-safe execution\nstrict-schema unknown-field rejection helpers\nindexed board read helpers for scalable artifact lookup\nWhy this matters\n\nWithout a shared core, every guard drifts into incompatible policy logic. This package keeps behavior consistent, replayable, and comparable across domains.\n\nEcosystem role\n\nconsensus-guard-core is consumed by publish/support/merge/action guards and should be treated as policy infrastructure, not an end-user workflow skill.\n\nBenefits for LLM orchestration\nlower integration drift\nconsistent decision semantics across workflows\neasier auditing and cross-skill analytics\nRuntime, credentials, and network behavior\nruntime binaries: node, tsx\nnetwork calls: none in this package's core decision/path helpers\ncredentials: none required by this package\nenvironment config read by this package: CONSENSUS_STATE_FILE, CONSENSUS_STATE_ROOT (for board/state path resolution)\nfilesystem writes: board/state artifacts under the configured consensus state path when callers use write helpers (for example writeArtifact)\nDependency trust model\nconsensus-guard-core is a first-party consensus package\nversions are semver-pinned in package.json for reproducible installs\nthis skill does not request host-wide privileges and does not mutate other skills\nnote: dependency trees should be audited separately by consumers for transitive packages\nInstall\nnpm i consensus-guard-core\n\nQuick start\nnpm test\n\nImport contract\n\nUse the package root import (stable public API):\n\nimport { aggregateVotes, writeArtifact, resolveStatePath } from 'consensus-guard-core';\n\n\nDo not import internal paths like consensus-guard-core/src/index.mjs in dependent skills.\n\nTool-call integration\n\nThis skill is wired to the consensus-interact contract boundary (via shared consensus-guard-core wrappers where applicable):\n\nreadBoardPolicy\ngetLatestPersonaSet / getPersonaSet\nwriteArtifact / writeDecision\nidempotent decision lookup\n\nThis keeps board orchestration standardized across skills.\n\nInvoke Contract\n\nThis skill exposes a canonical entrypoint:\n\ninvoke(input, opts?) -> Promise<OutputJson | ErrorJson>\n\ninvoke() is primitives-only and delegates to a caller-provided handler. It does not perform persona generation or model/provider calls.\n\nSee also: SECURITY-ASSURANCE.md for threat model, runtime boundaries, and hardening guidance."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/kaicianflone/consensus-guard-core",
    "publisherUrl": "https://clawhub.ai/kaicianflone/consensus-guard-core",
    "owner": "kaicianflone",
    "version": "1.1.13",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/consensus-guard-core",
    "downloadUrl": "https://openagent3.xyz/downloads/consensus-guard-core",
    "agentUrl": "https://openagent3.xyz/skills/consensus-guard-core/agent",
    "manifestUrl": "https://openagent3.xyz/skills/consensus-guard-core/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/consensus-guard-core/agent.md"
  }
}