Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

RAG evaluation

Measures how well a RAG system retrieves and answers, with test questions, metrics and chunking advice.

Claude's review

8/10 Concrete RAG evaluation method with templates and metrics.

We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.

In detail

Guides evaluation of RAG pipeline retrieval and generation quality. Use when evaluating a retrieval-augmented generation system, measuring retrieval quality, assessing generation faithfulness or relevance, generating synthetic QA pairs for retrieval testing, or optimizing chunking strategies.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: evaluate-rag
description: >
  Guides evaluation of RAG pipeline retrieval and generation quality.
  Use when evaluating a retrieval-augmented generation system, measuring retrieval quality,
  assessing generation faithfulness or relevance, generating synthetic QA pairs for retrieval
  testing, or optimizing chunking strategies.
---

# Evaluate RAG

## Overview

1. Do error analysis on end-to-end traces first. Determine whether failures come from retrieval, generation, or both.
2. Build a retrieval evaluation dataset: queries paired with relevant document chunks.
3. Measure retrieval quality with Recall@k (most important for first-pass retrieval).
4. Evaluate generation separately: faithfulness (grounded in context?) and relevance (answers the query?).
5. If retrieval is the bottleneck, optimize chunking via grid search before tuning generation.

## Prerequisites

Complete error analysis on RAG pipeline traces before selecting metrics. Inspect what was retrieved vs. what the model needed. Determine whether the problem is retrieval, generation, or both. Fix retrieval first.

## Core Instructions

### Evaluate Retrieval and Generation Separately

Measure each component independently. Use the appropriate metric for each retrieval stage:

- **First-pass retrieval:** Optimize for Recall@k. Include all relevant documents, even at the cost of noise.
- **Reranking:** Optimize for Precision@k, MRR, or NDCG@k. Rank the most relevant documents first.

### Building a Retrieval Evaluation Dataset

You need queries paired with ground-truth relevant document chunks.

**Manual curation (highest quality):** Write realistic questions and map each to the exact chunk(s) containing the answer.

**Synthetic QA generation (scalable):** For each document chunk, prompt an LLM to extract a fact and generate a question answerable only from that fact.

...

From ai-evals-course's repository, Apache-2.0 licence.

Related skills

  • Checked

    Council of AI models

    Asks several AI models the same question separately, compares their answers and gives you the best one.

    by alfredfrancis 2.2k
    7/101 credit
  • Checked

    AI automation planner

    Works out which manual work in your business to automate first, then designs the system, tools and safeguards.

    by cbrock84 2.6k
    7/101 credit
  • Checked

    LangGraph agent design

    Guides LangGraph builds through topology, checkpoint and human review choices so agents survive failures.

    by agentsope 513
    7/101 credit
  • Checked

    Agent system design

    Asks staged questions to design agent pipelines and sub agents, so you only add agents where they help.

    by ooiyeefei 505
    7/101 credit
  • Checked

    Subagent model routing

    Chooses the model, effort level and cascade for each subagent by cost per finished task, keeping loops safe.

    by oaustegard 424
    7/101 credit
  • Checked

    Subjective quality evals

    Tests if a prompt or model change improves subjective output with blind comparisons and a calibrated judge.

    by tushaarmehtaa 12
    8/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added