consensus-persona-generator
/install consensus-persona-generator
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_setartifact 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-coreis the first-party consensus runtime dependency for this package- versions are semver-pinned in
package.jsonfor 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.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install consensus-persona-generator - 安装完成后,直接呼叫该 Skill 的名称或使用
/consensus-persona-generator触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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。