reaatech/rag-eval-pack/faithfulness-eval

Claude Code and agent skill by reaatech/rag-eval-pack

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Install

npx vskill@latest install reaatech/rag-eval-pack/faithfulness-eval

SKILL.md

The same SKILL.md was published earlier as reaatech/rag-eval-pack/faithfulness-eval.

Faithfulness Evaluation Skill

Overview

Faithfulness measures whether a RAG system's generated answer is grounded in the provided context, without hallucinations or fabrications.

What It Measures

  • Statement Extraction: Identifies atomic claims in the generated answer
  • Context Entailment: Verifies each claim against the retrieved context
  • Hallucination Detection: Flags information not supported by context

Score Interpretation

Score RangeInterpretation
0.85 - 1.0Excellent - All claims supported by context
0.70 - 0.84Good - Most claims supported
0.50 - 0.69Fair - Some hallucinations detected
0.0 - 0.49Poor - Significant hallucinations

Usage

typescript
import { FaithfulnessScorer } from '@reaatech/rag-eval-metrics';
const scorer = new FaithfulnessScorer();
const result = await scorer.score({
context: ['Refunds are processed within 14 days.'],
generated_answer: 'You have 14 days to request a refund.',
});
console.log(`Faithfulness: ${result.score}`);

MCP Tool

json
{
"name": "rag_eval.judge.faithfulness",
"arguments": {
"context": ["Refunds within 14 days."],
"generated_answer": "You have 14 days for refunds."
}
}

Best Practices

  1. High threshold for production: Aim for >0.85 faithfulness
  2. Combine with other metrics: Use alongside relevance and context quality
  3. Review low scores: Investigate hallucination patterns
  4. Calibrate with human labels: Improve accuracy over time

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/reaatech/rag-eval-pack/faithfulness-eval/badge)](https://verified-skill.com/skills/reaatech/rag-eval-pack/faithfulness-eval)

Something wrong with this skill or its page? Tell us.