← 返回 Skills 市场
kaicianflone

consensus-persona-generator

作者 Kai Cianflone · GitHub ↗ · v1.1.14
cross-platform ✓ 安全检测通过
484
总下载
0
收藏
0
当前安装
17
版本数
在 OpenClaw 中安装
/install consensus-persona-generator
功能描述
Generate and persist reusable persona panels (persona_set artifacts) for consensus decision workflows. This skill initializes evaluator diversity for downstr...
使用说明 (SKILL.md)

consensus-persona-generator

consensus-persona-generator is the entrypoint for evaluator diversity in the Consensus.Tools ecosystem.

What this skill does

  • creates N distinct decision personas (role, bias, risk posture, voting style)
  • assigns initial reputation baselines for weighted arbitration (ongoing updates handled by consensus-persona-engine)
  • persists a versioned persona_set artifact to board state
  • reuses compatible persona sets when possible to reduce churn

Why this matters

Most agent pipelines fail because one model self-approves its own output. This skill injects structured disagreement first, so later guards operate over explicit multi-perspective review.

Ecosystem role

Stack position:

consensus-tools -> consensus-interact pattern -> consensus-persona-generator -> domain guards -> consensus-persona-engine

  • consensus-tools: board/job/submission ledger substrate
  • consensus-interact: board-native orchestration contract
  • persona-generator: lightweight multi-agent initialization layer
  • persona-engine: reputation update and persona lifecycle state transition layer

Inputs / outputs (automation-friendly)

  • strict JSON input contract (board_id, task_context, n_personas, etc.)
  • strict JSON output with persona_set_id, personas[], and board write refs
  • deterministic/replayable behavior where feasible

Typical use cases

  • bootstrap evaluators for email/publish/support/merge/action guards
  • regenerate persona cohorts by domain or risk profile
  • establish reusable governance personas for long-running automation

Runtime, credentials, and network behavior

  • runtime binaries: node, tsx
  • network calls: none in shipped generator 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-core is the first-party consensus runtime dependency for this package
  • 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

npm i consensus-persona-generator

Quick start

node --import tsx run.js --input ./examples/persona-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() initializes or reuses persona sets and executes board operations via shared guard-core wrappers. It does not perform ongoing reputation mutation; that belongs to consensus-persona-engine.

安全使用建议
This skill appears to do what it says: generate persona sets and persist them to a configured state path. Before installing, ensure CONSENSUS_STATE_FILE and CONSENSUS_STATE_ROOT point to a dedicated, non-sensitive directory (do not point at /, home, or directories containing secrets). Review or pin the consensus-guard-core dependency (and its integrity) because runtime board operations are delegated to that package — supply-chain issues there would affect this skill. As usual with npm packages, prefer installing in an isolated environment or sandbox and inspect the installed dependency tree if you require additional assurance.
功能分析
Type: OpenClaw Skill Name: consensus-persona-generator Version: 1.1.14 The skill bundle is classified as benign. It adheres to its stated purpose of generating and persisting persona sets locally, without making any network calls (verified by `src/llm.mjs` using static data). Robust input validation is implemented in `src/validate.mjs`, mitigating common injection risks. File system operations are confined to reading a specified input file and writing artifacts to a local 'out' directory or a configured state path, with `README.md` explicitly warning against misconfiguring sensitive environment variables like `CONSENSUS_STATE_ROOT`. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts against the agent.
能力评估
Purpose & Capability
Name/description match the code and files: the package deterministically generates persona entries and writes a persona_set artifact via consensus-guard-core. Required bins (node, tsx) and the two CONSENSUS_STATE_* env vars align with the stated need to read/write board state.
Instruction Scope
SKILL.md instructions and run.js only describe/perform deterministic persona generation, schema validation, and writing artifacts to the configured consensus state path. The runtime does not read unexpected system files or reach out to external endpoints in the shipped logic.
Install Mechanism
Install spec uses npm (package: consensus-persona-generator) which is the expected distribution mechanism for a Node package. This is standard but carries the usual npm-registry dependency risk (supply-chain compromise of dependencies like consensus-guard-core or transitive packages).
Credentials
Only CONSENSUS_STATE_FILE and CONSENSUS_STATE_ROOT are required; both are clearly tied to where state/artifacts are persisted. No unrelated secrets or cloud credentials are requested.
Persistence & Privilege
The skill is not always-enabled and does not request special platform privileges. It writes artifacts under the configured consensus state path only, and does not modify other skills or system-wide configs in the provided code.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install consensus-persona-generator
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /consensus-persona-generator 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.14
Aligned SKILL metadata/install docs for registry-only path and explicit env/runtime requirements.
v1.1.13
Bumped consensus-guard-core dependency to ^1.1.15 and rolled forward release.
v1.1.12
Declared required state env vars in package config and README for scanner clarity.
v1.1.11
Updated to consensus-guard-core ^1.1.13 with package-root import contract and compatibility fixes.
v1.1.10
Bumped consensus-guard-core dependency to ^1.1.11 and rolled forward release.
v1.1.9
Removed duplicate board helper, aligned metadata strategy, and clarified runtime behavior for scanner compatibility.
v1.1.8
Bumped consensus-guard-core dependency to ^1.1.10 and released patch version.
v1.1.7
Bumped semver deps (consensus-guard-core 1.1.5 / consensus-tools 0.1.8) and version.
v1.1.6
Docs/contracts aligned: persona-engine owns reputation updates.
v1.1.5
Scanner hardening: remove required OPENAI_API_KEY and clarify local deterministic default
v1.1.4
confirm release sync
v1.1.3
Security hardening: explicit runtime/credential model and semver-pinned npm dependencies
v1.1.2
Packaging hardening: standalone install metadata, dependency cleanup, and safer runtime requirements
v1.1.1
Security hardening: statePath confined to safe root with traversal protection
v1.1.0
Release 1.1.0: invoke contract + external-agent support + ecosystem alignment
v1.0.0
1.0.0 initial public release
v0.1.0
Initial public release
元数据
Slug consensus-persona-generator
版本 1.1.14
许可证
累计安装 0
当前安装数 0
历史版本数 17
常见问题

consensus-persona-generator 是什么?

Generate and persist reusable persona panels (persona_set artifacts) for consensus decision workflows. This skill initializes evaluator diversity for downstr... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 484 次。

如何安装 consensus-persona-generator?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install consensus-persona-generator」即可一键安装,无需额外配置。

consensus-persona-generator 是免费的吗?

是的,consensus-persona-generator 完全免费(开源免费),可自由下载、安装和使用。

consensus-persona-generator 支持哪些平台?

consensus-persona-generator 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 consensus-persona-generator?

由 Kai Cianflone(@kaicianflone)开发并维护,当前版本 v1.1.14。

💬 留言讨论