AGENT SKILL

arena

Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.

License 许可
MIT
所属仓库
saphitv/skills
最近更新
2026-11-12
Stars
★ 0
Forks
0

01 前言 Front Matter

name
arena
license
MIT
metadata
{ "source": "https://github.com/uzairansaruzi/p3-stack/tree/09909ebb5c0125e27fad3e57d96b81e832696d69/skills/arena", "upstream_commit": "09909ebb5c0125e27fad3e57d96b81e832696d69" }
description
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.

02 资源文件 2

03 SKILL.md 正文

Arena

Fan out N parallel attempts at the same task. Read every candidate end to end. Pick the strongest as the base. Graft the best ideas from the others into it. Verify the synthesized result.

Read references/delegation.md before delegating.

Start

Open a todolist with one entry per phase before launching anything.

  1. Frame
  2. Fan out
  3. Cross-judge
  4. Pick
  5. Graft
  6. Verify

Phase A: Frame

The N candidates will receive the same prompt, so the prompt is the contract.

  1. State the artifact each candidate is producing.
  2. Derive the rubric. State what success looks like for this task, then turn it into 3-6 concrete gradeable criteria. The rubric is the picker's tool in Phase D. Candidates only see the task.
  3. Use the configured arena runners role when present. Otherwise, pick two available models using the delegation guidance, preferably from different families. Respect the user's requested panel and budget.
  4. Assign a separate scratch output directory to each candidate. Never let competing candidates write the shared checkout, per the separate-before-serializing-shared-state principle skill.

Phase B: Fan out

Launch all N candidate subagents asynchronously using the current harness. Each brief must stand alone and contain the task, the path to the shared grounding, its own output path, and instructions to produce both the artifact and a short rationale. A T3 child receives only its brief, never the parent's conversation.

Each rationale names the alternatives the candidate considered and what it rejected.

If a candidate fails to produce output, proceed with N-1 and note the dropout in the synthesis record.

Phase C: Cross-judge

After all candidates complete, launch one research-only judge using the configured arena cross-judge pool role or an available model, preferably from a different family than the parent's. Give it the rubric and the complete candidates or their accessible paths. It scores each criterion and recommends a base with rationale. Run it alongside the parent's reading, never while candidates are still writing.

Phase D: Pick a base

Read every candidate end to end before picking.

Score each candidate against the rubric criterion by criterion, not on holistic feel. Compare against the cross-judge. Agreement on the base confirms the pick. Disagreement means one of you is biased or the rubric was ambiguous. Read both rationales before deciding.

Pick the base on which candidate a future maintainer can extend most easily without breaking invariants. Prefer the cleaner boundary or smaller API when two feel tied, per the Laziness Protocol.

Record the pick and the reason in a short synthesis note alongside the base artifact, including the cross-judge's verdict.

Phase E: Graft

Walk each losing candidate once more and identify what is worth porting into the base. The signal is usually one or two things per candidate, not most of it.

Fold each graft in by hand, per the redesign-from-first-principles principle skill. Don't paste mechanically. The result has to remain coherent under one mental model.

Record what was grafted, from which candidate, and what was rejected and why.

When N candidates converge on the same shape, that is a strong agreement signal. Note the convergence in the record and ship the consensus shape. No graft is needed. When N candidates wildly diverge, Phase A was under-specified. Reframe and re-run rather than averaging the divergence.

Phase F: Verify

The synthesized artifact has to hold up under the same scrutiny as any other output, per the prove-it-works principle skill.

If verification surfaces a problem the arena did not catch, either Phase A was wrong (re-frame and re-run) or one candidate caught it and you missed the graft (go back to Phase E). Don't paper over.

Outputs

One synthesized artifact. One short synthesis note alongside, naming the base, the grafts (with source candidate), the rejections, the dropouts if any, and the verification result.

04 同仓库更多 Skills