Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

llm-evaluation

Skill by sickn33

Provides evaluation strategies and Python examples for LLM applications, from automated metrics to human review and A/B testing. It is aimed at developers who need to measure and compare model or prompt quality.

  • Score 94
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install llm-evaluation

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/llm-evaluation ~/.claude/skills/llm-evaluation

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install llm-evaluation in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The llm-evaluation skill gives an AI assistant guidance and Python examples for evaluating LLM applications. It covers automated metrics such as BLEU, ROUGE, BERTScore and accuracy, retrieval metrics such as MRR and NDCG, and human evaluation dimensions such as accuracy, coherence and safety. It also includes LLM-as-judge prompts, inter-rater agreement using Cohen's kappa, and an A/B testing class that runs a t-test and reports Cohen's d.

The skill is aimed at developers who want to measure performance, compare models or prompts, detect regressions before deployment, and debug unexpected model behavior. The source says no separate implementation playbook is bundled, so the examples are the main guidance. The file is cut off in the middle of a regression detection class. The factuality check is a stub that raises NotImplementedError until a fact-checking adapter is added.

Written from the project's SKILL.md and checked against it.

What it can do

  • Automated text metricsExamples for BLEU, ROUGE and BERTScore scoring of generated text.
  • Classification and retrieval metricsCovers accuracy, precision, recall, F1, AUC-ROC, MRR, NDCG and Precision@K.
  • Custom metricsExamples for groundedness using an NLI model and toxicity using Detoxify.
  • LLM-as-judge promptsPointwise scoring and pairwise comparison prompts that return JSON.
  • Human annotation formA structure for rating accuracy, relevance and coherence and flagging issues.
  • Inter-rater agreementCalculates Cohen's kappa and labels the result from Poor to Almost Perfect.
  • A/B testingAn ABTest class that reports means, p-value, Cohen's d and a winner.
  • Regression detectionA RegressionDetector class that compares results against a baseline and threshold.

What you need

  • Python
  • nltk, rouge_score and bert_score packages
  • transformers and detoxify packages
  • scipy and scikit-learn packages
  • OpenAI API access for the LLM judge examples

Try asking

  • Compare two prompt versions with an A/B test and report Cohen's d.
  • Score my model's answers with BLEU and ROUGE against reference answers.
  • Set up an LLM-as-judge pairwise comparison for two responses to a question.

Good to know

  • The calculate_factuality function raises NotImplementedError until a fact-checking adapter is provided.
  • The A/B test example uses an independent-group t-test and notes a paired design is needed for matched tasks.
  • The source is cut off in the RegressionDetector class.
  • No separate implementation playbook is bundled.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/llm-evaluation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md16 KB
  • references/benchmarking.md2 KB

Alternatives to llm-evaluation

All alternatives →

Compare with agent-reproduce-align, google_contacts or m06-error-handling

llm-evaluation: common questions

What metrics does llm-evaluation cover?

The source covers automated metrics such as BLEU, ROUGE, METEOR, BERTScore, perplexity, accuracy, F1, AUC-ROC, MRR, NDCG, Precision@K and Recall@K. It also lists human evaluation dimensions and LLM-as-judge patterns.

Does it include A/B testing?

Yes. The source includes an ABTest class that runs an independent t-test, computes Cohen's d and reports whether a winner is significant at a given alpha.

Is the factuality check ready to use?

No. The source's calculate_factuality function raises NotImplementedError and says a verified fact-checking adapter is required.

How do I install llm-evaluation?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is llm-evaluation free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is llm-evaluation safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to llm-evaluation?

Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.

llm-evaluation Install

Add to stack

Loading.