reaatech/agent-eval-harness/faithfulness-scoring
Claude Code and agent skill by reaatech/agent-eval-harness
- community
- ext:[{"type":"template","description":"Custom templates for code generation"}]
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install reaatech/agent-eval-harness/faithfulness-scoringSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as reaatech/agent-eval-harness/faithfulness-scoring.
Skill: Faithfulness Scoring
What It Is
Faithfulness scoring measures whether an agent's response is grounded in and consistent with the provided context. It detects hallucination, fabrication, and context drift. Available via the eval.judge.faithfulness MCP tool, CLI judge command, and programmatic API.
Why It Matters
- Hallucination Detection — Catch fabricated information
- Context Adherence — Ensure responses use provided information
- Trust Building — Users need reliable, accurate responses
- Safety — Prevent spreading misinformation
How to Use It
CLI: Score Faithfulness
MCP Tool
Programmatic Usage
Batch Faithfulness
Key Metrics
| Metric | Description | Target | |
|---|---|---|---|
faithfulness_score | Context adherence | >0.85 | |
hallucination_rate | Fabricated information | <0.05 | |
context_usage | Proper context utilization | >0.90 |
Scoring Criteria
- Factual Accuracy — All claims match the context
- No Fabrication — No invented details
- Complete Usage — Relevant context is used
- No Contradiction — Response doesn't contradict context
Prompt Template
The faithfulness prompt includes:
- System message defining the evaluation task
- Context and response to evaluate
- Scoring rubric (0-1 scale)
- Required output format:
{ score, explanation, confidence }
Custom templates available via createCustomTemplate().
Best Practices
- Use calibrated judges — Align with human assessment
- Set high thresholds — Faithfulness is critical for trust
- Review failures — Analyze hallucination patterns
- Combine with other metrics — Faithfulness alone isn't sufficient
Common Pitfalls
- Missing provider — JudgeConfig must include
provider(e.g.,'claude') - Low thresholds — Faithfulness should be near-perfect
- Ignoring edge cases — Check boundary conditions
- No calibration — Raw scores may be inflated
- Single judge — Use consensus for critical applications
Related Skills
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
- SKILL.md in the repositoryCheckingskills/faithfulness-scoring/skill.md
Popularity
- 7-day trend score
- 0
Refreshed 26 Jun 2026, 5 months ago.
Extension points
templateCustom templates for code generation
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
[](https://verified-skill.com/skills/reaatech/agent-eval-harness/faithfulness-scoring)