llm-evaluation

llm-evaluation is a skill for Claude Code, Codex from vignesh2027/AI-AGENT-SKILLS. It costs 19 tokens per session (928 once invoked), scanned C, original, MIT.

A process for measuring the quality of outputs from large language models, which generate text or other content from prompts. It uses defined criteria and test examples to detect regressions.

In plain words
What is it for?
Building evaluation datasets, testing correctness, relevance, factual support, safety, format, style, speed, and cost, and comparing results over time.
Why use it?
It replaces guesswork with repeatable checks when prompts, models, or providers change. This helps find problems before users encounter them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Building evaluation datasets, testing correctness, relevance, factual support, safety, format, style, speed, and cost, and comparing results over time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vignesh2027/ai-agent-skills/llm-evaluation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vignesh2027/AI-AGENT-SKILLS --skill llm-evaluation
Clone the repo
git clone --depth 1 https://github.com/vignesh2027/AI-AGENT-SKILLS

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for llm-evaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/vignesh2027/ai-agent-skills/llm-evaluation/github.svg)](https://agentmods.dev/skills/vignesh2027/ai-agent-skills/llm-evaluation)
Your own site
<a href="https://agentmods.dev/skills/vignesh2027/ai-agent-skills/llm-evaluation"><img src="https://agentmods.dev/badge/skills/vignesh2027/ai-agent-skills/llm-evaluation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for llm-evaluation

Your own site · 80×15
<a href="https://agentmods.dev/skills/vignesh2027/ai-agent-skills/llm-evaluation"><img src="https://agentmods.dev/badge/skills/vignesh2027/ai-agent-skills/llm-evaluation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 928 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00019 $0.00928
Opus 5 $0.00010 $0.00464
Sonnet 5 $0.00004 $0.00186
Haiku 4.5 $0.00002 $0.00093

Measured 10d ago against content hash 05efa98ff105, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

llm-evaluation scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Instruction-override phrasinghighPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

- **Prompt injection** — Can user input override your system prompt?
skills/llm-evaluation/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

LLM evaluation is the discipline of measuring what your model or system actually does, not what you believe it does. Without systematic evaluation, you are guessing. With it, you catch regressions before users do.

When to Use

  • Before deploying any LLM-powered feature
  • When changing a model version, provider, or prompt
  • When users report quality issues
  • As a recurring health check for production LLM features

Process

Step 1: Define the evaluation dimensions

Common dimensions (pick those relevant to your task):

  • Correctness — Is the answer factually right?
  • Relevance — Does the answer address the question?
  • Groundedness — Is the answer supported by the provided context?
  • Safety — Does the output avoid harmful content?
  • Format — Does the output match the required schema/format?
  • Tone/Style — Does the output match the required voice?
  • Latency — Is the response fast enough?
  • Cost — Is the per-request cost within budget?

Step 2: Build the evaluation dataset

A good eval dataset:

  • Covers the full distribution of expected inputs (not just the easy cases)
  • Includes adversarial examples and edge cases
  • Has verified ground-truth answers for correctness dimensions
  • Has at least 100 examples for production features; 1000+ for critical systems
  • Is versioned and never modified (only appended to)

Step 3: Choose evaluation methods

  • Automated exact match — for structured outputs with known correct answers
  • Automated metric — BLEU/ROUGE for text overlap, custom scoring functions
  • LLM-as-judge — use a strong model (GPT-4, Claude Opus) to score outputs on rubrics; calibrate against human judgments
  • Human evaluation — ground truth; use for calibrating automated evals

Step 4: Implement automated evals in CI

Every change to a prompt, model version, or system prompt must trigger the eval suite in CI. Define a threshold: "if correctness drops below 85% or safety failures increase, block the PR."

Read the full file on GitHub · 88 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 88 lines · 19 tokens per session scan C 05efa98ff105

Subscribe to this mod's changes

llm-evaluation is a skill published in the GitHub repository vignesh2027/AI-AGENT-SKILLS (2 stars, last pushed 12d ago), licensed MIT. It adds 19 tokens to every session and 928 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.