Skip to content
Skills Library
AI & agents · Testing

evals

/evals

Build and run evaluations for LLM features, prompts, agents, and RAG pipelines — golden datasets, assertions, LLM-as-judge graders, regression gates in CI, A/B comparison of prompts or models. Use whenever someone changes a prompt, swaps a model, ships an AI feature, asks \"is this better?\", \"how do I test my agent/chatbot\", or reports that an AI feature \"sometimes\" gives bad answers.

Licence
MIT
Last repository change
08.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Build and run evaluations for LLM features, prompts, agents, and RAG pipelines — golden datasets, assertions, LLM-as-judge graders, regression gates in CI, A/B comparison of prompts or models. Use whenever someone changes a prompt, swaps a model, ships an AI feature, asks \"is this better?\", \"how do I test my agent/chatbot\", or reports that an AI feature \"sometimes\" gives bad answers.

Triggers from the description

is this better?\how do I test my agent/chatbot\sometimes\
Original author description

Build and run evaluations for LLM features, prompts, agents, and RAG pipelines — golden datasets, assertions, LLM-as-judge graders, regression gates in CI, A/B comparison of prompts or models. Use whenever someone changes a prompt, swaps a model, ships an AI feature, asks \"is this better?\", \"how do I test my agent/chatbot\", or reports that an AI feature \"sometimes\" gives bad answers.

How it works

  1. The minimum viable eval (do this first, ~30 min)
  2. File layout (adapt to the project)
  3. Comparing versions
  4. Regression gate
  5. Agents
  6. RAG
  7. Anti-patterns
Original SKILL.md headings · 52 lines, 476 words
SKILL.md preview
---
name: evals
description: "Build and run evaluations for LLM features, prompts, agents, and RAG pipelines — golden datasets, assertions, LLM-as-judge graders, regression gates in CI, A/B comparison of prompts or models. Use whenever someone changes a prompt, swaps a model, ships an AI feature, asks \"is this better?\", \"how do I test my agent/chatbot\", or reports that an AI feature \"sometimes\" gives bad answers."
---

# LLM Evals

An eval turns "it seems better" into a number you can track. Without one, every prompt tweak is a coin flip that can silently break cases you fixed last week.

## The minimum viable eval (do this first, ~30 min)

1. **Collect 20–50 real inputs.** Pull from logs, support tickets, or write them by hand to cover: common cases, edge cases (empty, huge, multilingual, adversarial/prompt-injection), and every bug you've already fixed.
2. **Write the expected behavior per case** — not necessarily an exact answer; often a set of checks.
3. **Grade with the cheapest reliable method:**
   - Code checks first: valid JSON/schema, contains/doesn't contain, regex, exact match on a field, length bounds, tool X was called with arg Y, latency < N.
   - LLM-as-judge only for genuinely fuzzy criteria (tone, faithfulness to source, helpfulness). Give the judge a rubric with a binary or 1–3 scale per criterion, ask for reasoning before the verdict, and spot-check ~10% of judge verdicts by hand.
4. **Run it, save results** (`evals/results/<date>-<prompt_version>.jsonl`) with input, output, per-check pass/fail, model, tokens, latency.
5. **Report**: overall pass rate, per-category pass rate, and the actual failing outputs. Read the failures — that's where the insight is.

## File layout (adapt to the project)

```
evals/
  cases.jsonl          # {"id", "input", "checks": [...], "tags": [...]}
  graders.py|ts        # code checks + judge prompt
  run.py|ts            # runs cases concurrently, writes results
  results/             # timestamped outputs (gitignore large ones)
```

Use the project's language. If the project already uses promptfoo, inspect-ai, braintrust, langsmith, or the Claude Console eval tool, use that instead of rolling your own.

## Comparing versions

- Run baseline and candidate on the **same** cases, same model settings. Report the delta and list cases that flipped pass→fail (regressions) separately from fail→pass.
- LLM outputs vary: run each case 3× for anything near the threshold and report mean ± spread.
- For subjective quality, do a blind pairwise comparison (judge sees A/B in random order).

## Regression gate

Add the eval to CI (or a pre-merge script) for prompt/model changes with a threshold: fail if pass rate drops > X points or any case tagged `critical` fails. Keep the gate fast — a small critical subset on every change, the full set nightly.

## Agents

Grade the trajectory, not only the final answer: right tools called, no forbidden tools, number of turns, cost, and whether it stopped correctly. Record full transcripts.

## RAG

Separate retrieval evals (did the right chunk appear in top-k? recall@k, MRR) from generation evals (is the answer faithful to the retrieved context and does it cite it?).

## Anti-patterns

- Testing only the happy-path demo prompt.
- Judge with no rubric ("is this good?") → noise.
- Changing cases and prompt at the same time → you can't attribute the change.
- Treating a 2-point move on 20 cases as signal.

Versions

RepositoryScoreLicence
This page · soummyaanon/engineering-os100MIT
emplio-app/emplio100AGPL-3.0
renzrollon/interlock100MIT
chrishuffman5/domain-expert100MIT
houseofmvps/ultraship100MIT
camronh/EZVals95MIT
virtualian/pai95MIT
virtualian/pai95MIT
virtualian/pai95MIT

Database snapshot: 13.11.2026 · package version 6a5c278b8bb0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 4 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100llm-evals
    Builds evaluation suites for LLM features and agents - error analysis on real outputs, pass criteria, code-based checks, calibrated LLM-as-judge graders, dataset splits, CI regression runs, and noise-aware comparisons with cost and latency. Use when testing prompts or models,…
  • 90llm-evals
    LLM/エージェント機能の評価設計スキル。採点方式(二値・pairwise・段階尺度)と LLM 判事の較正・バイアス対策の正本。AI機能の品質保証、検収基準定義、プロンプト変更の回帰テスト、LLM-as-a-Judge構築、judge の較正、golden set作成、「AIの品質をどう測るか」の相談時に必ず使用する。
  • 100agent-evals
    Measure LLM agents and RAG systems: error analysis on traces, failure taxonomy, datasets and synthetic inputs, code graders and LLM judges, judge validation (TPR/TNR, bias correction), trajectory and tool-call evals, pass@k vs pass^k, CI gates, online evals. Use when the user…
  • 100eval-harness
    Build and run evaluation suites for AI features in the user's own application: prompts, LLM calls, RAG pipelines, agents. Covers capability and regression evals, graders (exact match, regex, code execution, LLM judge with structured output, human) and metrics (pass@k, pass^k,…
  • 100evals-ops
    Build and run evals for LLM and agent systems: golden datasets, LLM-as-a-judge with bias control, trajectory/step/outcome scoring, adversarial refuters, and CI regression gates. Triggers on: eval, evals, eval harness, golden dataset, golden set, LLM-as-a-judge, judge rubric,…
  • 100ai-evals
    Build, review and fix evals for LLM apps, RAG pipelines and agents the way the aievals.co guide teaches. Error analysis on real traces before any metric, code checks before LLM judges, one binary PASS/FAIL judge per failure mode, judges calibrated against human labels (PASS and…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.