evaluate

Evaluate RAG retrieval quality with LLM judgments and gap reports.

161|21|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/softspark/ai-toolkit --skill evaluate-softspark
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evaluate
Source: https://github.com/softspark/ai-toolkit/tree/main/app/skills/evaluate
Command: npx skills add https://github.com/softspark/ai-toolkit --skill evaluate-softspark

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Evaluates RAG retrieval quality and leverages LLM-based judgments to quantify answer quality, enabling objective performance tracking.

Core Features & Use Cases

  • Evaluation of faithfulness, relevancy, and context precision across multiple queries.
  • Gap analysis reports that identify missing knowledge and potential data sources.
  • Use Case: Integrate into CI or QA workflow to validate RAG correctness before deployment.

Quick Start

Run a simple evaluation workflow to score a small set of test queries and generate a gap report.

Frequently Asked Questions about evaluate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate RAG retrieval quality against a benchmark dataset?

To evaluate RAG retrieval quality, you can use LLM judgments to score faithfulness, relevancy, and context precision across test queries by running the evaluate_rag.py script against a golden_dataset.json file.

Can I integrate RAG evaluation into a CI or QA workflow?

Yes, you can integrate RAG evaluation into CI or QA workflows to validate RAG correctness before deployment, using automated metrics to act as a quality gate for your pipeline.

How does LLM judgment work for RAG gap analysis?

LLM judgment for RAG gap analysis works by processing test queries to identify missing knowledge and potential data sources, generating a report that highlights where your retrieval pipeline fails to find correct information.

What do I need to run automated RAG quality metrics?

To run automated RAG quality metrics, you need python3 installed, the evaluate_rag.py and knowledge_gaps.py scripts, and a golden_dataset.json file located at scripts/golden_dataset.json or a project-specific path.

What specific metrics are used to assess RAG trustworthiness?

RAG trustworthiness is assessed using specific metrics that evaluate faithfulness, relevancy, and context precision across multiple queries to quantify answer quality and track performance objectively.