Eval recipes runner

From rysweet/amplihack · View interactive version

Eval recipes runner is an AI agent skill from the GitHub repository rysweet/amplihack. Run Microsoft's eval-recipes benchmarks to validate amplihack improvements against baseline agents. Auto-activates when testing improvements, running evals, or benchmarking changes.

How to use this skill

Skill file

eval-recipes Runner Skill

Purpose

Run Microsoft's eval-recipes benchmarks to validate amplihack improvements against baseline agents.

When to Use

Capabilities

I can run eval-recipes benchmarks to:

  1. Test specific amplihack branches
  2. Compare against baseline agents (codex, claude_code)
  3. Run specific tasks (linkedin_drafting, email_drafting, etc.)
  4. Compare before/after scores for PRs
  5. Generate reports with score improvements

How It Works

Setup (One-Time)

# Clone eval-recipes from Microsoft
git clone https://github.com/microsoft/eval-recipes.git ~/eval-recipes
cd ~/eval-recipes

# Copy our agent configs
cp -r $(pwd)/.claude/agents/eval-recipes/* data/agents/

# Install dependencies
uv sync

Running Benchmarks

Test a specific branch:

# Update install.dockerfile to use specific branch
# Then run benchmark
cd ~/eval-recipes
uv run eval_recipes/main.py --agent amplihack --task linkedin_drafting --trials 3

Compare before/after:

# Test baseline (main)
uv run eval_recipes/main.py --agent amplihack --task linkedin_drafting

# Test PR branch (edit install.dockerfile to checkout PR branch)
uv run eval_recipes/main.py --agent amplihack_pr1443 --task linkedin_drafting

# Compare scores

Available Tasks

Common tasks from eval-recipes:

Typical Workflow

When user says "test this change with eval-recipes":

  1. Identify the branch/PR to test
  2. Update agent config to use that branch:

```dockerfile

# In .claude/agents/eval-recipes/amplihack/install.dockerfile

RUN git clone https://github.com/rysweet/...git /tmp/amplihack && \

cd /tmp/amplihack && \

git checkout BRANCH_NAME && \

pip install -e .

```

  1. Copy to eval-recipes:

```bash

cp -r .claude/agents/eval-recipes/* ~/eval-recipes/data/agents/

```

  1. Run benchmark:

```bash

cd ~/eval-recipes

uv run eval_recipes/main.py --agent amplihack --task TASK_NAME --trials 3

```

  1. Report scores and compare with baseline

Expected Scores

Baseline (main branch):

With PR #1443 (task classification):

Example Usage

User says: "Test PR #1443 with eval-recipes on the LinkedIn task"

I do:

  1. Update install.dockerfile to checkout feat/issue-1435-task-classification
  2. Copy to eval-recipes: cp -r .claude/agents/eval-recipes/* ~/eval-recipes/data/agents/
  3. Run: cd ~/eval-recipes && uv run eval_recipes/main.py --agent amplihack --task linkedin_drafting --trials 3
  4. Report results: "Score: 35.2/100 (up from 6.5 baseline)"

Prerequisites

Notes

Automation

For fully autonomous testing:

# Test suite for a PR
tasks="linkedin_drafting email_drafting arxiv_paper_summarizer"
for task in $tasks; do
  uv run eval_recipes/main.py --agent amplihack --task $task --trials 3
done

# Compare results
cat .benchmark_results/*/amplihack/*/score.txt
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.