Skip to content
Back to skills

Llm Evaluation

ASecurity

Evaluate LLM outputs accuracy relevance and hallucination

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
ai-agentspython

Security analysis

A100/100

Scanned September 10, 2026

npx -y skills add LoopyLuci/Skills --skill llm-evaluation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Llm Evaluation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Llm Evaluation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loopyluci-llm-evaluation/badge)](https://www.skillsdirectory.com/skills/loopyluci-llm-evaluation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.