arena
Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it.
Skill by hapwi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hapwi-arena
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/arena
What's inside
- Skill name
arena- 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.
- License
- MIT
- Instructions
- 49 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
## Host integration Read [the Hapstack runtime contract](../hap-mode/references/runtime.md) once per task before model selection, delegation, external actions, or scheduling. Its host mappings and authorization rules govern the host-specific steps below. # Arena Open a todolist with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before launching anything. ## Phase A: Frame Every candidate gets the same prompt, so the prompt is the contract. 1. State the artifact each candidate is producing. 2. Derive the rubric, 3-6 concrete gradeable criteria for what success looks like on *this* task. It is the picker's tool in Phase D. Candidates only see the task. 3. Pick the runners. Resolve `arena runners` through the runtime contract's project-first, XDG-aware configuration lookup. If that role is missing, default to one each on `inherit-parent` and `inherit-parent`. An `auto` or `inherit-parent` entry in this line or the cross-judge line means the parent model, so omit `model` for it. Resolve configured models against the live catalog using the runtime contract. If an entry is unavailable, report it and obtain a supported choice; never guess an ID or claim model diversity that is unavailable. 4. Give each candidate its own output location (a git worktree where possible, otherwise `/tmp/arena-<slug>/candidate-<n>/`), per the **separate-before-serializing-shared-state** principle skill. ## Phase B: Fan out Spawn all N subagents in one message with `run_in_background: true`, each with the task, the path to the shared grounding, its own output path, and instructions to produce the artifact and a short rationale naming the alternatives it considered and what it rejected. If a candidate produces no output, proceed with N-1 and note the dropout. ## Phase C: Cross-judge After all Phase B candidates complete, choose one model from `arena cross-judge pool` in the same resolved configuration. If that role is missing, choose from `inherit-parent` and `inherit-parent`. Prefer a different model family from the parent's. Spawn one readonly judge subagent on that model. It sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with your reading in Phase D. Don't spawn it while candidates are still writing. ## Phase D: Pick a base Read every candidate end to end before picking. Score each against the rubric criterion by criterion, not on holistic feel, and compare with 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 a future maintainer can extend most easily without breaking invariants. When two feel tied, prefer the cleaner boundary or smaller API, per the Laziness Protocol. ## Phase E: Graft Walk each losing candidate once more for what is worth porting into the base, 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, so the result stays coherent under one mental model. Don't paste mechanically. If the candidates converge on one shape, that is strong agreement. Note it and ship the consensus shape. No graft is needed. If they wildly diverge, Phase A was under-specified. Reframe and re-run rather than averaging the divergence. ## Phase F: Verify Verify the synthesized artifact like any other output, per the **prove-it-works** principle skill. If verification finds a problem the arena missed, either Phase A was wrong (re-frame and re-run) or a candidate caught it and you missed the graft (go back to Phase E). Don't paper over it. ## Outputs One synthesized artifact, with a short synthesis note alongside naming the base and why, the cross-judge's verdict, each graft with its source candidate, what was rejected and why, any convergence or dropouts, and the verification result.
From hapwi/hapstack, MIT.
More from hapwi/hapstack
- 0.567score
hap-mode
hapwi
Route requested Hapstack engineering tasks to playbooks and skills, including patch-to-score and shipping.
SkillAFreshness: AClaude Code +9 - 0.567score
hap-help
hapwi
Explain Hapstack setup, hap-mode routing, skills, playbooks, principles, prerequisites, and host-specific invocation.
SkillAFreshness: AClaude Code +9 - 0.561score
setup-benny
hapwi
Prepare and configure the dormant Benny issue-triage and bug-reproduction automation pack for an explicitly selected project and supported host scheduler.
SkillAFreshness: AClaude Code +9 - 0.556score
control-ui
hapwi
Drive and inspect a requested UI using the active host’s browser or desktop controls, collecting evidence from the actual affected surface.
SkillAFreshness: AClaude Code +9 - 0.556score
control-cli
hapwi
Exercise a requested CLI or terminal UI through the current host’s shell and PTY controls, recording actual behavior and preserving unrelated files and…
SkillAFreshness: AClaude Code +9 - 0.541score
architect
hapwi
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: AClaude Code +9 - 0.541score
interrogate
hapwi
Use for "interrogate", "adversarial review", "multi-model review", "challenge this", "stress test this code", "find blind spots", or "tear this apart".
SkillAFreshness: AClaude Code +9 - 0.541score
create-verification-skill
hapwi
Generate a project-local verification skill that drives your app the way a user does — any language, framework, or platform.
SkillAFreshness: AClaude Code +9 - 0.541score
how
hapwi
Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which…
SkillAFreshness: AClaude Code +9 - 0.539score
benchmark-checklist
hapwi
Vet a perf measurement (limiter, tuning, limits, errors, repeatability, relevance, and whether the work happened) before you report or act on it.
SkillAFreshness: AClaude Code +9 - 0.539score
correct
hapwi
Find the mistakes agents keep repeating in this repo and make each one impossible.
SkillAFreshness: AClaude Code +9 - 0.536score
blast-radius
hapwi
Find what a change could break somewhere else before it ships, beyond the diff, and prove the one fact it's safe because of by running real code instead of…
SkillAFreshness: AClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 14, 2026 (15 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/hapwi/hapstack
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from hapwi
- 0.567score
hap-mode
hapwi
Route requested Hapstack engineering tasks to playbooks and skills, including patch-to-score and shipping.
SkillAFreshness: AClaude Code +9 - 0.567score
hap-help
hapwi
Explain Hapstack setup, hap-mode routing, skills, playbooks, principles, prerequisites, and host-specific invocation.
SkillAFreshness: AClaude Code +9 - 0.561score
setup-benny
hapwi
Prepare and configure the dormant Benny issue-triage and bug-reproduction automation pack for an explicitly selected project and supported host scheduler.
SkillAFreshness: AClaude Code +9 - 0.556score
control-ui
hapwi
Drive and inspect a requested UI using the active host’s browser or desktop controls, collecting evidence from the actual affected surface.
SkillAFreshness: AClaude Code +9 - 0.556score
control-cli
hapwi
Exercise a requested CLI or terminal UI through the current host’s shell and PTY controls, recording actual behavior and preserving unrelated files and…
SkillAFreshness: AClaude Code +9 - 0.541score
architect
hapwi
Sketch types, signatures, and module structure before code, then stay in the loop while implementation fills in.
SkillAFreshness: AClaude Code +9
Cite this page
arena skill. Agent Mart. https://agentmart.dev/skills/hapwi-arena (last updated 2026-10-24)