best-of-n-verdict

best-of-n-verdict is a skill for Claude Code, Codex from entropyvortex/ai-consensus-mcp. It costs 83 tokens per session (726 once invoked), scanned A, original, MIT.

A comparison workflow for choosing the best result from several attempts at the same coding task. It lists the attempts and uses a blind panel to judge them against the task and its acceptance criteria.

In plain words
What is it for?
Use it to compare agent runs, branches, or worktrees that started from the same commit and decide which one to keep.
Why use it?
It removes the need to inspect parallel branches by hand or choose based on which result looks best at first glance. The branches are compared without changing them.

Skill for Claude CodeCodex

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

Good fit Use it to compare agent runs, branches, or worktrees that started from the same commit and decide which one to keep.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/entropyvortex/ai-consensus-mcp/best-of-n-verdict
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 entropyvortex/ai-consensus-mcp --skill best-of-n-verdict
Clone the repo
git clone --depth 1 https://github.com/entropyvortex/ai-consensus-mcp

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 best-of-n-verdict

README.md
[![agentmods](https://agentmods.dev/badge/skills/entropyvortex/ai-consensus-mcp/best-of-n-verdict/github.svg)](https://agentmods.dev/skills/entropyvortex/ai-consensus-mcp/best-of-n-verdict)
Your own site
<a href="https://agentmods.dev/skills/entropyvortex/ai-consensus-mcp/best-of-n-verdict"><img src="https://agentmods.dev/badge/skills/entropyvortex/ai-consensus-mcp/best-of-n-verdict/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 best-of-n-verdict

Your own site · 80×15
<a href="https://agentmods.dev/skills/entropyvortex/ai-consensus-mcp/best-of-n-verdict"><img src="https://agentmods.dev/badge/skills/entropyvortex/ai-consensus-mcp/best-of-n-verdict.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 726 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.00083 $0.00726
Opus 5.5 $0.00033 $0.00290
Sonnet 5.5 $0.00017 $0.00145
Haiku 4.5 $0.00008 $0.00073

Measured 9d ago against content hash 18fbae100187, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

best-of-n-verdict 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 9d ago.

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.

skills/best-of-n-verdict/SKILL.md · 39 lines

How it starts

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

Best-of-N verdict

Pick the best of several attempts at one task, with evidence, without touching any branch.

When to use

  • The user ran the same task more than once (for example Emdash "Best of N") and asks which attempt to keep, which is best, or to compare them.
  • You are one of those attempts and are asked how you compare with your siblings.

Do not use it for a single branch, or for attempts at different tasks.

Steps

  1. Find the attempts. Call consensus_list_attempts (no arguments: it reads the repository you are in). Attempts at one task usually share a base and are each ahead of it; several have their own worktree. Do not assume a branch naming scheme: confirm the set with the user if it is not obvious, and use at most 6.
  2. Restate the task in one or two sentences, including acceptance criteria the user gave. The jurors judge every attempt against this text.
  3. Compare. Call consensus_compare_attempts with task and attempts: [{ "ref": "<branch>" }, …]. Leave base out unless the user names one. Add label only for display. If you already ran checks yourself (tests, build, lint) for every attempt, pass them as checks: [{ "name", "status": "passed" | "failed" | "unknown", "output" }], with the same check names for every attempt. Do not invent check results.
  4. Report in a few lines:
    • the verdict line exactly as returned: the recommended ref, or "no clear winner" with its reason;
    • agreement (Kendall's W) and how many jurors voted;
    • the two or three most severe verified findings, with file and line;
    • anything the tool says it could not show (files over the budget, skipped files) or a partial stop (deadline, budget).
  5. Stop there. The decision is the user's. Offer the next step (for example "merge <ref>?"), but do not take it.

Rules

  • Never merge, rebase, check out, reset, stash, push or delete branches or worktrees as part of this skill.
  • Do not paste diffs into the conversation: the server reads them from git itself so they never pass through your context.
  • Do not pass testCommand unless the user asks for tests to run. It executes repository code and only works when the server was started with --allow-test-command.
  • If the verdict is "no clear winner", say so plainly. You may name the leader on points as a tie-breaker hint, not as a recommendation.
  • If a tool call fails because a provider key is missing, relay the error: agent hosts can strip environment variables, and the message says how to fix it.

Read the full file on GitHub · 39 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. 9d ago First seen · 39 lines · 83 tokens per session scan A 18fbae100187

Subscribe to this mod's changes

best-of-n-verdict is a skill published in the GitHub repository entropyvortex/ai-consensus-mcp (3 stars, last pushed 9d ago), licensed MIT. It adds 83 tokens to every session and 726 once invoked, about $0.0003 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-11-21.

Related

best-of-n-verdict compared with skills from other repositories

best-of-n-verdict next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
best-of-n-verdictentropyvortex/ai-consensus-mcpSkill39d agoMITA83Claude Code, Codex
gh-address-commentsulises-jeremias/agent-toolkitSkill28todayMITA51Claude Code
active-reviewpaultyng/skill-issueSkill8yesterdayMITA0Claude Code, Codex
gentle-ai-collab-perfectGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA106Claude Code, Codex
work-unit-commitsGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA31Claude Code, Codex
reviewing-a-prJetBrains/thinkrailSkill8.5kyesterdayApache-2.0A56Claude Code, Codex
branch-prGentleman-Programming/gentle-aiSkill9.7kyesterdayMITA22Claude Code, Codex