JDKrasnick

Agentarena — Testing skill for Claude Code

Testing community

Adversarial coding-agent evaluation harness that pits Claude Code, Codex, and Gemini CLI against the same repository task through executable test attacks, repairs, and task-contract verification.

How to install Agentarena

This entry records only its repository, not the path inside it, so there is no exact command to give. Open JDKrasnick/agentarena and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentarena does

Adversarial coding-agent evaluation harness that pits Claude Code, Codex, and Gemini CLI against the same repository task through executable test attacks, repairs, and task-contract verification.

Alternatives in Testing

  • Deslop Reborn — One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents 12.6k ★
  • Spec Driven Development — Drive Kandev feature work through spec, plan, independent tasks, implementation, QA, and verification 697 ★
  • Spec Kit Zh — 💫 帮助你快速上手规格驱动开发的工具包💫 Toolkit to help you get started with Spec-Driven Development Works seamlessly across al 238 ★

README

Agent Arena

Make your coding agents fight for the merge.

Agent Arena is a local Node.js library and CLI that gives two coding agents the same immutable run specification, validates both patches, and runs three attack–repair rounds. Attacks are executable test patches, not critiques. The harness reproduces them twice, verifies that their expected behavior is supported by frozen task text, resolves damage and recoil simultaneously, gives both contestants bounded repair opportunities, and exports the evidence and final patches.

Surviving the arena is additional evidence, not a correctness guarantee.

Review in chat

The primary workflow is a chat or IDE host calling the exported typed operations:

  1. reviewRun presents the arena champion, correctness-first recommendation, evidence, choices, and exact patch digests.
  2. inspectPatch reads a summary, diff, checks, or quality evidence.
  3. recordReviewDecision accepts or rejects only an authenticated user action bound to the current prompt, base commit, contestant, and digest.
  4. applyAcceptedPatch applies only that accepted patch.
  5. planDelivery, recordDeliveryDecision, executeDelivery, and getDeliveryStatus provide a separate, gated GitHub delivery workflow.

The core never parses conversational language. A chat host maps an authenticated user action to the strict schemas exported from `agent-arena`. Tokens and raw chat text are not stored.

Requirements

  • Node.js 22 or newer
  • Git
  • A clean local Git repository with a passing test command
  • Two installed and authenticated CLIs from Codex, Claude Code, and Gemini CLI

Agent-generated code and tests execute with your current OS account's permissions. Git worktrees prevent accidental patch cross-contamination; they are not a hostile-code sandbox. Use a sanitized account or an external container when the host has sensitive credentials.

Install and run

npm install
npm run build
npm link

agent-arena fight \
  "fix issue #241: