greglas75/zuvo/agent-benchmark
Claude Code and agent skill by greglas75/zuvo
- community
Checking that the SKILL.md file is still in the repository.
Self-benchmark: YOU write the code, adversarial reviews it (multi-provider), you fix, you write tests, adversarial reviews tests, you fix. Measures YOUR quality as an agent. Run in different models (Opus, Sonnet, Haiku) and compare results.
Install
npx vskill@latest install greglas75/zuvo/agent-benchmarkSKILL.md
The same SKILL.md was published earlier as greglas75/zuvo/agent-benchmark.
zuvo:agent-benchmark — Self-Benchmark
You are the subject of this benchmark. YOU write the code and tests. Adversarial review (multi-provider) critiques your work between rounds. You fix based on findings.
Run this skill in different models (Opus, Sonnet, Haiku) to compare agent quality.
Argument Parsing
| Flag | Effect | |
|---|---|---|
--quick | Skip adversarial rounds (R1 code + R3 tests only, no fixes) | |
--no-tests | Skip test rounds (R1 + R2 only) | |
--dry-run | Print what would happen, don't execute | |
| _(no flags)_ | Full 4-round benchmark with adversarial |
Mandatory File Loading
Read these files before starting:
If any file is missing, stop.
Setup
- Detect current model: check
$CLAUDE_MODELor infer from context. Record asagent_model. Build a short slug using this table:
| Model string contains | Slug | |
|---|---|---|
opus | opus | |
sonnet | sonnet | |
haiku | haiku | |
gpt-5.4 or codex + 5.4 | codex-5.4 | |
gpt-5.3 or codex + 5.3 | codex-5.3 | |
gpt-5 or codex (no version) | codex | |
gemini | gemini | |
composer | composer | |
cursor | cursor | |
| anything else | use the model name as-is |
Do NOT use `agent` as a slug. The slug must identify which model ran the benchmark.
- Create output directory with agent name in folder:
``bash AGENT_SLUG="<slug from step 1>" RUN_ID="agent-bm-${AGENT_SLUG}-$(date -u +%Y%m%dT%H%M%SZ)" OUT_DIR="zuvo/reports/${RUN_ID}" mkdir -p "$OUT_DIR" ``
Dispatch follows ../../shared/includes/execution-policy.md through env-compat. Reuse existing authorization within that policy; session restrictions take precedence. Run each required gate and report its actual independence or an unmet requirement.
- Find adversarial-review.sh:
scripts/adversarial-review.sh(if in zuvo-plugin repo)~/.codex/scripts/adversarial-review.sh(Codex install)~/.cursor/scripts/adversarial-review.sh(Cursor install)~/.zuvo/adversarial-review(stable; the versioned cache path breaks after any release) (Claude Code)
- Record start time.
Round 1 — Write Code
Read ../../shared/includes/benchmark-corpus/task-code.md. This is your task.
Write the two files yourself. Do NOT dispatch to external providers. YOU are the agent being tested.
Write each file using the Write tool:
$OUT_DIR/r1-OrderService.ts$OUT_DIR/r1-useSearchProducts.ts
Follow the spec exactly. Do your best work — this is measuring YOUR quality.
Record R1 time: r1_time_s = end - start.
Print:
Round 2 — Adversarial Review + Fix
Run adversarial-review.sh on your R1 files. Use all available providers (default multi-provider mode):
Read the findings. Print summary:
Now fix your code based on the adversarial findings. Do NOT edit R1 files — they are the baseline. Write corrected code as NEW files:
$OUT_DIR/r2-OrderService.ts(new file — corrected version of r1)$OUT_DIR/r2-useSearchProducts.ts(new file — corrected version of r1)
Save adversarial findings:
$OUT_DIR/r2-adversarial-findings.txt
If adversarial found zero issues, copy R1 files as R2:
Record R2 time (review + fix).
Print:
Round 3 — Write Tests
Read ../../shared/includes/benchmark-corpus/task-tests.md.
Replace {{ROUND_1_CODE}} with the contents of your R2 files (the fixed versions).
Write tests yourself for both files:
$OUT_DIR/r3-OrderService.test.ts$OUT_DIR/r3-useSearchProducts.test.ts
Record R3 time.
Print:
Round 4 — Adversarial Review on Tests + Fix
Run adversarial-review.sh on your test files. Multi-provider mode:
Read findings. Do NOT edit R3 files — they are the baseline. Read R3, apply fixes, and write corrected tests as NEW files:
$OUT_DIR/r4-OrderService.test.ts(new file — corrected version of r3)$OUT_DIR/r4-useSearchProducts.test.ts(new file — corrected version of r3)
Critical: R3 and R4 must be different files showing before/after. If you edit R3 directly, the benchmark loses the ability to compare pre/post adversarial quality.
Save findings:
$OUT_DIR/r4-adversarial-findings.txt
Record R4 time.
Print:
Self-Scoring
After all 4 rounds, score your own output using ../../shared/includes/benchmark-scoring-rubric.md.
- Read your R2 files. Score C1-C7 (code quality, max 35).
- Read your R4 files. Score T1-T5 (test quality, max 25).
- Compare R1 vs R2 + adversarial findings. Score A1 (code fix, max 5).
- Compare R3 vs R4 + adversarial findings. Score A2 (test fix, max 5).
- Record all scores in
agent-benchmark.jsonunderscoreskey.
Be honest. This is self-evaluation — inflated scores will be caught when comparing across models.
Output — Summary + Artifacts
File Inventory
Print:
JSON Report
Write $OUT_DIR/agent-benchmark.json:
Token Estimation + API Cost
For each round, estimate tokens:
- Input tokens: count words in the prompt × 1.3
- Output tokens: count words in the written files × 1.3
Use these API prices (USD per 1M tokens) to compute cost:
| Model | Input $/1M | Output $/1M | |
|---|---|---|---|
| opus | 15.00 | 75.00 | |
| sonnet | 3.00 | 15.00 | |
| haiku | 0.80 | 4.00 | |
| composer | 0.00 | 0.00 | |
| cursor-composer | 0.00 | 0.00 | |
| unknown | 3.00 | 15.00 |
Formula per round: cost = (input_tokens × input_price / 1_000_000) + (output_tokens × output_price / 1_000_000)
Completion Block
Run Log
After printing, append to the log file path resolved per ../../shared/includes/run-logger.md.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/agent-benchmark/SKILL.md
Popularity
- Repository stars
- 8
- 7-day trend score
- 11
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/greglas75/zuvo/agent-benchmark)