Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

agent-evaluation

БесплатноБез исполняемых скриптовНе проверен

Evaluate and improve Claude Code commands, skills, and agents. Use when testing prompt effectiveness, validating context engineering choices, or measuring…

NeoLabHQот NeoLabHQ★ 1 866 звёзд на GitHub

Об этом скилле

Evaluation Methods for Claude Code Agents

Evaluation of agent systems requires different approaches than traditional software or even standard language model applications. Agents make dynamic decisions, are non-deterministic between runs, and often lack single correct answers. Effective evaluation must account for these characteristics while providing actionable feedback. A robust evaluation framework enables continuous improvement, catches regressions, and validates that context engineering choices achieve intended effects.

Core Concepts

Agent evaluation requires outcome-focused approaches that account for non-determinism and multiple valid paths. Multi-dimensional rubrics capture various quality aspects: factual accuracy, completeness, citation accuracy, source quality, and tool efficiency. LLM-as-judge provides scalable evaluation while human evaluation catches edge cases.

The key insight is that agents may find alternative paths to goals—the evaluation should judge whether they achieve right outcomes while following reasonable processes.

Performance Drivers: The 95% Finding Research on the BrowseComp evaluation (which tests browsing agents' ability to locate hard-to-find information) found that three factors explain 95% of performance variance:

Factor Variance Explained Implication
Token usage 80% More tokens = better performance
Number of tool calls ~10% More exploration helps
Model choice ~5% Better models multiply efficiency

Implications for Claude Code development:

  • Token budgets matter: Evaluate with realistic token constraints
  • Model upgrades beat token increases: Upgrading models provides larger gains than increasing token budgets
  • Multi-agent validation: Validates architectures that distribute work across subagents with separate context windows

Evaluation Challenges

Non-Determinism and Multiple Valid Paths

Agents may take completely different valid paths to reach goals. One agent might search three sources while another searches ten. They might use different tools to find the same answer. Traditional evaluations that check for specific steps fail in this context.

Solution: The solution is outcomes, not exact execution paths. Judge whether the agent achieves the right result through a reasonable process.

Context-Dependent Failures

Agent failures often depend on context in subtle ways. An agent might succeed on complex queries but fail on simple ones. It might work well with one tool set but fail with another. Failures may emerge only after extended interaction when context accumulates.

Solution: Evaluation must cover a range of complexity levels and test extended interactions, not just isolated queries.

Composite Quality Dimensions

Agent quality is not a single dimension. It includes factual accuracy, completeness, coherence, tool efficiency, and process quality. An agent might score high on accuracy but low in efficiency, or vice versa.

An agent might score high on accuracy but low in efficiency.

Solution: Evaluation rubrics must capture multiple dimensions with appropriate weighting for the use case.

Evaluation Rubric Design

Multi-Dimensional Rubric

Effective rubrics cover key dimensions with descriptive levels:

Instruction Following (weight: 0.30)

  • Excellent (1.0): All instructions followed precisely
  • Good (0.8): Minor deviations that don't affect outcome
  • Acceptable (0.6): Major instructions followed, minor ones missed
  • Poor (0.3): Significant instructions ignored
  • Failed (0.0): Fundamentally misunderstood the task

Output Completeness (weight: 0.25)

  • Excellent: All requested aspects thoroughly covered
  • Good: Most aspects covered with minor gaps
  • Acceptable: Key aspects covered, some gaps
  • Poor: Major aspects missing
  • Failed: Fundamental aspects not addressed

Tool Efficiency (weight: 0.20)

  • Excellent: Optimal tool selection and minimal calls
  • Good: Good tool selection with minor inefficiencies
  • Acceptable: Appropriate tools with some redundancy
  • Poor: Wrong tools or excessive calls
  • Failed: Severe tool misuse or extremely excessive calls

Reasoning Quality (weight: 0.15)

  • Excellent: Clear, logical reasoning throughout
  • Good: Generally sound reasoning with minor gaps
  • Acceptable: Basic reasoning present
  • Poor: Reasoning unclear or flawed
  • Failed: No apparent reasoning

Response Coherence (weight: 0.10)

  • Excellent: Well-structured, easy to follow
  • Good: Generally coherent with minor issues
  • Acceptable: Understandable but could be clearer
  • Poor: Difficult to follow
  • Failed: Incoherent

Scoring Approach

Convert dimension assessments to numeric scores (0.0 to 1.0) with appropriate weighting. Calculate weighted overall scores. Set passing thresholds based on use case requirements (typically 0.7 for general use, 0.85 for critical operations).

Evaluation Methodologies

LLM-as-Judge

Полный SKILL.md на GitHub

Установить agent-evaluation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл agent-evaluation?

Evaluate and improve Claude Code commands, skills, and agents. Use when testing prompt effectiveness, validating context engineering choices, or measuring improvement quality.

Как установить скилл agent-evaluation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл agent-evaluation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить agent-evaluation с