Skip to content
Skill

Debug evals

Guides an agent through debugging haiku.rag eval runs in Logfire

Debug evals is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
shell
Platforms
Claude Code, Codex, Cursor
GitHub stars
670
Last commit
License
MIT
Listing updated

Similar skills

About Debug evals

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.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (14 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

What it does

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

Debug evals 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.

More from ggozad/haiku.rag

  1. Traces haiku.rag ingestion failures and slow stages in Logfire via the Logfire MCP

    • Open source
    • 670 GitHub stars
    • Developer tools
  2. Lets your agent search, read and compute over your haiku.rag document knowledge base

    • Open source
    • 670 GitHub stars
    • Knowledge and memory