360 Secure SkillHub
360 安全技能中心

consensus-support-reply-guard

该 Skill 在客服回复发送前评估草稿,检测法律、敏感与保密类高风险表述,执行硬性阻断或改写策略,并依据最终决策更新 persona 声誉、在 board 状态路径写入可审计决策产物。支持 external_agent 与 persona 两种模式,决策路径不发起网络请求。

kaicianflone
kaicianflone
热度 57.01
最近更新 2026-05-11 17:27:32
分类:安全依赖:代码执行 / 读写文件应用场景:工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add consensus-support-reply-guard
Metadata
name
consensus-support-reply-guard
description
Risk-aware support response governance with persona-weighted consensus. Detects legal/sensitive/confidentiality issues, applies hard-block policy checks, and writes auditable decision artifacts for customer-facing automation.
version
1.1.14
homepage
https://github.com/kaicianflone/consensus-support-reply-guard
source
https://github.com/kaicianflone/consensus-support-reply-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-support-reply-guard","bins":["node","tsx"]}]}}

consensus-support-reply-guard

consensus-support-reply-guard is a customer-trust guard for support workflows.

What this skill does

  • evaluates support drafts before sending
  • detects high-risk claim patterns
  • blocks or rewrites responses when policy violations appear
  • updates persona reputations based on final decision alignment
  • preserves decision history in board artifacts

Why this matters

Support replies are high-frequency and brand-critical. This skill prevents overconfident legal/PII mistakes at scale.

Ecosystem role

Composes with consensus board state using explicit vote inputs and deterministic guard decisions.

Ideal scenarios

  • automated ticket triage replies
  • L1/L2 AI response review gates
  • regulated or enterprise support channels

Runtime, credentials, and network behavior

  • runtime binaries: node, tsx
  • network calls: none in the guard decision path itself
  • 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

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.