Communitygithub.com

agent-eval

코딩 에이전트(Claude Code, Aider, Codex 등)를 맞대결 방식으로 비교하여 통과율, 비용, 시간, 일관성 지표를 제공하는 도구입니다. 코딩 에이전트를 선택하거나 에이전트 설정 변경 시 주관적인 느낌 대신 측정된 통과율, 비용, 시간을 평가할 때 사용합니다.

agent-eval란 무엇인가요?

agent-eval은 코딩 에이전트 간의 성능을 체계적이고 재현 가능한 방식으로 비교할 수 있는 경량 CLI 도구입니다. 기존의 '어느 코딩 에이전트가 가장 좋은가?'라는 질문이 단순한 인상에 의존했다면, 이 도구는 YAML 기반의 작업 정의와 git worktree 격리를 통해 각 에이전트의 성능을 통과율, 비용, 시간, 일관성이라는 객관적인 지표로 측정합니다. Claude Code, Aider, Codex 등 다양한 에이전트를 지원하며, 사용자 정의 작업(코드 리팩토링, 버그 수정 등)에 대해 여러 번 실행하여 통계적으로 유의미한 결과를 얻을 수 있습니다. LLM-as-judge를 포함한 다양한 심사 유형(pytest, grep, 명령어 실행)을 지원하고, 결과는 표 형식으로 보고되어 팀 차원의 데이터 기반 에이전트 선택 결정을 내리는 데 활용할 수 있습니다.

지원 대상✓Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/affaan-m/ECC/tree/main/skills/agent-eval

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Agent Eval 스킬

코딩 에이전트를 맞대결 방식으로 비교할 수 있는 경량 CLI 도구입니다. "어떤 코딩 에이전트가 가장 좋은가?"라는 질문에 대한 비교는 항상 직감에 의존해왔지만, 이 도구는 이를 체계화합니다.

활성화 시점

  • 코딩 에이전트(Claude Code, Aider, Codex 등)를 자신의 코드베이스에서 비교할 때
  • 새로운 도구나 모델을 도입하기 전에 에이전트 성능을 측정할 때
  • 에이전트가 모델이나 도구를 업데이트했을 때 회귀 테스트를 실행할 때
  • 팀을 위해 데이터 기반의 에이전트 선택 결정을 내릴 때

설치

참고: 소스 코드를 검토한 후 저장소에서 agent-eval을 설치하세요.

핵심 개념

YAML 작업 정의

작업을 선언적으로 정의합니다. 각 작업은 수행할 작업, 수정할 파일, 성공 여부를 판단하는 방법을 지정합니다:

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 Worktree 격리

각 에이전트 실행은 자체 git worktree를 사용합니다. Docker가 필요 없으며, 에이전트가 서로 간섭하거나 기본 저장소를 손상시키지 않도록 재현 가능한 격리를 제공합니다.

수집되는 지표

지표측정 내용
통과율에이전트가 심사를 통과하는 코드를 생성했는가?
비용작업당 API 사용 비용 (사용 가능한 경우)
시간완료까지의 실제 소요 시간(초)
일관성반복 실행 간 통과율 (예: 3/3 = 100%)

워크플로우

1. 작업 정의

작업당 하나씩 YAML 파일을 tasks/ 디렉토리에 생성합니다:

mkdir tasks
# 위 템플릿을 참고하여 작업 정의 작성

2. 에이전트 실행

작업에 대해 에이전트를 실행합니다:

agent-eval run --task tasks/add-retry-logic.yaml --agent claude-code --agent aider --runs 3

각 실행:

  1. 지정된 커밋에서 새로운 git worktree를 생성합니다.
  2. 프롬프트를 에이전트에 전달합니다.
  3. 심사 기준을 실행합니다.
  4. 통과/실패, 비용, 시간을 기록합니다.

3. 결과 비교

비교 보고서를 생성합니다:

agent-eval report --format table
작업: add-retry-logic (각 3회 실행)
┌──────────────┬───────────┬────────┬────────┬─────────────┐
│ 에이전트       │ 통과율    │ 비용   │ 시간   │ 일관성      │
├──────────────┼───────────┼────────┼────────┼─────────────┤
│ claude-code  │ 3/3       │ $0.12  │ 45초   │ 100%        │
│ aider        │ 2/3       │ $0.08  │ 38초   │  67%        │
└──────────────┴───────────┴────────┴────────┴─────────────┘

심사 유형

코드 기반 (결정적)

judge:
  - type: pytest
    command: pytest tests/ -v
  - type: command
    command: npm run build

패턴 기반

judge:
  - type: grep
    pattern: "class.*Retry"
    files: src/**/*.py

모델 기반 (LLM-as-judge)

judge:
  - type: llm
    prompt: |
      이 구현이 지수 백오프를 올바르게 처리하고 있나요?
      확인할 사항: 최대 재시도 횟수, 증가하는 지연 시간, 지터.

모범 사례

  • 실제 작업 부하를 대표하는 3-5개의 작업으로 시작하세요. 장난감 예제는 피하세요.
  • 에이전트당 최소 3회 시도를 실행하여 변동성을 포착하세요. 에이전트는 비결정적입니다.
  • 작업 YAML에서 커밋을 고정하여 며칠/몇 주에 걸쳐 결과를 재현할 수 있도록 하세요.
  • 작업당 최소 하나의 결정적 심사(테스트, 빌드)를 포함하세요. LLM 심사는 노이즈를 추가합니다.
  • 통과율과 함께 비용도 추적하세요. 10배 비용의 95% 에이전트가 항상 올바른 선택은 아닙니다.
  • 작업 정의에 버전을 지정하세요. 이는 테스트 픽스처이며 코드처럼 취급해야 합니다.

링크

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

api-connector-builder

Build a new API connector or provider by matching the target repo

관련 스킬