llm-evaluator

llm-evaluator is a skill for Claude Code, Codex from chandrudp29/skillhub. It costs 39 tokens per session (1,513 once invoked), scanned A, original, MIT.

A framework for measuring the quality of responses from large language models using automated judging, human review, and repeatable tests.

In plain words
What is it for?
Use it to assess accuracy, completeness, clarity, and conciseness before releasing an AI feature or after changing its model or prompt.
Why use it?
It replaces subjective impressions with evidence when comparing models, changing prompts, or checking whether quality has dropped.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it to assess accuracy, completeness, clarity, and conciseness before releasing an AI feature or after changing its model or prompt.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chandrudp29/skillhub/llm-evaluator
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 chandrudp29/skillhub --skill llm-evaluator
Clone the repo
git clone --depth 1 https://github.com/chandrudp29/skillhub

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-evaluator

README.md
[![agentmods](https://agentmods.dev/badge/skills/chandrudp29/skillhub/llm-evaluator.svg)](https://agentmods.dev/skills/chandrudp29/skillhub/llm-evaluator)
Your own site
<a href="https://agentmods.dev/skills/chandrudp29/skillhub/llm-evaluator"><img src="https://agentmods.dev/badge/skills/chandrudp29/skillhub/llm-evaluator.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,513 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00039 $0.01513
Opus 5 $0.00019 $0.00757
Sonnet 5 $0.00008 $0.00303
Haiku 4.5 $0.00004 $0.00151

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

Security

Grade A, and why

llm-evaluator scanned grade A with 0 findings 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 8d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/llm-evaluator/SKILL.md · 174 lines

How it starts

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

LLM Evaluator

A framework for measuring LLM output quality — beyond vibes, before production.

When to Use

  • "Is Model A better than Model B for my use case?"
  • "Did my prompt change improve quality?"
  • "My LLM outputs look worse after an update — prove it"
  • Before deploying any LLM-powered feature

The Three Evaluation Approaches

Use all three. Each catches different problems.

1. LLM-as-Judge

Fast, scalable, good signal. Use a stronger model to evaluate a weaker one's outputs.

JUDGE_PROMPT = """You are evaluating an AI assistant's response quality.

Rate the response on each criterion from 1-5:
- Accuracy: Is the information correct and factual?
- Completeness: Does it address all parts of the question?
- Clarity: Is it easy to understand?
- Conciseness: Does it avoid unnecessary verbosity?

Question: {question}
Response to evaluate: {response}
Reference answer (if available): {reference}

Return JSON only:
{{"accuracy": N, "completeness": N, "clarity": N, "conciseness": N, "reasoning": "brief explanation"}}
"""

async def judge_response(question: str, response: str, reference: str = "") -> dict:
    result = await judge_model.ainvoke(
        JUDGE_PROMPT.format(question=question, response=response, reference=reference)
    )
    return json.loads(result.content)

Known biases: LLM judges favor longer answers, prefer their own model's style, and are inconsistent on borderline cases. Mitigate by averaging across 3 judge calls and using a different model family as judge.

2. Automated Metrics

For structured tasks with clear correct answers:

from rouge_score import rouge_scorer
from nltk.translate.bleu_score import sentence_bleu

def compute_metrics(prediction: str, reference: str) -> dict:
    # ROUGE — for summarization
    scorer = rouge_scorer.RougeScorer(["rouge1", "rouge2", "rougeL"])
    rouge = scorer.score(reference, prediction)

    # Exact match — for extraction tasks
    exact = prediction.strip().lower() == reference.strip().lower()

    # F1 over tokens — for QA
    pred_tokens = set(prediction.lower().split())
    ref_tokens = set(reference.lower().split())
    common = pred_tokens & ref_tokens
    precision = len(common) / len(pred_tokens) if pred_tokens else 0
    recall = len(common) / len(ref_tokens) if ref_tokens else 0
    f1 = 2 * precision * recall / (precision + recall) if (precision + recall) else 0

    return {
        "rouge_l": rouge["rougeL"].fmeasure,
        "exact_match": exact,
        "token_f1": f1,
    }

Read the full file on GitHub · 174 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 174 lines · 39 tokens per session scan A e2f3f406a27c

Subscribe to this mod's changes

llm-evaluator is a skill published in the GitHub repository chandrudp29/skillhub (13 stars, last pushed 2mo ago), licensed MIT. It adds 39 tokens to every session and 1,513 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

llm-as-judge-evaluation

Evaluate LLM outputs using frontier models as judges. Use for pairwise model comparison, quality scoring with custom rubrics, and automated evaluation pipelines. Covers position bias mitigation, statistical significance, and generating preference data for DPO/RLHF.

synthetic-sciences/openscience · 56 tokens

golden-dataset

Golden dataset lifecycle patterns for curation, versioning, quality validation, and CI integration. Use when building evaluation datasets, managing dataset versions, validating quality scores, or integrating golden tests into pipelines.

yonatangross/orchestkit · 44 tokens

agent-eval

Use when measuring whether an LLM or agent system actually got better and gating merges on it: golden sets, fixing an inflated LLM-as-judge, scoring RAG (faithfulness, contextual recall) or agent trajectories (tool correctness, completion), or picking an eval framework. NOT building the agent loop, tools or RAG…

ericrisco/rsc-harness · 79 tokens

evaluating-llms-harness

Evaluates LLMs across 60+ academic benchmarks (MMLU, HumanEval, GSM8K, TruthfulQA, HellaSwag). Use when benchmarking model quality, comparing models, reporting academic results, or tracking training progress. Industry standard used by EleutherAI, HuggingFace, and major labs. Supports HuggingFace, vLLM, APIs.

davila7/claude-code-templates · 85 tokens

hugging-face-evaluation

Add and manage evaluation results in Hugging Face model cards. Supports extracting eval tables from README content, importing scores from Artificial Analysis API, and running custom model evaluations with vLLM/lighteval. Works with the model-index metadata format.

synthetic-sciences/openscience · 55 tokens

llm-evaluation

LLM evaluation — automated metrics, human feedback, benchmarking. Use when testing performance, measuring AI quality, or establishing evaluation frameworks.

martineserios/thebrana · 31 tokens