Back to skills
SKILL.md
Llm Evaluation
ASecurityEvaluate LLM outputs accuracy relevance and hallucination
- 2 stars
- 0 votes
- 0 copies
- 2 views
- Added September 10, 2026
Security analysis
100/100npx -y skills add LoopyLuci/Skills --skill llm-evaluation --agent claude-codeAre you the author of Llm Evaluation?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/loopyluci-llm-evaluation)---
name: llm-evaluation
description: "Evaluate LLM outputs accuracy relevance and hallucination"
---
# LLM Evaluation
## Automated Checks
```python
# Relevance
def check_relevance(answer, context):
return len([w for w in context.split() if w in answer]) / len(context.split())
# Hallucination: does answer contradict context?
def check_hallucination(answer, context):
# Use NLI model or LLM judge
pass
```
## Metrics
| Metric | What It Measures |
|--------|-----------------|
| BLEU | N-gram overlap |
| ROUGE | Recall of key phrases |
| BERTScore | Semantic similarity |
| LLM-as-judge | Overall quality |
## Evaluation Dataset
Split into correct/incorrect examples, score accuracy.
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.