# LLM evals

> LLM evals is an open-source agent skill for developer tools. Lets your agent design and run evals that compare LLM models and endpoints on your tasks. 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/ScaleDockHQ/better-supabase/tree/main/.agents/skills/llm-evals
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** llm-evals
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through measuring whether a model or serving change is good enough for a specific workload. It covers building a golden set from real inputs, comparing a baseline and candidate with promptfoo, running public benchmarks through lm-evaluation-harness, and using model-graded judges where deterministic checks cannot express the result.

The workflow puts emphasis on controlled comparisons: prompts, sampling, seeds and chat templates are pinned on both sides, and the agent is directed to check per-item pass-to-fail flips and measure run-to-run noise before calling a difference real. For numerics-changing updates such as quantization, speculative decoding, KV-cache dtype or engine upgrades, it asks for a written gate with metric, threshold and decision owner set before running. It also includes a troubleshooting checklist for odd results, covering chat templates, reasoning output, truncation and contamination.

The skill expects an OpenAI-compatible /v1 endpoint, curl and jq, and Node.js for promptfoo via npx. lm-evaluation-harness is a separate Python CLI the user installs. API keys are read from environment variables and never printed.

## When your agent uses it

> Evaluate LLMs on your own tasks against any OpenAI-compatible endpoint (local llama.cpp/Ollama, self-hosted vLLM/SGLang behind LiteLLM or llama-swap, or a cloud API). Use when choosing between models or endpoints, building a golden set from real prompts, A/B testing two deployments, quality-gating a numerics-changing change (quantization, speculative decoding, KV-cache dtype, new engine or chat template version), running standard benchmarks with lm-evaluation-harness (local-completions, local-chat-completions), writing promptfoo configs and assertions, using LLM-as-a-judge (llm-rubric) safely, adding regression evals to CI (GitHub Actions), or debugging eval results that look wrong (contamination, temperature, chat template mismatch, reasoning tokens, truncation, perplexity or KL divergence vs task accuracy).

## What it can access

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

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/llm-evals)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/llm-evals)

## Features

- **Golden set design:** Guidance on collecting 20 to 200 real inputs, writing expected properties and tagging items with provenance.
- **Baseline vs candidate comparison:** A promptfoo config that runs two OpenAI-compatible endpoints under identical sampling settings.
- **Numerics change quality gate:** A procedure and decision record for approving quantization, speculative decoding or engine upgrades.
- **Standard benchmark runs:** Steps for lm-evaluation-harness using completions or chat endpoints, with a smoke run before full tasks.
- **LLM-as-judge calibration:** Rules for configuring a pinned judge, setting thresholds and checking agreement against human labels.
- **CI regression checks:** Tiered eval runs on pull requests and nightly, with exit-code gating and private artifact handling.

## Good for

- Pick the best model among several OpenAI-compatible endpoints for my support tickets
- Check whether quantizing my served model hurt accuracy on my real prompts
- Run a public benchmark subset against my local vLLM server
- Set up promptfoo regression tests that run on every pull request
- Calibrate an LLM judge against a set of human-labelled answers

## Install

### Claude Code

This skill ships in the `better-supabase` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase
```

Or copy only this skill to `~/.claude/skills/llm-evals`:

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

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/llm-evals &&
cp -R "$tmp/.agents/skills/llm-evals" ~/.agents/skills/llm-evals &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/llm-evals &&
cp -R "$tmp/.agents/skills/llm-evals" ~/.cursor/skills/llm-evals &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/llm-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/ScaleDockHQ/better-supabase.git --path .agents/skills/llm-evals
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/llm-evals &&
cp -R "$tmp/.agents/skills/llm-evals" ~/.copilot/skills/llm-evals &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git
```

Then copy `better-supabase/.agents/skills/llm-evals` into your agent's skills folder as `llm-evals`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

An OpenAI-compatible /v1 endpoint, curl and jq. promptfoo runs through npx with Node.js, and lm-evaluation-harness is installed separately as a Python CLI.

### Does LLM evals change any files in my repository?

The discovery steps are read-only checks for existing eval assets, tools and endpoint models. Templates such as a promptfoo config and a JSONL golden set are provided for the user to adapt.

### How are API keys handled?

Keys are only read from environment variables, tested for presence and never printed; the benchmark runner receives them through the environment rather than command-line arguments.

### When should I use an LLM judge instead of exact checks?

The skill recommends deterministic assertions such as equals, contains, regex and is-json first, and only uses model-graded rubrics where open-ended outputs have no exact answer.

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

Copy the skill folder from GitHub to ~/.claude/skills/llm-evals to use it in all your projects, or to .claude/skills/llm-evals in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

### Does LLM evals run scripts?

No. It is instructions only, with no scripts. 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 LLM 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 LLM evals?

The closest alternatives to LLM evals are Eval driven dev, LLM observability, Agentic eval, Phoenix evals and AI evaluation.

## Where this comes from

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

## Alternatives

- [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.
- [LLM observability](https://ai-powered.com/skills/llm-observability): LLM observability is an open-source agent skill for developer tools.
- [Agentic eval](https://ai-powered.com/skills/agentic-eval): Agentic eval is an open-source agent skill for ai models and llm tooling.
- [Phoenix evals](https://ai-powered.com/skills/phoenix-evals): Phoenix evals is an open-source agent skill for ai models and llm tooling.
- [AI evaluation](https://ai-powered.com/skills/ai-evaluation): AI evaluation is an open-source agent skill for developer tools.
- [AI ship bar](https://ai-powered.com/skills/ai-ship-bar): AI ship bar is an open-source agent skill for developer tools.
- [Jetson LLM benchmark](https://ai-powered.com/skills/jetson-llm-benchmark): Jetson LLM benchmark is an open-source agent skill for ai models and llm tooling.
- [Create task](https://ai-powered.com/skills/create-task): Create task is an open-source agent skill for ai models and llm tooling.

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