factory-arena

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

A workflow that gives the same coding task to several command-line AI tools, compares their results against a set of criteria, combines useful ideas, and verifies the choice.

In plain words
What is it for?
Use it for competing design or implementation attempts, then select a starting solution, incorporate better ideas from other attempts, and check the final result.
Why use it?
It helps when different AI tools may produce different solutions and you want a structured way to compare them instead of trusting the first result.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

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

Good fit Use it for competing design or implementation attempts, then select a starting solution, incorporate better ideas from other attempts, and check the final result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/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.

Any agent
npx skills add watt-mind/factory --skill factory-arena
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/skills/watt-mind/factory/factory-arena/github.svg)](https://agentmods.dev/skills/watt-mind/factory/factory-arena)
Your own site
<a href="https://agentmods.dev/skills/watt-mind/factory/factory-arena"><img src="https://agentmods.dev/badge/skills/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/skills/watt-mind/factory/factory-arena"><img src="https://agentmods.dev/badge/skills/watt-mind/factory/factory-arena.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,499 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.00066 $0.01499
Opus 5.5 $0.00026 $0.00600
Sonnet 5.5 $0.00013 $0.00300
Haiku 4.5 $0.00007 $0.00150

Measured 11d ago against content hash f7ab16152347, 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 11d 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/skills/factory-arena/SKILL.md · 93 lines

How it starts

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

Factory Arena

Multi-harness competitive bakeoff and grafting workflow, adapted from pstack's arena for Factory's CLI harnesses (codex, claude, agy, pi, cursor) and node-local ~/.factory/arena.yaml configuration.

Open a checklist with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before launching anything.

Per-Node Configuration (~/.factory/arena.yaml)

factory arena reads ~/.factory/arena.yaml on the active node (falling back to $FACTORY_ROOT/config/arena.example.yaml):

  • default profile (3 runners across OpenAI / Anthropic / Google): gpt-sol (codex, gpt-6.2-sol), fable (claude, claude-fable-5-2), carbon (agy, gemini-4-carbon-high).
  • full profile (all 5 contenders): adds opus (claude, claude-opus-5-5) and argon (agy, gemini-4-argon-high).
  • cross_judge_pool: ordered read-only judges; selects the first ready judge from a different vendor family than the calling harness (fable counts as anthropic).
  • Missing CLIs fall back via fallback: or drop the seat cleanly; at least min_runners (default 2) must succeed.

Inspect the node's resolved roster anytime with:

factory arena config

Phase A: Frame (in the calling session)

  1. State the artifact each candidate must produce.
  2. Derive the rubric — 3–6 concrete, gradeable criteria for this task. Write it to $TMPDIR/arena-<id>/rubric.md. Candidates do not see the rubric.
  3. Write the shared prompt to $TMPDIR/arena-<id>/prompt.md (task, constraints, grounding paths).
  4. Choose isolation mode:
    • sandbox (default): $TMPDIR/factory-arena-*/candidate-<name>/ for designs, specs, audits, or standalone files.
    • worktree: detached git worktrees (--mode worktree --repo-dir <repo> --base origin/<base>) for multi-file code changes. Never share a writable checkout or touch git stash.

Backend Selection (T3Code-native vs. CLI Runner)

Choose the execution backend based on the active session's tools:

Read the full file on GitHub · 93 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. 11d ago First seen · 93 lines · 66 tokens per session scan A f7ab16152347

Subscribe to this mod's changes

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

Related

factory-arena compared with skills from other repositories

factory-arena next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factory-arenawatt-mind/factorySkill24yesterdayApache-2.0A66Claude Code
github-pr-workflowpaperclipai/paperclipSkill118ktodayMITA39Claude Code, Codex
ap-jurorSpielewoy/autoprompt-skillSkill1.3k1mo agoMITA24Claude Code
ap-reviewerSpielewoy/autoprompt-skillSkill1.3k1mo agoMITA23Claude Code
ap-sweeperSpielewoy/autoprompt-skillSkill1.3k1mo agoMITA24Claude Code
convergeJotJunior/cstkSkill24yesterdayMITA126Claude Code
go-review-serviceJotJunior/cstkSkill24yesterdayMITA17Claude Code