tournament

tournament is a command for Claude Code from ANcpLua/ancplua-claude-plugins. It costs 29 tokens per session (1,091 once invoked), scanned A, original, MIT.

A competitive coding workflow in which several agents propose solutions, a judge scores them, and an implementer applies the selected approach.

In plain words
What is it for?
Use it when you want competing implementations evaluated before one is chosen, built, and tested.
Why use it?
It gives multiple valid designs a structured comparison when correctness, performance, simplicity, and completeness involve trade-offs.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the TodoWrite tool; positional $N argument.

Part of the exodia plugin — 2 skills, 7 commands shipped together

Good fit Use it when you want competing implementations evaluated before one is chosen, built, and tested.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/ancplua/ancplua-claude-plugins/tournament
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.

Clone the repo
git clone --depth 1 https://github.com/ANcpLua/ancplua-claude-plugins

Made for: Claude Code.

Or install exodia, the plugin that ships this one along with the rest of its 2 skills, 7 commands.

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 tournament

README.md
[![agentmods](https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/tournament/github.svg)](https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/tournament)
Your own site
<a href="https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/tournament"><img src="https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/tournament/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 tournament

Your own site · 80×15
<a href="https://agentmods.dev/commands/ancplua/ancplua-claude-plugins/tournament"><img src="https://agentmods.dev/badge/commands/ancplua/ancplua-claude-plugins/tournament.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,091 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.00029 $0.01091
Opus 5.5 $0.00012 $0.00436
Sonnet 5.5 $0.00006 $0.00218
Haiku 4.5 $0.00003 $0.00109

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

Security

Grade A, and why

tournament 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 14d 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.

plugins/exodia/commands/tournament.md · 151 lines

How it starts

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

TOURNAMENT — Competitive Coding with Penalty Scoring

N competitors. 1 judge. Winner's code ships.

Task: $0 Competitors: $1 (default: 5)


SCORING (Visible to ALL)

Criterion Points Penalty Points
Correctness 40 Style nitpicks -2
Elegance 25 Over-engineering -3
Performance 20 Unnecessary complexity -3
Completeness 15 Doesn't compile -10
False claims -5

Tiebreaker: Correctness → Performance → First submitted


TEAM ARCHITECTURE

TOURNAMENT JUDGE (You — Orchestrator)
│
├─ Round 1: COMPETITION ($1 parallel competitors)
│  ├── competitor-1 ... competitor-N
│  └── GATE → all complete
│
├─ Round 2: JUDGING (1 agent)
│  └── tournament-judge
│  └── GATE → winner selected
│
└─ Round 3: IMPLEMENTATION (1 agent)
   └── winner-implementer
   └── Build + Test → SHIPPED | BLOCKED

<CRITICAL_EXECUTION_REQUIREMENT>

STEP -1 — Inherit Prior Findings: If <EXODIA_FINDINGS_CONTEXT> tag exists in session context, read .eight-gates/artifacts/findings.json. Inject relevant findings into competitor prompts as shared starting context — level the playing field.

YOU ARE THE JUDGE, NOT A COMPETITOR.

  • DO NOT read files, write code, or fix issues yourself
  • YOU ONLY: launch competitors, evaluate results, pick winner
  1. Parse $1 for competitor count (default 5)
  2. Launch $1 competitors in ONE message (Task tool, parallel)
  3. Each works INDEPENDENTLY — no knowledge of others
  4. Launch 1 judge to score all solutions
  5. Launch 1 implementer for winning solution
  6. Verify build + tests

YOUR NEXT MESSAGE: $1 Task tool calls. NOTHING ELSE.

</CRITICAL_EXECUTION_REQUIREMENT>


ROUND 1: COMPETITION

Launch $1 agents in ONE message. Identical prompt per competitor:

competitor-N (one per competitor)

subagent: feature-dev:code-architect | model: opus

TOURNAMENT — You are competing against others on the SAME task. Only the BEST wins.

TASK: $0

SCORING: Correctness(40) + Elegance(25) + Performance(20) + Completeness(15) = 100 PENALTIES: Style(-2), Over-engineering(-3), Complexity(-3), No-compile(-10), False claims(-5) TIEBREAKER: Correctness → Performance → First submitted

Write the BEST solution. Code must compile and pass tests. AVOID penalties. Explain WHY your solution should win.

Output: All code changes + approach explanation + why this wins

Read the full file on GitHub · 151 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. 14d ago First seen · 151 lines · 29 tokens per session scan A 2edf9b11099f

Subscribe to this mod's changes

tournament is a command published in the GitHub repository ANcpLua/ancplua-claude-plugins (6 stars, last pushed 3d ago), licensed MIT. It adds 29 tokens to every session and 1,091 once invoked, about $0.0001 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-10-01.