Command Palette

Search for a command to run...

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

web-search-agent-evals

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

Development assistant for web search agent evaluations across multiple CLI agents

diegosouzapwот diegosouzapw★ 68 звёзд на GitHub

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

Web Search Agent Evaluations

Development assistant for running and comparing web search capabilities across CLI agents.

Overview

Evaluate 4 agents (Claude Code, Gemini, Droid, Codex) with 2 tools (builtin, You.com MCP) = 8 pairings.

Key Features:

  • Headless adapters - Schema-driven CLI agent execution via @plaited/agent-eval-harness
  • Flag-based architecture - Single service per agent, mode selected via environment variables
  • Type-safe constants - MCP server definitions in TypeScript
  • Isolated execution - Each pairing runs in its own Docker container

Architecture:

  • agent-schemas/ - Headless adapter JSON schemas
  • mcp-servers.ts - TypeScript MCP server constants
  • docker/entrypoint - Bun shell script for runtime config
  • scripts/ - Type-safe execution and comparison CLI tools
  • docker/ - Container infrastructure

Quick Commands

Run Evaluations

# Full dataset (151 prompts), k=5 — all 8 agent×provider scenarios
bun run trials

# Quick smoke test (5 random prompts, single trial)
bun run trials -- --count 5 -k 1

# Specific agent or provider
bun run trials -- --agent claude-code --search-provider builtin
bun run trials -- --agent gemini --search-provider you

# Trial type presets
bun run trials -- --trial-type capability   # k=10, deep exploration
bun run trials -- --trial-type regression   # k=3, fast regression check

# Custom k value
bun run trials -- -k 7

# Control parallelism
bun run trials -- -j 4                      # Limit to 4 containers
bun run trials -- --prompt-concurrency 4    # 4 prompts per container

# Direct Docker (manual testing)
docker compose run --rm -e SEARCH_PROVIDER=builtin claude-code
docker compose run --rm -e SEARCH_PROVIDER=you -e PROMPT_COUNT=5 gemini

Compare Results

Comparisons are written to data/comparisons/YYYY-MM-DD/.

# Latest date auto-detected
bun run compare

# Statistical analysis with bootstrap confidence intervals
bun run compare:stat

# Specific date or filter
bun run compare -- --run-date 2026-02-18
bun run compare -- --agent droid
bun run compare -- --search-provider builtin
bun run compare -- --trial-type capability

# View results
cat data/comparisons/2026-02-18/all-builtin-weighted.json | jq '.capability'
cat data/comparisons/2026-02-18/builtin-vs-you-weighted.json | jq '.headToHead.capability'

Comparison strategies:

  • weighted (default) - Capability, reliability, and consistency weighted scoring
  • statistical - Bootstrap sampling with 95% confidence intervals

Generate Report

Generate a comprehensive REPORT.md from comparison results:

# Latest date auto-detected
bun run report

# Specific date
bun run report -- --run-date 2026-02-18

# Preview without writing
bun run report -- --dry-run

Report includes:

  • Executive summary with best capability, reliability, and performance
  • Quality rankings with pass@k and pass^k scores
  • Performance rankings (latency P50/P90/P99)
  • Flakiness analysis with top flaky prompts
  • MCP tool impact analysis (builtin vs MCP comparison)
  • Tool call statistics (P50/P90/P99/mean per provider)
  • Tool call distribution histograms
  • Failing prompts list (pass@k = 0%) with query text

Output: data/comparisons/YYYY-MM-DD/REPORT.md

Calibrate Grader

Interactive wizard to sample failures and review grader accuracy. Helps distinguish between agent failures (agent got it wrong) and grader bugs (agent was correct, grader too strict).

# Interactive calibration (recommended)
bun run calibrate

Interactive prompts:

  1. Run date - Select from available dated runs
  2. Agents - Multi-select via numbers or "all"
  3. Search providers - Multi-select via numbers or "all"
  4. Sample count - Number of failures to sample (default: 5)

Output: data/calibration/{date}-{agent}-{provider}.md

What calibration reveals:

  • ❌ Grader too strict - Agent gave correct answer, grader rejected valid paraphrasing
  • ❌ Hint too vague - Grader can't tell good from bad answers
  • ✅ Real failures - Agent genuinely gave wrong/incomplete answer

See @agent-eval-harness calibration docs for grader calibration concepts.

Parallelization

The evaluation harness supports two-level parallelization for optimal performance:

Container-Level Concurrency (-j, --concurrency)

Controls how many Docker containers (agent×provider scenarios) run simultaneously.

bun run trials              # Unlimited (default, all 8 scenarios at once)
bun run trials -- -j 4     # Limit to 4 containers
bun run trials -- -j 1     # Sequential (debugging)

Use cases:

  • Unlimited (default) - All scenarios at once, I/O-bound workload handles it fine
  • -j 4 - Limit concurrency if hitting API rate limits
  • -j 2 - Conservative, for low-resource machines
  • -j 1 - Sequ
Полный SKILL.md на GitHub

Установить web-search-agent-evals в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

metadata.json

FAQ

Что делает скилл web-search-agent-evals?

Development assistant for web search agent evaluations across multiple CLI agents

Как установить скилл web-search-agent-evals?

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

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

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

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

Сравнить web-search-agent-evals с