eval
What it does
This skill ranks the results of agents that worked on the same task. It is for people who need a fair, evidence-based pick between several AI attempts.
When to use it
- ✓When several agents have finished and you need to know which result is best.
- ✓When you have a measurable target, such as speed or test coverage, to rank results by.
- ✓When there is no clear metric and you want an AI judge to compare the code.
Skill link
https://github.com/alirezarezvani/claude-skills/blob/main/engineering/agenthub/skills/eval/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Score the three agent results from the latest session and tell me which one wins.”
5 new skills a week. 1 minute to read.
How it works
In metric mode, the agent runs your eval command in each worktree and ranks by the measured number. Without a metric, it compares each agent's diff for correctness, simplicity and quality, and explains its ranking.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/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)
For each agent:
- Get the diff:
git diff {base_branch}...{agent_branch} - Read the agent's result post from
.agenthub/board/results/agent-{i}-result.md - Compare all diffs and rank by:
- Correctness — Does it solve the task?
- Simplicity — Fewer lines changed is better (when equal correctness)
- Quality — Clean execution, good structure, no regressions
Present rankings with justification.
Example LLM judge output for a content task:
RANK AGENT VERDICT WORD COUNT
1 agent-1 Strong narrative, clear CTA 1480
2 agent-3 Good data points, weak intro 1520
3 agent-2 Generic tone, no differentiation 1350
Winner: agent-1 (strongest narrative arc and call-to-action)
Hybrid Mode
- Run metric evaluation first
- If top agents are within 10% of each other, use LLM judge to break ties
- Present both metric and qualitative rankings
After Eval
- Update session state:
python {skill_path}/scripts/session_manager.py --update {session-id} --state evaluating
- Tell the user:
- Ranked results with winner highlighted
- Next step:
/agenthub:mergeto merge the winner - Or
/agenthub:merge {session-id} --agent {winner}to be explicit
FAQ
Can I force judge mode even when a metric exists?
Yes. A flag forces LLM judge mode and ignores the metric setup.
What does the ranking table show?
Each agent's rank, its metric value, the change from the baseline and how many files it touched.
Can I pick a specific session?
Yes. You can name a session ID, and the latest session is used by default.
Details
Original description by the author
Use to score and pick a winner among finished AgentHub agents by metric or judge.
Popularity
- GitHub stars
- 29k
- Ranking position
- #9530
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agent-launcher-orchestrator
29kHelps your agent plan, build, test and schedule a Claude managed agent in your own account, step by step, starting from one clear goal.
grade-iterate
29kLets your agent grade a managed AI agent's work against a rubric and improve it in a fixed number of rounds, so it never loops forever.
interview
29kLets your agent interview you about an AI agent idea and turn your answers into a simple build plan before anything is launched.
run-without-you
29kHelps your agent set up a managed AI agent to run on a schedule or when an event happens, with the cron timing checked before launch.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.