Agent skill · Code Review & Quality

rag-accuracy-skill

Measure RAG answer quality through three core metrics: Faithfulness (accuracy to context), Relevance (retrieval quality), and Answer Quality (overall usefulness).'

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill rag-accuracy-skill --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 13 KB
Bundled scripts: none
Path: skills/ai-ml/rag-accuracy-skill/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

--- name: rag-accuracy version: 1.0 last_updated: 2025-12-04 description: RAG evaluation metrics - faithfulness, relevance, answer quality measurement license: MIT priority: critical triggers: - "accuracy", "evaluation", "faithfulness", "relevance", "metrics" - Evaluation tasks - Quality assessment dependencies: - langsmith-testing-SKILL.md compatibility: - ragas: ">=0.1.0" - langchain: ">=0.1.0" changelog: - version: 1.0 date: 2025-12-04 changes: - Initial release for RAG evaluation - RAGAS framework integration - Custom metric implementations --- # 📈 RAG Accuracy SKILL ## Purpose Measure RAG answer quality through three core metrics: **Faithfulness** (accuracy to context), **Relevance** (retrieval quality), and **Answer Quality** (overall usefulness). --- ## Auto-Trigger Conditions **Activate when:** - User mentions: "accuracy", "evaluation", "faithfulness", "relevance", "metrics" - Evaluation tasks - Quality assessment - A/B testing RAG variants --- ## Core Metrics (3 Metrics) ### 1. Faithfulness (0-1 scale) **Definition:** How accurate is the generated answer to the retrieved context? **Why Critical:** Detects hallucinations (LLM making up facts not in context) **Calculation:*

What's inside
Steps it walks through
  1. Purpose
  2. Auto-Trigger Conditions
  3. Core Metrics (3 Metrics)
  4. 1. Faithfulness (0-1 scale)
  5. 2. Context Relevance (0-1 scale)
  6. 3. Answer Relevance (0-1 scale)
  7. RAGAS Framework Integration
  8. 1. Installation
  9. 2. Batch Evaluation
  10. Custom Metric Implementations
  11. 1. Faithfulness (Manual)
  12. 2. Relevance (Manual)
  13. LangSmith Integration
  14. 1. Add Metrics as Feedback
Ships with 1 file
  • metadata.json
Commands it runs
pip install ragas
More from claude-skill-registry
All skills →
About this skill
What does the rag-accuracy-skill skill do?

Measure RAG answer quality through three core metrics: Faithfulness (accuracy to context), Relevance (retrieval quality), and Answer Quality (overall usefulness).'

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill rag-accuracy-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going