Automated summary
Compares several coding agents (Claude Code, Aider, Codex) head-to-head on reproducible YAML tasks and reports pass rate, cost, time, and consistency.
Strengths
- Per-run git worktree isolation with no Docker requirement, so agents cannot collide or damage the base repository
- Three judge families: deterministic (pytest, build commands), pattern-based (grep), and LLM-as-judge
- Commit pinning in the task YAML keeps results reproducible across days and weeks
- Tabular comparison report that includes consistency across repeated runs (e.g. 3/3 = 100%)
Limitations
- No packaged install: you must clone the repository and review the source before using it
- Cost is only captured when the agent exposes API spend, so some runs show no cost figure
- LLM judges add noise; the skill itself advises including at least one deterministic judge per task
- You have to author the task definitions and judge criteria yourself
Use it when an agent-selection decision or a change to an agent setup needs measured pass rate, cost, and time instead of an impression.
Skip it if you just need unit tests for your own code, or if you lack a git repo with stable commits to anchor tasks against.
Security analysis
CautionThe skill is a legitimate benchmarking tool for coding agents. It relies on Bash execution for running agent commands and judge criteria, but does not itself contain destructive or exfiltrating instructions. The main risk is that task YAML files or the external agent-eval tool could be malicious if not reviewed.
- •Uses Bash to execute judge commands defined in YAML task files; if task files are supplied by an untrusted source, they could contain arbitrary destructive commands.
- •The skill instructs installing an external CLI tool from a GitHub repository, which requires trusting that source after manual review.
Examples
Write a task YAML at tasks/add-retry-logic.yaml that asks for exponential backoff in src/http_client.py, judged by pytest plus a grep for retry, pinned to the current commit. Then run agent-eval run --task tasks/add-retry-logic.yaml --agent claude-code --agent aider --runs 3 and show me the comparison table.Our coding agent just switched models. Re-run my existing tasks/ suite with 3 trials each against the new setup and old setup and tell me whether pass rate, cost, or time regressed.Help me define 5 YAML eval tasks that represent our real workload — one bugfix, one refactor, one feature, one test-writing task, one build fix — each with at least one deterministic judge, so we can pick a coding agent for the team with data.name: agent-eval description: Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression. license: MIT metadata: origin: ECC tools: Read, Write, Edit, Bash, Grep, Glob
Agent Eval Skill
A lightweight CLI tool for comparing coding agents head-to-head on reproducible tasks. Every "which coding agent is best?" comparison runs on vibes — this tool systematizes it.
When to Activate
- Comparing coding agents (Claude Code, Aider, Codex, etc.) on your own codebase
- Measuring agent performance before adopting a new tool or model
- Running regression checks when an agent updates its model or tooling
- Producing data-backed agent selection decisions for a team
Installation
Note: Install agent-eval from its repository after reviewing the source.
Core Concepts
YAML Task Definitions
Define tasks declaratively. Each task specifies what to do, which files to touch, and how to judge success:
name: add-retry-logic
description: Add exponential backoff retry to the HTTP client
repo: ./my-project
files:
- src/http_client.py
prompt: |
Add retry logic with exponential backoff to all HTTP requests.
Max 3 retries. Initial delay 1s, max delay 30s.
judge:
- type: pytest
command: pytest tests/test_http_client.py -v
- type: grep
pattern: "exponential_backoff|retry"
files: src/http_client.py
commit: "abc1234" # pin to specific commit for reproducibility
Git Worktree Isolation
Each agent run gets its own git worktree — no Docker required. This provides reproducibility isolation so agents cannot interfere with each other or corrupt the base repo.
Metrics Collected
| Metric | What It Measures | |--------|-----------------| | Pass rate | Did the agent produce code that passes the judge? | | Cost | API spend per task (when available) | | Time | Wall-clock seconds to completion | | Consistency | Pass rate across repeated runs (e.g., 3/3 = 100%) |
Workflow
1. Define Tasks
Create a tasks/ directory with YAML files, one per task:
mkdir tasks
# Write task definitions (see template above)
2. Run Agents
Execute agents against your tasks:
agent-eval run --task tasks/add-retry-logic.yaml --agent claude-code --agent aider --runs 3
Each run:
- Creates a fresh git worktree from the specified commit
- Hands the prompt to the agent
- Runs the judge criteria
- Records pass/fail, cost, and time
3. Compare Results
Generate a comparison report:
agent-eval report --format table
Task: add-retry-logic (3 runs each)
┌──────────────┬───────────┬────────┬────────┬─────────────┐
│ Agent │ Pass Rate │ Cost │ Time │ Consistency │
├──────────────┼───────────┼────────┼────────┼─────────────┤
│ claude-code │ 3/3 │ $0.12 │ 45s │ 100% │
│ aider │ 2/3 │ $0.08 │ 38s │ 67% │
└──────────────┴───────────┴────────┴────────┴─────────────┘
Judge Types
Code-Based (deterministic)
judge:
- type: pytest
command: pytest tests/ -v
- type: command
command: npm run build
Pattern-Based
judge:
- type: grep
pattern: "class.*Retry"
files: src/**/*.py
Model-Based (LLM-as-judge)
judge:
- type: llm
prompt: |
Does this implementation correctly handle exponential backoff?
Check for: max retries, increasing delays, jitter.
Best Practices
- Start with 3-5 tasks that represent your real workload, not toy examples
- Run at least 3 trials per agent to capture variance — agents are non-deterministic
- Pin the commit in your task YAML so results are reproducible across days/weeks
- Include at least one deterministic judge (tests, build) per task — LLM judges add noise
- Track cost alongside pass rate — a 95% agent at 10x the cost may not be the right choice
- Version your task definitions — they are test fixtures, treat them as code
Links
- Repository: github.com/joaquinhuigomez/agent-eval
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/agent-eval-compare-coding-agents-mte1lkgc/download' --output '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md.part' && mv '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md.part' '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Original excerpt: Installation
Note: Install agent-eval from its repository after reviewing the source.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md' && test -s '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/agent-eval' && cp -R '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc' '.claude/skills/agent-eval'Codex
test -f '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md' && test -s '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/agent-eval' && cp -R '.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc' '.agents/skills/agent-eval'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/agent-eval-compare-coding-agents-mte1lkgc'openskills read 'agent-eval-compare-coding-agents-mte1lkgc'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/agent-eval-compare-coding-agents-mte1lkgc/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.