More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    RAG Eval Kit: Catch Your Chatbot's Made-Up Answers

    1

    Your agent tests a RAG chatbot: builds a test set from your docs, scores retrieval, and checks every answer claim against its sources with script-verified quotes. Blind-tested on RAGTruth. No API key.

    $12.60

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    RAG Eval Kit: Catch Your Chatbot's Made-Up Answers

    RAG Eval Kit: Catch Your Chatbot's Made-Up Answers

    Example session with this skill installed

    Our support chatbot answers questions from the httpx library docs (docs/). We changed the prompt and now retrieve 5 chunks instead of 2. Is the new version better, and is either version making things up? Our app is rag_app.py; I can give you the answers both versions gave for a set of questions.

    • Read your context and instructions
    • Compiled the rag eval kit

    (real answer, condensed — see examples/httpx-chatbot/ on GitHub)

    Bottom line: the new version is a big step forward: it sticks to the documentation and says "I don't know" when it should. The old version usually gave the right answer, but mostly from the model's own memory, and it changed or invented details.

    (95% CI)OldNew
    Correct vs reference86.8%86.8%
    Answers with made-up details95.0% (87.5–100)12.8% (2.6–25.6)
    Faithfulness33.6%90.2%
    Correct refusals1/66/6
    Evidence in top 561.8%85.3%

    Paired comparison on the same 40 questions: made-up answers −82.1 points (−92.3 to −69.2): a real change. Correctness: no change.

    Examples with proof: "how many connections can the pool open at most?" Old: "at most 50 connections". Source: "max_connections … (Default 100)". "does httpx follow 301/302 redirects automatically like requests does?" Old: "Yes". Source: "HTTPX does

    not follow redirects by default".

    Still failing in the new version: 3 refusals where retrieval missed the evidence (API names such as requires_response_body), and 5 answers with one detail not in the retrieved chunks.

    Most likely fixes: add keyword search next to TF-IDF for API-name questions; keep the strict "only from the context" prompt.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Your chatbot answers from your documents, but how often does it make things up? This skill makes your AI coding agent (Claude Code, Codex, Cursor, Gemini CLI) test it properly and show you the exact wrong answers, with proof.

    What it does

    • Builds a test set from your documents: chunks them, samples across files and helps write questions the way users ask them, with reference answers and word-for-word evidence. Includes multi-hop questions and 10–20% questions your documents cannot answer, to test refusals. A checker rejects evidence that is not word for word.
    • Collects answers by calling your app (JSON in, JSON out) or reading your existing log (common LangChain/LlamaIndex-style field names are accepted).
    • Scores retrieval: hit@k, recall@k, MRR, nDCG@k and context precision.
    • Judges every sentence of every answer against the chunks your system retrieved: supported, contradicted, not found, generic add-on, or wrong refusal. Every supported or contradicted verdict must carry a word-for-word quote, and a script checks that the quote, every number, every name, every code identifier and every calculation is really in the sources. Anything that doesn't hold goes back to the judge.
    • Writes a report with 95% confidence intervals: faithfulness, answers with made-up details, correctness vs reference, correct refusals, retrieval scores, a diagnosis per answer (retrieval miss, model invention, wrong refusal) and the problem answers with the quote that proves each.
    • Compares two versions (prompt, chunking, retriever, model) on the same questions with a paired test, so you know if a change is real or noise.
    • quickcheck: an instant first pass, no AI needed, that lists answers containing numbers or names found in none of their sources.

    Tested, with true numbers

    • Blind test on RAGTruth (public dataset where humans marked every made-up statement): the frozen skill, run by 3 fresh AI agents on 120 test-split answers it had never seen, caught 34 of 40 answers with made-up details. It also flagged 26 of 80 answers the humans marked clean: it is strict, and counts any detail missing from the retrieved passages, even when it is true in real life.
    • Real chatbot over the httpx docs, two versions: answers with made-up details 95.0% → 12.8% (paired test: a real change), correct refusals 1/6 → 6/6, evidence retrieved in the top 5 61.8% → 85.3%. Both versions were 86.8% correct against the reference answers: correctness alone would have hidden the problem. 6 of 6 deliberately planted errors were caught.
    • Retrieval metrics: identical to the ranx library on 5,000 of 5,000 random checks.

    Every verdict, quote and label is published on the results page: https://m-shahmeer-kz.github.io/rag-eval-kit/

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.

    The judge is your AI agent following a written guide: the script checks quotes, numbers, names and calculations, not judgement, so spot-check about 10 verdicts before big decisions. It is strict: details that are true but not in the retrieved sources count as unsupported (in the blind test, 26 of 80 answers humans marked clean were flagged). Faithfulness is measured against what was retrieved; correctness needs reference answers. Small test sets (<50 questions) give wide intervals. Number and name checks work best in English. Judging takes agent time: roughly a few minutes per 40 answers.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Python 3.10+
    Optional
    pdftotext (only for PDF documents)

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    .rageval/**

    Runs locally. Reads your documents and answer logs; writes only to a .rageval/ folder. Makes no network calls itself; the optional collect step runs the command you give it to ask your chatbot. Never changes your files.

    Listedtoday

    What's inside

    Frequently Asked Questions

    No. Your coding agent is the judge, and the checking script uses only the Python standard library. Nothing is sent anywhere by the skill.

    In a blind test on 120 RAGTruth answers it had never seen, it caught 34 of 40 answers with human-labelled made-up details and flagged 26 of 80 clean ones (it is stricter than the human labels). All verdicts are published.

    Yes. The judge then looks for evidence in your documents with the built-in search and marks those verdicts as found by search. Retrieval scores need the chunks.

    Yes. Run both versions on the same test set and use compare: it runs a paired test and says whether each change is real or noise.

    50 or more for clear results. With 40 questions a 20% error rate has an interval of roughly ±12 points.

    New in LLM Ops