rag-evaluator

rag-evaluator is a skill for Claude Code from Giskard-AI/giskard-skills. It costs 204 tokens per session (4,283 once invoked), scanned A, original, Apache-2.0.

An evaluation-suite generator for retrieval-augmented generation (RAG) systems, such as chatbots that answer questions using documents or a knowledge base.

In plain words
What is it for?
Use it to create Giskard checks for answer groundedness, faithfulness, hallucinations, retrieval quality, and citation accuracy.
Why use it?
It helps test whether answers are supported by the supplied information, whether retrieval works, and whether citations are accurate.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the giskard-skills plugin — 3 skills shipped together

Good fit Use it to create Giskard checks for answer groundedness, faithfulness, hallucinations, retrieval quality, and citation accuracy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/giskard-ai/giskard-skills/rag-evaluator
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Giskard-AI/giskard-skills --skill rag-evaluator
Clone the repo
git clone --depth 1 https://github.com/Giskard-AI/giskard-skills

Made for: Claude Code.

Or install giskard-skills, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rag-evaluator

README.md
[![agentmods](https://agentmods.dev/badge/skills/giskard-ai/giskard-skills/rag-evaluator/github.svg)](https://agentmods.dev/skills/giskard-ai/giskard-skills/rag-evaluator)
Your own site
<a href="https://agentmods.dev/skills/giskard-ai/giskard-skills/rag-evaluator"><img src="https://agentmods.dev/badge/skills/giskard-ai/giskard-skills/rag-evaluator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rag-evaluator

Your own site · 80×15
<a href="https://agentmods.dev/skills/giskard-ai/giskard-skills/rag-evaluator"><img src="https://agentmods.dev/badge/skills/giskard-ai/giskard-skills/rag-evaluator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 204 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,283 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00204 $0.04283
Opus 5 $0.00102 $0.02142
Sonnet 5 $0.00041 $0.00857
Haiku 4.5 $0.00020 $0.00428

Measured 12d ago against content hash bbec12073351, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

rag-evaluator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

oss/checks/rag-evaluator/SKILL.md · 260 lines

How it starts

The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Giskard RAG Evaluator

You are an expert RAG evaluation engineer. You build quality-focused evaluation suites with the giskard.checks Python library, plus giskard.scan.quality_scan when the user has a knowledge base. For adversarial / red-teaming evaluation (prompt injection, jailbreaks), hand off to the scenario-generator skill. The two compose: both produce a Suite.

Step 1: Gather Context (do not skip)

Do NOT generate evals from a vague description. Required before any code:

  1. Agent description: What does it answer, in which domain?
  2. Agent interface: The exact callable and its input/output shape. At minimum agent(inputs: str) -> str. Capture dict shapes exactly (e.g., {"answer": ..., "sources": [...]}).

Optional inputs that expand the eval (ask, but never block on them):

  1. Knowledge base: document files or sample chunks. Enables groundedness, synthetic Q&A, and quality_scan.
  2. Retriever callable exposed separately. Enables retrieval-quality metrics.
  3. Curated Q&A set with reference answers. Skips synthesis.
  4. Whether the agent returns retrieved context in its output. Enables per-query groundedness.

If the user has a callable but background is missing, run 3-6 neutral discovery calls against the agent first (purpose, sources, refusal behavior, output shape). Summarize what you learned and confirm with the user before writing the suite. Discovery prompts are in Troubleshooting.

Step 2: Choose Automatic Scan, Hand-Written Suite, or Both

Situation Recommendation
User has a KB and wants coverage fast Start with quality_scan. It generates and runs hallucination, sycophancy, split-question, multi-topic and out-of-scope scenarios from the documents.
User has gold answers, doc-ID labels, or a citation format Hand-write the suite. The scan cannot know the user's gold data.
User exposes a retriever and wants retrieval metrics Hand-write the suite.
User has no KB Hand-write a limited suite. quality_scan warns and skips KB scenarios without documents.

Read the full file on GitHub · 260 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 260 lines · 204 tokens per session scan A bbec12073351

Subscribe to this mod's changes

rag-evaluator is a skill published in the GitHub repository Giskard-AI/giskard-skills (5 stars, last pushed 14d ago), licensed Apache-2.0. It adds 204 tokens to every session and 4,283 once invoked, about $0.0010 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

generate-rag-dataset

Generate a synthetic evaluation dataset from your RAG knowledge base. Creates diverse Q&A pairs with expected answers and relevant context, ready for LangWatch experiments and platform import. Use when you need test data for your RAG pipeline.

langwatch/langwatch · 51 tokens

neuron-test-engineer

Write tests for Neuron AI agents, RAG systems, workflows, and tools using the built-in testing utilities. Use this skill when the user mentions testing agents, writing unit tests, mocking AI providers, testing tool execution, verifying RAG retrieval, testing workflow behavior, or creating test cases for Neuron AI…

neuron-core/neuron-ai · 94 tokens

karpathy-llm-wiki

Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.

Astro-Han/karpathy-llm-wiki · 67 tokens

AI & LLM Security

LLM and AI application security testing — prompt injection, jailbreak resistance, OWASP LLM Top 10 (2025), RAG and agent/tool-use security, model supply chain, and AI red teaming for authorized assessments.

Masriyan/Claude-Code-CyberSecurity-Skill · 50 tokens

fetch-llm-papers

Workflow for updating the LLM landscape paper pool (section/xllmpapers.md) using fetchllmpapers.py. Covers full re-fetch, resume from checkpoint, and adding new topics. USE FOR: Refreshing citation counts, expanding topic coverage. DO NOT USE FOR: Adding hand-curated entries to section files (use…

kimtth/azure-openai-llm-notes · 101 tokens

rag-evaluator

Evaluate RAG pipeline quality across faithfulness, relevance, and hallucination metrics. Use when user asks to test, benchmark, or improve a RAG system, or when RAG outputs look wrong.

chandrudp29/skillhub · 44 tokens