consensus-governance

consensus-governance is a skill for Claude Code, Codex from Tyox-all/Weave_Protocol. It costs 40 tokens per session (932 once invoked), scanned A, original, Apache-2.0.

A coordination layer for AI agents that uses proposals, votes, policies, and human review to make shared decisions.

In plain words
What is it for?
Use it to approve deployments, enforce access rules, check proposal status, notify agents, and escalate decisions to a person.
Why use it?
It prevents one agent from taking sensitive actions without the required agreement or approval.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to approve deployments, enforce access rules, check proposal status, notify agents, and escalate decisions to a person.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tyox-all/weave_protocol/witan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Tyox-all/Weave_Protocol --skill witan
Clone the repo
git clone --depth 1 https://github.com/Tyox-all/Weave_Protocol

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for consensus-governance

README.md
[![agentmods](https://agentmods.dev/badge/skills/tyox-all/weave_protocol/witan/github.svg)](https://agentmods.dev/skills/tyox-all/weave_protocol/witan)
Your own site
<a href="https://agentmods.dev/skills/tyox-all/weave_protocol/witan"><img src="https://agentmods.dev/badge/skills/tyox-all/weave_protocol/witan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for consensus-governance

Your own site · 80×15
<a href="https://agentmods.dev/skills/tyox-all/weave_protocol/witan"><img src="https://agentmods.dev/badge/skills/tyox-all/weave_protocol/witan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00932
Opus 5.5 $0.00016 $0.00373
Sonnet 5.5 $0.00008 $0.00186
Haiku 4.5 $0.00004 $0.00093

Measured 1mo ago against content hash 864f7d6260d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

consensus-governance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 14 executable files (src/bus.ts, src/consensus.ts, src/index.ts, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

witan/SKILL.md · 129 lines

How it starts

The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Consensus & Governance with Witan

Overview

Witan provides multi-agent consensus, policy enforcement, and governance. Use for decisions requiring collective agreement or human escalation.

MCP Tools

Tool Purpose
witan_propose Submit action for consensus
witan_vote Cast vote on proposal
witan_check_status Check proposal status
witan_enforce_policy Check if action is allowed
witan_create_policy Create governance policy
witan_broadcast Message all agents
witan_escalate Escalate to human review

Quick Examples

Propose action for consensus

witan_propose({
  action: "deploy_to_production",
  required_approvals: ["security-agent", "qa-agent"],
  protocol: "unanimous"
})
→ { proposal_id: "prop_abc123", status: "pending" }

Vote on proposal

witan_vote({
  proposal_id: "prop_abc123",
  agent_id: "security-agent",
  vote: "approve"
})
→ { vote_recorded: true, current_status: "pending" }

Enforce policy

witan_enforce_policy({
  action: "access_financial_data",
  actor: "junior-agent"
})
→ { allowed: false, reason: "Requires senior approval" }

Escalate to human

witan_escalate({
  action: "delete_customer_data",
  reason: "Requires human approval",
  escalate_to: "human-supervisor"
})
→ { escalation_id: "esc_def456", status: "pending_human_review" }

Consensus Protocols

Protocol Use Case
unanimous Critical decisions (deployments, deletions)
majority Standard decisions (>50%)
weighted_majority Expert-weighted voting
quorum Minimum participation required

When to Use

  1. High-risk operations requiring multi-agent approval
  2. Irreversible actions (deletions, deployments)
  3. Actions outside normal agent permissions
  4. Human-in-the-loop decisions

💰 Skill: spending-caps

You have access to @weave_protocol/witan/spending — autonomous spending caps for AI agents. Per-window budgets on LLM cost, token count, tool calls, and per-tool spend limits.

Read the full file on GitHub · 129 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 129 lines · 40 tokens per session scan A 864f7d6260d2

Subscribe to this mod's changes

consensus-governance is a skill published in the GitHub repository Tyox-all/Weave_Protocol (0 stars, last pushed 2d ago), licensed Apache-2.0. It adds 40 tokens to every session and 932 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.