/everything-claude-code:agent-evalfrom everything-claude-code
Compares coding agents head-to-head on custom tasks with pass rate, cost, time, and consistency metrics.
Ships in everything-claude-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
一个轻量级 CLI 工具,用于在可重现任务上对编码智能体进行头对头比较。每个"哪个编码智能体最好?"的比较都基于氛围 — 此工具将其系统化。
注意: 在审查源代码后从其存储库安装 agent-eval。
声明式定义任务。每个任务指定做什么、触摸哪些文件以及如何判断成功:
name: add-retry-logic
description: 为 HTTP 客户端添加指数退避重试
repo: ./my-project
files:
- src/http_client.py
prompt: |
为所有 HTTP 请求添加指数退避的重试逻辑。
最多 3 次重试。初始延迟 1 秒,最大延迟 30 秒。
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 工作树 — 不需要 Docker。这提供了可重现性隔离,因此智能体不会相互干扰或损坏基础存储库。
| 指标 | 衡量内容 |
|---|---|
| 通过率 | 智能体是否产生通过判断器的代码? |
| 成本 | 每项任务的 API 开销(如果可用) |
| 时间 | 完成的墙钟秒数 |
| 一致性 | 重复运行的通过率(例如,3/3 = 100%) |
创建一个 tasks/ 目录,每个任务一个 YAML 文件:
mkdir tasks
# 编写任务定义(见上面的模板)
针对您的任务执行智能体:
agent-eval run --task tasks/add-retry-logic.yaml --agent claude-code --agent aider --runs 3
每次运行:
生成比较报告:
agent-eval report --format table
Task: add-retry-logic (各运行 3 次)
┌──────────────┬───────────┬────────┬────────┬─────────────┐
│ 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
judge:
- type: llm
prompt: |
此实现是否正确处理指数退避?
检查:最大重试次数、递增延迟、抖动。
What SKILL.md sets; muted values are Claude Code's defaults
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: agents: Invalid string: must end with ".md"
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
272 skills in this plugin
/accessibility使用 WCAG 2.2 AA 级标准设计、实施和审计包容性数字产品。使用此技能为 Web 和原生平台(iOS/Android)生成语义化 ARIA 和辅助功能属性。/agent-architecture-audit智能体和 LLM 应用的全栈诊断。审计 12 层智能体堆栈,检查包装器回归、内存污染、工具纪律失败、隐藏修复循环和渲染损坏。生成按严重程度排序的发现和代码优先修复。对于构建智能体应用、自主循环或任何 LLM 驱动功能的开发者至关重要。/agent-harness-construction设计和优化 AI 智能体操作空间、工具定义和观察格式,以获得更高的完成率。/agentic-engineering使用评估优先执行、分解和成本感知模型路由作为智能体工程师操作。Other plugins' skills for the same job