Token导航 LogoToken导航

Agent Skill · 研究检索

build-consensus(建立共识)

build-consensus 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

build-consensus 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 60,207。

总安装 372周安装 16GitHub Stars 12下载 131核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:build-consensus(建立共识)
来源仓库:https://github.com/pjt222/development-guides
仓库路径:skills/build-consensus
安装命令:
npx skills add https://github.com/pjt222/development-guides --skill build-consensus
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pjt222/development-guides --skill build-consensus

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

build-consensus 用于分布式代理间的共识达成,模仿蜂群决策机制实现去中心化选择。它通过 scout 倡导、阈值感应和承诺动态避免瓶颈与单点故障,提升协作效率。使用时适用于必须集体决策而无领导者的场景,尤其当过去出现群体思维或决策停滞时。安装前请确认仓库权限、维护状态,以及是否会引入投票或协商协议逻辑。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/build-consensus

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/pjt222/development-guides --skill build-consen…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

build-consensus 怎么安装?

在终端执行 npx skills add https://github.com/pjt222/development-guides --skill build-consensus。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

build-consensus 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

build-consensus 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

build-consensus 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

build-consensus 用的人多吗?

公开数据是累计安装 372 次,近一周安装 16 次,下载 131 次,GitHub 12 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

build-consensus 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
build-consensus

建立共识 · 本页

37212只读未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Build Consensus

Achieve collective agreement across distributed agents without a central authority — using scout advocacy, threshold quorum sensing, and commitment dynamics modeled on honeybee swarm decision-making.

When to Use

  • A group must collectively decide between multiple options without a designated leader
  • Centralized decision-making is a bottleneck or a single point of failure
  • Stakeholders have different information and perspectives that must be integrated
  • Past decisions suffered from groupthink (premature convergence) or analysis paralysis (no convergence)
  • Designing automated systems that must reach consensus (distributed databases, multi-agent AI)
  • Complementing coordinate-swarm when the coordination requires explicit collective decisions

Inputs

  • Required: The decision to be made (binary choice, selection from N options, parameter setting)
  • Required: The participating agents (team members, services, voters)
  • Optional: Known options with preliminary quality assessments
  • Optional: Decision urgency (time budget)
  • Optional: Acceptable error rate (can the group occasionally pick the second-best option?)
  • Optional: Current decision-making failure mode (groupthink, deadlock, flip-flopping)

Procedure

Step 1: Generate Proposals Through Independent Scouting

Ensure the decision space is adequately explored before any advocacy begins.

  1. Assign scouts to independently explore the option space:

- Each scout evaluates options without knowing other scouts' findings - Independent evaluation prevents early herding toward popular-but-mediocre options - Scout count: at minimum, 3 scouts per serious option (for reliability)

  1. Scouts produce structured assessments:

- Option identifier - Quality score (normalized 0-100 or categorical: poor/fair/good/excellent) - Key strengths and risks identified - Confidence level (how thoroughly was this option evaluated?)

  1. Aggregate scout reports without filtering — all options above a minimum quality threshold enter the advocacy phase

Expected: A set of independently evaluated proposals with quality scores and assessments. No option has been eliminated by a single evaluator; diversity of perspective is preserved.

On failure: If scouts converge on the same option without independent evaluation, the scouting was not truly independent. Rerun with explicit information barriers. If too many options survive to the advocacy phase, raise the minimum quality threshold. If too few survive, lower it or add more scouts.

Step 2: Run Advocacy Dynamics (Waggle Dance)

Allow scouts to advocate for their preferred options, with advocacy intensity proportional to quality.

  1. Each scout advocates for their top-rated option:

- Advocacy intensity is proportional to the quality score (better options get more vigorous advocacy) - Advocacy is public — all agents observe all advocacy signals - Advocates present evidence and quality assessment, not just preference

  1. Uncommitted agents observe advocacy and evaluate:

- Follow up on advocated options by inspecting them independently - If an agent's own inspection confirms the quality, they join the advocacy - If inspection reveals lower quality than advertised, they do not join

  1. Cross-inspection dynamics:

- Advocates for weaker options naturally lose followers as agents independently verify - Advocates for stronger options gain followers through confirmed quality - The process is self-correcting: exaggerated advocacy fails the verification step

Advocacy Dynamics:
┌─────────────────────────────────────────────────────────┐
│ Scout A advocates Option 1 (quality 85) ──→ ◉◉◉◉◉     │
│ Scout B advocates Option 2 (quality 70) ──→ ◉◉◉        │
│ Scout C advocates Option 3 (quality 45) ──→ ◉           │
│                                                         │
│ Uncommitted agents inspect:                             │
│   Agent D inspects Option 1 → confirms → joins ◉◉◉◉◉◉  │
│   Agent E inspects Option 2 → confirms → joins ◉◉◉◉    │
│   Agent F inspects Option 3 → disagrees → inspects Opt 1│
│                               → confirms → joins ◉◉◉◉◉◉◉│
│                                                         │
│ Over time: Option 1 advocacy grows, Option 3 fades      │
└─────────────────────────────────────────────────────────┘

Expected: Advocacy for the best option(s) grows over time as agents independently verify quality. Advocacy for weaker options fades as verification fails. The group naturally converges toward the strongest option without any agent dictating the choice.

On failure: If advocacy doesn't converge (two options remain neck-and-neck), the options may be genuinely equivalent — proceed to quorum with either, or use a tiebreaker rule. If advocacy converges too fast on a mediocre option, increase the independence of evaluation (more scouts, stricter information barriers) and add a mandatory cross-inspection step.

