本文へスキップ
Skillpedia
エージェント29k · #9530

eval

できること

このスキルは、同じタスクに取り組んだエージェントの結果をランク付けします。複数のAIの試みの中から、根拠に基づいて公平に選ぶ必要がある人を対象としています。

使う場面

  • ✓複数のエージェントが完了し、どの結果が最も良いかを知る必要があるとき。
  • ✓速度やテストカバレッジなど、測定できる目標で結果をランク付けしたいとき。
  • ✓明確な指標がなく、AIジャッジにコードを比較させたいとき。

スキルのリンク

https://github.com/alirezarezvani/claude-skills/blob/main/engineering/agenthub/skills/eval/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/alirezarezvani/claude-skills/blob/main/engineering/agenthub/skills/eval/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“最新のセッションにある三つのエージェントの結果を採点し、勝者を教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

メトリクスモードでは、エージェントは各ワークツリーであなたの評価コマンドを実行し、測定された数値でランク付けします。指標がない場合は、各エージェントの差分を正確さ、シンプルさ、品質の観点で比較し、ランク付けの理由を説明します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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:

  1. Get the diff: git diff {base_branch}...{agent_branch}
  2. Read the agent's result post from .agenthub/board/results/agent-{i}-result.md
  3. 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

  1. Run metric evaluation first
  2. If top agents are within 10% of each other, use LLM judge to break ties
  3. Present both metric and qualitative rankings

After Eval

  1. Update session state:
python {skill_path}/scripts/session_manager.py --update {session-id} --state evaluating
  1. Tell the user:
    • Ranked results with winner highlighted
    • Next step: /agenthub:merge to merge the winner
    • Or /agenthub:merge {session-id} --agent {winner} to be explicit
よくある質問

指標があってもジャッジモードを強制できますか?

はい。フラグを付けると、指標の設定を無視してLLMジャッジモードを強制できます。

ランキング表には何が表示されますか?

各エージェントの順位、指標の値、ベースラインからの変化、変更したファイルの数が表示されます。

特定のセッションを選べますか?

はい。セッションIDを指定できます。指定しない場合は、最新のセッションが使われます。

詳細

作者による元の説明

Use to score and pick a winner among finished AgentHub agents by metric or judge.

repo: alirezarezvani/claude-skills

人気

GitHubのスター
29k
ランキング
#9530
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル