Rank finished AgentHub agents by metric or LLM judge to pick a session winner.

CCM score
70 of 100
skills.sh installs
1.4K
GitHub stars
30.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers ranking all agent results for a session via metric command, LLM judge, or hybrid evaluation modes
  • Includes result_ranker.py runs in each agent's worktree, git diffs against the base branch, and board result posts
  • Judges correctness first, then simplicity (fewer lines changed), then overall code quality and structure
  • Designed for ranking completed agents in a session, with hybrid mode breaking ties when top metrics are within 10%

Install

$ npx -y skills add alirezarezvani/claude-skills --skill eval -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

/agenthub:eval — Evaluate Agent Results

Rank all agent results for a session. Supports metric-based evaluation (run a command), LLM judge (compare diffs), or hybrid.

Usage

/agenthub:eval                           # Eval latest session using configured criteria
/agenthub:eval 20260317-143022           # Eval specific session
/agenthub:eval --judge                   # Force LLM judge mode (ignore metric config)

What It Does

Metric Mode (eval command configured)

Run the evaluation command in each agent's worktree:

python {skill_path}/scripts/result_ranker.py \
  --session {session-id} \
  --eval-cmd "{eval_cmd}" \
  --metric {metric} --direction {direction}

Output:

RANK  AGENT       METRIC      DELTA      FILES
1     agent-2     142ms       -38ms      2
2     agent-1     165ms       -15ms      3
3     agent-3     190ms       +10ms      1

Winner: agent-2 (142ms)

LLM Judge Mode (no eval command, or --judge flag)

Details

Repository
github.com/alirezarezvani/claude-skills
Categories
Agent Workflow & Planning, Code Review & Quality, Git & Releases
First seen
Apr 16, 2026

More from alirezarezvani/claude-skills

All 259