Step 3: Set Quorum Threshold and Commit

Define the commitment threshold that triggers collective action.

  1. Set the quorum threshold:

- Simple decisions: 50% + 1 of agents committed to one option - Important decisions: 66-75% committed to one option - Critical/irreversible decisions: 80%+ committed to one option - Rule of thumb: higher stakes → higher quorum → slower but more reliable consensus

  1. Monitor commitment accumulation:

- Track how many agents have committed to each option over time - Display commitment levels transparently (all agents can see the current state) - Do not allow commitment withdrawal mid-cycle (prevents oscillation)

  1. When quorum is reached:

- The winning option is adopted as the collective decision - Advocates for losing options acknowledge the decision (no rogue agents) - Implementation begins immediately — delay after consensus erodes commitment

Expected: A clear quorum moment where enough agents have independently committed to one option. The decision is legitimate because it emerged from independent evaluation, not authority or coercion.

On failure: If quorum is never reached within the time budget, escalate to Step 4 (deadlock resolution). If quorum is reached but agents are unhappy, the advocacy phase was too short — agents committed without adequate evaluation. If the consensus was wrong (discovered after the fact), the independent scouting was insufficient — increase scout diversity and evaluation thoroughness in the next cycle.

Step 4: Resolve Deadlocks

Break decision gridlock when the natural consensus process stalls.

  1. Diagnose the deadlock type:

- Genuine tie: two options are equally good → flip a coin; the cost of delay exceeds the cost of picking the "wrong" equal option - Information deficit: agents can't evaluate options well enough → invest in more scouting before re-running advocacy - Faction formation: entrenched subgroups refuse to cross-inspect → introduce mandatory rotation where advocates must inspect the opposing option - Option proliferation: too many options fragment commitment → eliminate the bottom 50% and re-run advocacy

  1. Apply the appropriate resolution:

- Genuine tie: random selection or merge options if compatible - Information deficit: time-boxed scouting extension - Faction formation: forced cross-inspection round - Option proliferation: ranked elimination tournament

  1. After resolution, reset the quorum clock and re-run Step 3

Expected: Deadlock resolved through the appropriate intervention. The resolution is visible and accepted by the group as fair process, even if individual agents preferred a different outcome.

On failure: If deadlocks recur on the same decision, the decision framing may be wrong. Step back and ask: can the decision be decomposed into smaller, independent decisions? Can the scope be reduced? Is there a "try both and see" option? Sometimes the best consensus is "we'll run a time-boxed experiment."

Step 5: Assess Consensus Quality

Evaluate whether the consensus process produced a good decision, not just a decision.

  1. Post-decision assessment:

- Was the winning option independently verified by at least N agents? - Was the decision speed appropriate (not too fast/groupthink, not too slow/paralysis)? - Did the process surface information that would have been missed by a single decision-maker? - Are agents committed to implementation, or merely compliant?

  1. Track consensus health metrics:

- Time to quorum: decreasing over successive decisions indicates learning; increasing indicates growing complexity or dysfunction - Scout-to-commit ratio: how much scouting was needed per commitment? High ratio = difficult decision or low trust - Post-decision regret rate: how often does the group wish it had chosen differently?

  1. Feed learnings back into the process:

- Adjust quorum thresholds based on decision importance and past accuracy - Adjust scout count based on option complexity - Adjust time budgets based on historical time-to-quorum

Expected: A feedback loop that improves consensus quality over time. The group learns to scout more effectively, advocate more honestly, and commit more confidently.

On failure: If consensus quality metrics are poor (high regret, slow decisions), audit the process for structural failures: insufficient scouting diversity, advocacy without verification, or thresholds set too low for the decision type. Rebuild the specific failing stage rather than overhauling the entire process.

Validation

  • Proposals were generated through independent scouting (no herding)
  • Advocacy intensity was proportional to assessed quality
  • Uncommitted agents independently verified advocated options
  • Quorum threshold was appropriate for the decision's importance
  • Quorum was reached and the decision was implemented promptly
  • Deadlock resolution mechanism was available (even if unused)
  • Post-decision quality assessment was conducted

Common Pitfalls

  • Skipping independent scouting: Jumping directly to advocacy produces groupthink. The quality of consensus depends entirely on the quality of independent evaluation
  • Equal advocacy for unequal options: If every option gets the same advocacy regardless of quality, the process degenerates into random selection. Advocacy must be proportional to assessed quality
  • Commitment withdrawal: Allowing agents to un-commit creates oscillation. Once committed in a cycle, agents stay committed until the cycle resolves
  • Confusing consensus with unanimity: Consensus requires sufficient agreement, not total agreement. Waiting for 100% creates permanent deadlock
  • Ignoring the losing side: Agents who advocated for the losing option have information the group needs. Their concerns should inform implementation, even if they don't block the decision

Related Skills

  • coordinate-swarm — foundational coordination framework that supports the signal-based consensus mechanism
  • defend-colony — collective defense decisions often require rapid consensus under threat
  • scale-colony — consensus mechanisms must adapt when the group size changes significantly
  • dissolve-form — morphic skill for controlled dismantling, where consensus before dissolution is critical
  • plan-sprint — sprint planning involves team consensus on commitment scope
  • conduct-retrospective — retrospectives are a form of consensus-building about process improvement
  • build-coherence — AI self-application variant; maps bee democracy to single-agent multi-path reasoning with confidence thresholds and deadlock resolution

平台分布

Codex

38.2%
按下载量换算50

Claude

29.58%
按下载量换算39

Cursor

19.73%
按下载量换算26

Gemini CLI

9.35%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills