More screenshots

    Works with the AI Agents you already use

    RAG Testset Builder

    by Uttam Sharma

    1

    Builds verifiable RAG ground-truth test sets from local documents with automated quote checking and versioned exports.

    $100

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    RAG Testset Builder

    RAG Testset Builder

    Example session with this skill installed

    I have a folder of HR policy PDFs in ./docs. I need to build a test set for our new RAG assistant. Can you set up the workspace and start the inventory?

    • Read your context and instructions
    • Compiled the rag testset builder

    I have initialized the RAG test set builder workspace in your project. The tool identified 42 PDF documents in the ./docs directory. I've excluded 2 duplicates based on content hashes.

    Workspace Initialization Summary

    MetricValue
    Workspace Path./.rag-testset/
    Source Folder./docs
    Eligible Files40
    File TypesPDF (100%)
    Date Range2022-01-15 to 2024-05-20
    Default Sample Size50 (Adjustable in config.yaml)

    I have created the initial config.yaml. Before we proceed to sampling, we need to define the business context.

    Next steps

    1. Open ./.rag-testset/runs/run_20231027_0915/config.yaml and update the queries.domain (e.g., "HR Benefits and Compliance") and document.chatbot_name.
    2. Provide your API keys (e.g., OPENAI_API_KEY) in your environment or a .env file.
    3. Run rtb sample once the configuration is ready.
    50 (Adjustable in config.yaml

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

    About this skill

    Testing a RAG pipeline with vibes and "it feels right" responses is not a strategy. You need a verifiable, ground-truth test set where every answer is anchored to a specific page and quote. This skill automates the creation of that golden set, moving from a raw corpus to a frozen, peer-reviewed test plan without letting hallucinations leak into your evaluation data.

    What it does

    • Source Sampling performs seeded draws across your corpus, supporting random, grouped (by year, folder, or type), or user-defined samples.
    • Fact Extraction converts pages and sections into atomic fact cards, strictly enforcing word-for-word quotes to prevent model drift.
    • Automated Query Planning balances test sets across seven types, including lookup, filtering, trends, summarization, and edge cases.
    • Multi-Stage Verification runs scripted checks for quote validity, number accuracy, "nothing found" confirmation, and answerability.
    • Artifact Generation produces versioned .jsonl test sets and professional .docx test documents with blank columns for manual testers.

    How it works

    1. Initialize the workspace using rtb init and configure your domain, personas, and LLM providers in the config.yaml.
    2. Sample and Extract your documents to build a corpus map and extract fact cards, with mandatory human checkpoints for the sample and query plan.
    3. Generate and Check the queries and ground truths using your LLM, followed by automated scripts that reject any items failing quote or logic checks.
    4. Review and Freeze the set via an Excel-based review sheet, then sign off to generate the final versioned test artifacts.

    Frameworks & tools

    Built with Python 3.12. It integrates with OpenAI, Azure OpenAI, and Anthropic for generation, uses Pandas for trend analysis, and exports to JSONL and Word formats.

    Why this beats prompting it yourself

    Manual test generation is prone to hallucinated ground truths and poor document coverage. This skill enforces a "nothing enters unchecked" rule, verifying every quote against the source page by script before a human ever sees it.

    Use cases

    • Build a golden set for a corporate chatbot using SharePoint or local file exports.
    • Create complex trend and analytics test queries from structured logs and documents.
    • Verify RAG performance against specific personas and edge cases like out-of-scope data.
    • Generate versioned evaluation datasets for CI/CD pipeline scoring.

    Known limitations

    Does not support direct ingestion from SharePoint, Blob, or S3; files must be synced to a local folder or CSV list first. Requires Python 3.12 or later.

    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 9 days ago

    Software
    Python

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files
    Environment Variables
    Listed9 days ago

    What's inside

    Creator

    Uttam Sharma

    Uttam Sharma

    2 skills on Agensi

    I am a Business Analytics, Data Science and AI professional passionate about using Data, Technology & AI, Innovation and Research to solve complex problems in Business & Technology. My journey bridges industry, research, and entrepreneurship, driven by the belief that data-driven insights and AI can create real-world impact. I am founder of mix it with the arts (www.miwa.org.in), which brings the artistic side to AI development and prompt engineering. I am currently working with Idiro Analytics as AI/ ML engineer Exploring the development of AI solutions inckuding RAG and Agentic AI, at production level. I am researching about capabilities of LLMs in delivering different kind of business results. I am also building my expertise on Microsoft products including Azure to understand the nuances of Cloud Technologies and IT infrastructure in developing large scale cloud native business solutions. At iFOREST, I worked as Data analyst and modeling associate. I worked on low-carbon pathway strategies for Net Zero, extracting and analyzing data from industrial sources, building 21+ dashboards for government stakeholders, and developing forecasting and regression models to track emissions, production, and market trends. I also explored emerging technologies and policies shaping a sustainable future, combining analytics with actionable recommendations. During my tenure at Maruti Suzuki India, I focused on innovating automobile technologies to improve cabin air quality. I conducted 100+ experiments, deployed dashboards to monitor PM2.5 reduction, and collaborated with vendors to develop hardware products, blending technology, data, and product strategy. As the Founder of Mix it with the Arts, I combined my love for STEM and creativity to promote STEAM education. I authored a published book, built a website reaching visitors from 7 countries. I am helping SMBs in business GTM strategies and AI knowledge. I also scaled a newsletter to 600+ subscribers, sharing latest Research and knowledge about AI, GTM, Data and Business. My toolkit spans Python, SQL, Power BI, Tableau, GIS, Excel, AI/Gen AI tools, MS Azure, MS Fabric, Claude Managed Agents, Agentic AI, data visualization, statistical modeling, and website development. I thrive at the intersection of Data, AI, Research & Innovation – Driving Environment Sustainability, Industry/ Business Growth, and STEM/STEAM Education to create a meaningful impact.

    Frequently Asked Questions

    Unlike basic prompting, this skill uses scripted verification to ensure every answer is anchored to a literal quote and page number, preventing 'hallucinated' ground truth data from ruining your evaluation.

    The skill is built on Python 3.12 and supports major LLM providers including OpenAI, Azure OpenAI, and Anthropic for the generation and verification phases.

    You will receive the complete Python skill package, documentation for the `rtb` CLI, and template configurations for your domain-specific personas and test plans.

    No, this skill requires files to be synced to a local directory or referenced in a CSV list before processing begins.

    The skill generates versioned `.jsonl` files for automated pipelines and professional `.docx` files designed for manual human-in-the-loop review and sign-off.

    Setup is handled via the `rtb init` command, which creates a workspace where you can define your data sources and LLM credentials in a `config.yaml` file.

    New in LLM Ops

    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.