
Agent Eval
- 1.4k installs
- 238k repo stars
- Updated August 5, 2026
- affaan-m/ecc
This is a copy of agent-eval by affaan-m - installs and ranking accrue to the original listing.
Agent Eval is a lightweight CLI agent skill from ECC that runs head-to-head benchmarks of coding agents such as Claude Code, Aider, and Codex on custom YAML-defined tasks measuring pass rate, cost, time, and consistency.
About
Agent Eval is an ECC agent skill that systematizes head-to-head comparisons of coding agents on reproducible custom tasks. Tasks are declared in YAML specifying actions, target files, and success criteria, replacing subjective agent selection with measured pass rates, cost, runtime, and consistency metrics. Developers reach for Agent Eval before adopting a new tool or model, after agent updates, or when teams need data-backed agent choices on their own codebase. The skill supports Claude Code, Aider, Codex, and similar agents. Installation is performed from the ECC repository after reviewing source.
- Runs reproducible agent comparisons using YAML task definitions with pinned commits
- Measures pass rate, cost, time, and consistency metrics across agents
- Supports multiple judge types including pytest and grep pattern checks
- Enables data-backed decisions before adopting new models or tools
- Performs regression checks when agents update their underlying models
Agent Eval by the numbers
- 1,401 all-time installs (skills.sh)
- +84 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/affaan-m/ecc --skill agent-evalAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1.4k |
|---|---|
| repo stars | ★ 238k |
| Last updated | August 5, 2026 |
| Repository | affaan-m/ecc ↗ |
How do you benchmark coding agents on real tasks?
Run head-to-head benchmarks of coding agents like Claude Code, Aider, or Codex on their own tasks and codebase.
Who is it for?
Engineering teams choosing or regression-testing coding agents who need measured comparisons on their own repository tasks.
Skip if: Developers satisfied with a single agent and no adoption decision should skip Agent Eval because it exists for comparative measurement.
When should I use this skill?
A developer compares Claude Code vs Aider vs Codex, adopts a new agent model, or needs regression checks after agent updates.
What you get
Benchmark report with pass rates, cost, runtime, consistency scores, and per-task YAML eval results.
- Head-to-head benchmark report
- YAML task definitions
Files
エージェント評価スキル
再現可能なタスクでコーディングエージェントをヘッドツーヘッドで比較するための軽量 CLI ツールです。「どのコーディングエージェントが最適か?」という比較はすべて感覚に頼りがちです — このツールはそれを体系化します。
起動タイミング
- 自分のコードベースでコーディングエージェント(Claude Code、Aider、Codex など)を比較する
- 新しいツールやモデルを採用する前にエージェントパフォーマンスを測定する
- エージェントがモデルやツールを更新した際にリグレッションチェックを実行する
- チームにデータに基づいたエージェント選択の判断を提供する
インストール
注意: agent-eval はソースを確認した後、リポジトリからインストールしてください。
コアコンセプト
YAML タスク定義
タスクを宣言的に定義します。各タスクは何をするか、どのファイルを操作するか、成功をどう判定するかを指定します:
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" # 再現性のために特定コミットに固定Git ワークツリー分離
各エージェント実行は独自の git ワークツリーを取得します — Docker 不要。これにより再現性の分離が提供され、エージェントが互いに干渉したりベースリポジトリを破壊したりしません。
収集メトリクス
| メトリクス | 測定内容 |
|---|---|
| 合格率 | エージェントはジャッジをパスするコードを生成できたか? |
| コスト | タスクあたりの API 費用(利用可能な場合) |
| 時間 | 完了までのウォールクロック秒数 |
| 一貫性 | 繰り返し実行での合格率(例:3/3 = 100%) |
ワークフロー
1. タスクの定義
タスクごとに 1 つの YAML ファイルを持つ tasks/ ディレクトリを作成します:
mkdir tasks
# タスク定義を作成(上記のテンプレートを参照)2. エージェントの実行
タスクに対してエージェントを実行します:
agent-eval run --task tasks/add-retry-logic.yaml --agent claude-code --agent aider --runs 3各実行: 1. 指定されたコミットから新しい git ワークツリーを作成 2. エージェントにプロンプトを渡す 3. ジャッジ基準を実行 4. 合格・不合格、コスト、時間を記録
3. 結果の比較
比較レポートを生成します:
agent-eval report --format tableTask: 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:
- type: pytest
command: pytest tests/ -v
- type: command
command: npm run buildパターンベース
judge:
- type: grep
pattern: "class.*Retry"
files: src/**/*.pyモデルベース(LLM-as-judge)
judge:
- type: llm
prompt: |
Does this implementation correctly handle exponential backoff?
Check for: max retries, increasing delays, jitter.ベストプラクティス
- 3〜5 タスクから始める — おもちゃの例ではなく、実際のワークロードを代表するタスク
- エージェントごとに少なくとも 3 試行実行する — エージェントは非決定論的なので分散を把握する
- タスク YAML でコミットを固定する — 日や週をまたいで結果が再現可能になる
- タスクごとに少なくとも 1 つの決定論的ジャッジを含める(テスト、ビルド)— LLM ジャッジはノイズを加える
- 合格率と一緒にコストを追跡する — 10 倍のコストで 95% のエージェントが正しい選択でない場合もある
- タスク定義をバージョン管理する — それらはテストフィクスチャであり、コードとして扱う
リンク
Related skills
How it compares
Choose Agent Eval over Eval Harness when the goal is picking between multiple coding agents rather than gating a single Claude Code workflow.
FAQ
Which agents does Agent Eval compare?
Agent Eval compares coding agents such as Claude Code, Aider, and Codex head-to-head on custom YAML-defined tasks, reporting pass rate, cost, time, and consistency for each agent.
How are Agent Eval tasks defined?
Agent Eval tasks are declared in YAML files specifying what the agent should do, which files to modify, and how success is verified, enabling reproducible benchmarks on a developer's own codebase.