# Debug evals

> Debug evals is an open-source agent skill for developer tools. Guides an agent through debugging haiku.rag eval runs in Logfire. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ggozad/haiku.rag/tree/main/.claude/skills/debug-evals
- **Repository:** https://github.com/ggozad/haiku.rag
- **GitHub stars:** 670
- **License:** MIT
- **Skill name:** debug-evals
- **Collection:** https://github.com/ggozad/haiku.rag
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill helps an agent investigate evaluation runs of the haiku.rag project. It locates a run in Logfire, reads headline metrics such as judged pass rate and citation scores, and lists failing or low-citation cases together with the judge's reasoning. It can also drill into the agent's tool calls and model requests within a single case.

The skill is read-only. It works from Logfire SQL queries, preferring the Logfire MCP when loaded and falling back to the Logfire HTTP query API otherwise. It also explains how to read the local result files that evaluation runs write, and how to estimate progress for a run that is still in flight.

Using it requires access to the Logfire project that holds the haiku.rag evaluation spans and a read credential for either the MCP or the HTTP API. The guidance is specific to the haiku.rag evaluations folder and its Python-based runner.

## When your agent uses it

> Debug haiku.rag evaluation runs in Logfire. Use when asked to look at Logfire for an eval run, find failing or low-scoring eval cases, compare runs, check citation quality (cited_map) or judge pass rate (answer_equivalent), or explain why an eval case failed. Drives the Logfire MCP against the `evals` service, or the Logfire HTTP query API when the MCP is not loaded. Also covers monitoring a run that is still in flight.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs shell scripts](https://github.com/ggozad/haiku.rag/tree/HEAD/.claude/skills/debug-evals)
- [Network calls found in its scripts](https://github.com/ggozad/haiku.rag/tree/HEAD/.claude/skills/debug-evals)
- [License: MIT](https://github.com/ggozad/haiku.rag/tree/HEAD/.claude/skills/debug-evals)

## Features

- **Run summary metrics:** Computes pass rate, mean citation score and task time for a given evaluation run.
- **Failing case review:** Lists cases the answer judge marked as not equivalent, with the judge's stated reason.
- **Citation quality checks:** Surfaces low-scoring cases where the answer may be right but grounding is weak.
- **Single case drill-down:** Shows the agent's tool calls and model requests inside one evaluation case.
- **In-flight run monitoring:** Tracks progress and rough completion estimates for runs that are still executing.
- **Run comparison:** Pairs results from two runs over the same cases to compare them.

## Good for

- Summarize the pass rate of the latest haiku.rag eval run
- Find the evaluation cases that failed and explain why
- Check which cases have weak citation grounding
- Estimate how long a running evaluation will take to finish
- Compare results between two evaluation runs

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/debug-evals` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ggozad/haiku.rag.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/debug-evals &&
cp -R "$tmp/.claude/skills/debug-evals" ~/.claude/skills/debug-evals &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/debug-evals` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/debug-evals` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ggozad/haiku.rag.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/debug-evals &&
cp -R "$tmp/.claude/skills/debug-evals" ~/.agents/skills/debug-evals &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/debug-evals` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/debug-evals` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ggozad/haiku.rag.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/debug-evals &&
cp -R "$tmp/.claude/skills/debug-evals" ~/.cursor/skills/debug-evals &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/debug-evals` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ggozad/haiku.rag.git --path .claude/skills/debug-evals
```

Or copy the folder to `~/.gemini/skills/debug-evals` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/debug-evals`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ggozad/haiku.rag.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/debug-evals &&
cp -R "$tmp/.claude/skills/debug-evals" ~/.copilot/skills/debug-evals &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/debug-evals` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ggozad/haiku.rag.git
```

Then copy `haiku.rag/.claude/skills/debug-evals` into your agent's skills folder as `debug-evals`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

Access to the Logfire project holding haiku.rag evaluation spans, through either the Logfire MCP or a read API key for the Logfire HTTP query API.

### Does Debug evals change anything?

No. The skill is described as read-only and only queries Logfire and local result files.

### When does Debug evals trigger?

When asked to look at Logfire for an eval run, find failing or low-scoring cases, compare runs, check citation quality or judge pass rate, or explain a failed case.

### Which project holds the eval runs?

Eval runs are stored in the Logfire project named haiku, under the service name evals.

### How do I install Debug evals in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/debug-evals to use it in all your projects, or to .claude/skills/debug-evals in one project.

### Does Debug evals run scripts?

Yes. It runs shell scripts. Its scripts contain network calls. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Debug evals?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Debug evals?

The closest alternatives to Debug evals are Debug ingestion, Eval driven dev, Agentic eval, Eval harness and AI evaluation.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Debug ingestion](https://ai-powered.com/skills/debug-ingestion): Debug ingestion is an open-source agent skill for developer tools.
- [Eval driven dev](https://ai-powered.com/skills/eval-driven-dev): Eval driven dev is an open-source agent skill for ai models and llm tooling.
- [Agentic eval](https://ai-powered.com/skills/agentic-eval): Agentic eval is an open-source agent skill for ai models and llm tooling.
- [Eval harness](https://ai-powered.com/skills/eval-harness): Eval harness is an open-source agent skill for developer tools.
- [AI evaluation](https://ai-powered.com/skills/ai-evaluation): AI evaluation is an open-source agent skill for developer tools.
- [Agentic engineering](https://ai-powered.com/skills/agentic-engineering): Agentic engineering is an open-source agent skill for developer tools.
- [Agent architecture audit](https://ai-powered.com/skills/agent-architecture-audit): Agent architecture audit is an open-source agent skill for developer tools.
- [Interactive debugging](https://ai-powered.com/skills/interactive-debugging): Interactive debugging is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/debug-evals
