factory-arena

factory-arena is a command for Claude Code from watt-mind/factory. It costs 30 tokens per session (431 once invoked), scanned A, original, Apache-2.0.

A command that runs the same coding task through several AI coding systems, compares their results against a set of criteria, combines the best ideas, and checks the final result.

In plain words
What is it for?
It is for competitive trials of coding approaches, cross-checking agent outputs, selecting a candidate, and verifying the combined implementation.
Why use it?
It reduces reliance on one generated solution by comparing alternatives and reviewing the chosen result before it is accepted.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: model in frontmatter; mentions Codex.

Part of the core plugin — 38 skills, 22 commands, 5 agents, 1 hook shipped together

Good fit It is for competitive trials of coding approaches, cross-checking agent outputs, selecting a candidate, and verifying the combined implementation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/watt-mind/factory/factory-arena
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/watt-mind/factory

Made for: Claude Code.

Or install core, the plugin that ships this one along with the rest of its 38 skills, 22 commands, 5 agents, 1 hook.

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 factory-arena

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/watt-mind/factory/factory-arena"><img src="https://agentmods.dev/badge/commands/watt-mind/factory/factory-arena.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 431 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.00030 $0.00431
Opus 5.5 $0.00012 $0.00172
Sonnet 5.5 $0.00006 $0.00086
Haiku 4.5 $0.00003 $0.00043

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

Security

Grade A, and why

factory-arena 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 12d 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/core/commands/factory-arena.md · 14 lines

What it actually says

Run a cross-harness Arena bakeoff for the requested task using shared/skills/factory-arena/SKILL.md and factory arena.

  1. Frame: State the target artifact, write a 3–6 criterion rubric to $TMPDIR, and write the candidate prompt (without the rubric) to $TMPDIR.
  2. Fan out: If T3Code Orchestrator MCP tools (orchestrator_capabilities, delegate_task, task_cancel, t3_thread_wait, t3_thread_read) are available in the session, call orchestrator_capabilities once per thread and spawn contenders via delegate_task (mode: "async"; never create_threads/t3_thread_launch), then end your turn for reactive wakeup; otherwise run factory arena run --prompt-file <prompt> --profile <default|full> --mode <sandbox|worktree> --json (using ~/.factory/arena.yaml on this node, or config/arena.example.yaml fallback).
  3. Cross-judge: Spawn a fresh read-only cross-vendor judge via delegate_task (mode: "async") or run factory arena judge --manifest <manifest> --rubric-file <rubric> --caller-vendor <vendor> --json.
  4. Pick & Graft: Read every surviving candidate end-to-end, compare with the cross-judge report, pick the cleanest base, and hand-graft 1–2 standout ideas from losing candidates.
  5. Verify & Cleanup: Run targeted verification on the synthesized result, run factory arena cleanup --manifest <manifest>, and summarize the base, grafts, rejections, dropouts, and verification evidence.
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. 12d ago First seen · 14 lines · 30 tokens per session scan A be2e043f0396

Subscribe to this mod's changes

factory-arena is a command published in the GitHub repository watt-mind/factory (24 stars, last pushed yesterday), licensed Apache-2.0. It adds 30 tokens to every session and 431 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-11-19.

Related

factory-arena compared with commands from other repositories

factory-arena next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-arenawatt-mind/factoryCommand24yesterdayApache-2.0A30Claude Code
code-review-swarmruvnet/rufloCommand83ktodayMITA0Claude Code
pr-managerruvnet/rufloCommand83ktodayMITA0Claude Code
code-reviewruvnet/rufloCommand83ktodayMITA0Claude Code
pr-enhanceruvnet/rufloCommand83ktodayMITA0Claude Code
conveneHabitat-Thinking/ai-literacy-superpowersCommand124todaynoneA59Claude Code
model-cardHabitat-Thinking/ai-literacy-superpowersCommand124todaynoneA44Claude Code