greglas75/zuvo/benchmark
Claude Code and agent skill by greglas75/zuvo
- community
Checking that the SKILL.md file is still in the repository.
Multi-provider AI coding benchmark. Dispatches a task to Codex, Gemini, Claude, and Cursor-Agent in parallel, scores responses with a Claude meta-judge, and produces a ranked leaderboard with cost, time, quality, and self-eval bias metrics. Supports corpus mode (fixed OrderService + useSearchProducts tasks) for apples-to-apples comparison across runs.
Install
npx vskill@latest install greglas75/zuvo/benchmarkSKILL.md
The same SKILL.md was published earlier as greglas75/zuvo/benchmark.
zuvo:benchmark — Multi-Provider Coding Benchmark
Measures how well different AI coding agents handle a task. Dispatches to all available providers in parallel, collects responses, and uses an opposite-model Claude meta-judge to score on four dimensions (completeness, accuracy, actionability, no_hallucinations). Outputs a ranked leaderboard with cost and time breakdown.
Use corpus mode (`--mode corpus`) to compare runs across time. The corpus uses fixed OrderService + useSearchProducts tasks — the same prompt every time — so runs from different days are directly comparable.
Argument Parsing
Parse $ARGUMENTS for these flags:
| Flag | Effect | |
|---|---|---|
--diff [ref] | Benchmark against a git diff (default: HEAD~1) | |
--files <path> | Benchmark on a file or newline-separated list of files as task input | |
--prompt <text> | Use a literal text prompt as the task (alias: --task) | |
--mode corpus | Use fixed corpus tasks (OrderService + useSearchProducts) | |
--mode default | Use user-provided task (default) | |
--with-tests | Run Round 2: have providers write tests for their own Round 1 code | |
--with-adversarial | Run adversarial cross-review on Round 1 code | |
--with-test-adversarial | Run adversarial cross-review on Round 3 tests (requires --with-tests) | |
--with-static-checks | Run tsc + jest on generated code (best-effort, null if tools missing) | |
--provider <name> | Restrict to one or more providers, comma-separated (alias: --providers) | |
--show-costs | Print provider cost table ($/M tokens) and exit | |
--compare [id1] [id2] | Compare two prior runs from zuvo/reports/; default: last two (skill-only, not passed to runner) | |
--replay-last | Re-run benchmark with the same task as the most recent run (skill-only, not passed to runner) | |
--json | Output raw JSON to stdout instead of formatted leaderboard (handled by both runner and skill) | |
--no-snapshot | Suppress task_snapshot storage (use if task contains secrets or PII) | |
--dry-run | Print prompt + providers without dispatching | |
| _(remaining text)_ | Treated as --prompt <text> if no other input flag given |
Mandatory File Loading
Before starting work, read each file below. Print the checklist with status.
If any core file is missing, proceed in degraded mode and note it in the BENCHMARK COMPLETE block.
Phase 0: Parse and Validate Arguments
- Parse all flags from
$ARGUMENTSper the table above.
--show-costs: runscripts/benchmark.sh --show-costs, print the table, stop. No benchmark run.
--compare: load the two specified run JSONs fromzuvo/reports/(or the last two if no IDs given). Print a delta table: quality, time_s, cost_usd per provider. Warn if task_hash values differ (different tasks, comparison may be misleading). Stop — no benchmark run.
--replay-last: find the most recent.jsonfile inzuvo/reports/. Readtask_snapshotas the task input. SetINPUT_MODE=prompt. Error if no history found. Error if--mode corpus(corpus uses fixed prompts, replay makes no sense).
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.
- Validate flag combinations:
--with-testsand--with-adversarialrequire--mode corpus(they assume a two-round structure). If set without--mode corpus, print a warning and auto-set--mode corpus.--providerwith a name not in the detected provider list → warn, but don't fail (provider may appear after dispatch attempt).
- Determine task source:
--mode corpus→task_source: "corpus", load from../../shared/includes/benchmark-corpus/task-code.md--diff→task_source: "diff", input via git diff--files→task_source: "files", input via file concatenation--promptor remaining text →task_source: "user", input is the literal text- None of the above →
task_source: "diff", default toHEAD~1(matches runner behavior)
- Print run header:
`` BENCHMARK RUN Mode: [default|corpus] | Task: [first 60 chars or "corpus"] | Providers: [list] Options: tests=[bool] adversarial=[bool] static=[bool] ``
Phase 1: Dispatch Providers
- Find and run
benchmark.sh. Search in order:
scripts/benchmark.sh(if in zuvo-plugin repo)~/.codex/scripts/benchmark.sh(Codex install)~/.cursor/scripts/benchmark.sh(Cursor install)~/.claude/plugins/cache/zuvo-marketplace/zuvo/*/scripts/benchmark.sh(Claude Code plugin cache)
Capture stdout to $TMPDIR/benchmark-raw.json.
``bash scripts/benchmark.sh \ --mode <mode> \ [--prompt <text>|--files <path>|--diff <ref>] \ [--with-tests] [--with-adversarial] [--with-test-adversarial] [--with-static-checks] \ [--provider <list>] [--json] \ --run-id <run_id> \ --round-dir "$TMPDIR/rounds" \ --output "$TMPDIR/benchmark-raw.json" ``
> Runner-only flags: --prompt, --files, --diff, --mode, --with-*, --provider, --output, --run-id, --round-dir, --json, --show-costs, --dry-run, --no-snapshot. > Skill-only flags (NOT passed to runner): --compare, --replay-last. These are handled in Phase 0 before the runner is invoked.
- Check exit code:
0: success, proceed to Phase 21: bad arguments → show error and stop2: no providers available → show install instructions and stop3: all providers failed → show error and stop
- Print progress as providers complete (read from stderr in real time or wait for script exit):
`` [1/4] claude — done (42s) [2/4] gemini — done (31s) [3/4] codex-fast — done (28s) [4/4] cursor-agent — timeout ``
Phase 2: Meta-Judge Scoring
Never skip this phase. Even if only one provider succeeded, still score it.
Model Selection (opposite-model rule)
The judge must be a different model than the one running this skill to reduce self-serving bias:
- If
$CLAUDE_MODELcontains "opus" → useclaude-sonnet-5 - Otherwise (sonnet, haiku, or unset) → use
claude-opus-5
This is the opposite model from the one executing this skill.
Input Preparation (CQ6 — bounded input)
For each provider response in providers_raw:
- Extract
response_excerptor the full response text - CQ6 truncation: limit each response to
floor(80000 / provider_count)characters before including in the judge prompt. Setjudge_input_truncated: truein output if any response was truncated.
Shuffle the presentation order randomly (store in judge_presentation_order) to reduce positional bias.
Judge Prompt
Send a single Claude call to the judge model with this prompt structure:
Parse Judge Response
- Extract JSON from the response. If
jq .fails → mark runUNSCORED, skip to Phase 3 with null scores. Log the raw judge output for debugging. - Map labeled responses (A, B, C...) back to provider names using
judge_presentation_order. - Compute per-provider:
code_composite = completeness + accuracy + actionability + no_hallucinations(0–20)quality = round(code_composite * 5)(0–100) — code-only modeself_eval_bias = self_eval_raw - code_composite— null ifself_eval_rawis null
Phase 3: Assemble Leaderboard
Rank Providers
Sort by:
qualityDESC (higher is better)time_sASC (faster wins ties)cost_usdASC (cheaper wins cost ties)provideralphabetical (deterministic final tiebreaker)
Build Leaderboard Array
For each provider in ranked order:
Build Scorecards Object
Leaderboard Display
Print the leaderboard as a markdown table:
Phase 4: Persist and Log
Output Files
Auto-increment the run number (NNN) by reading existing files in zuvo/reports/:
zuvo/reports/benchmark-NNN-[run_id].md— human-readable reportzuvo/reports/benchmark-NNN-[run_id].json— machine-readable JSON per benchmark-output-schema.md
The JSON file must conform to the schema version "2.0" defined in ../../shared/includes/benchmark-output-schema.md.
JSON Output Structure
Run Log
Retrospective (REQUIRED)
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 90 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/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/benchmark)