llm-evaluation

llm-evaluation is a skill for Claude Code, Codex from NOMARJ/sigil. It costs 40 tokens per session (4,426 once invoked), scanned A, a copy of llm-evaluation, Apache-2.0.

A guide to measuring the quality of language-model applications with automated scores, human feedback, and comparisons between versions.

In plain words
What is it for?
Use it to evaluate generated text, classifications, retrieval results, prompts, and production AI systems over time.
Why use it?
It helps detect regressions, compare models or prompts, verify improvements, and understand unexpected AI behavior before release.

Skill for Claude CodeCodex

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

Good fit Use it to evaluate generated text, classifications, retrieval results, prompts, and production AI systems over time.

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

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/nomarj/sigil/llm-evaluation/github.svg)](https://agentmods.dev/skills/nomarj/sigil/llm-evaluation)
Your own site
<a href="https://agentmods.dev/skills/nomarj/sigil/llm-evaluation"><img src="https://agentmods.dev/badge/skills/nomarj/sigil/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/nomarj/sigil/llm-evaluation"><img src="https://agentmods.dev/badge/skills/nomarj/sigil/llm-evaluation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,426 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 88% copy Near-identical to another mod 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.00040 $0.04426
Opus 5.5 $0.00016 $0.01770
Sonnet 5.5 $0.00008 $0.00885
Haiku 4.5 $0.00004 $0.00443

Measured 2mo ago against content hash 78d78b66df72, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

llm-evaluation 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 2mo 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.

Origin

This is a copy

88% identical to llm-evaluation — 448 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packs/data/skills/llm/llm-evaluation/SKILL.md · 696 lines

How it starts

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

LLM Evaluation

Master comprehensive evaluation strategies for LLM applications, from automated metrics to human evaluation and A/B testing.

When to Use This Skill

  • Measuring LLM application performance systematically
  • Comparing different models or prompts
  • Detecting performance regressions before deployment
  • Validating improvements from prompt changes
  • Building confidence in production systems
  • Establishing baselines and tracking progress over time
  • Debugging unexpected model behavior

Core Evaluation Types

1. Automated Metrics

Fast, repeatable, scalable evaluation using computed scores.

Text Generation:

  • BLEU: N-gram overlap (translation)
  • ROUGE: Recall-oriented (summarization)
  • METEOR: Semantic similarity
  • BERTScore: Embedding-based similarity
  • Perplexity: Language model confidence

Classification:

  • Accuracy: Percentage correct
  • Precision/Recall/F1: Class-specific performance
  • Confusion Matrix: Error patterns
  • AUC-ROC: Ranking quality

Retrieval (RAG):

  • MRR: Mean Reciprocal Rank
  • NDCG: Normalized Discounted Cumulative Gain
  • Precision@K: Relevant in top K
  • Recall@K: Coverage in top K

2. Human Evaluation

Manual assessment for quality aspects difficult to automate.

Dimensions:

  • Accuracy: Factual correctness
  • Coherence: Logical flow
  • Relevance: Answers the question
  • Fluency: Natural language quality
  • Safety: No harmful content
  • Helpfulness: Useful to the user

3. LLM-as-Judge

Use stronger LLMs to evaluate weaker model outputs.

Approaches:

  • Pointwise: Score individual responses
  • Pairwise: Compare two responses
  • Reference-based: Compare to gold standard
  • Reference-free: Judge without ground truth

Quick Start

from dataclasses import dataclass
from typing import Callable
import numpy as np

@dataclass
class Metric:
    name: str
    fn: Callable

    @staticmethod
    def accuracy():
        return Metric("accuracy", calculate_accuracy)

    @staticmethod
    def bleu():
        return Metric("bleu", calculate_bleu)

    @staticmethod
    def bertscore():
        return Metric("bertscore", calculate_bertscore)

    @staticmethod
    def custom(name: str, fn: Callable):
        return Metric(name, fn)

class EvaluationSuite:
    def __init__(self, metrics: list[Metric]):
        self.metrics = metrics

    async def evaluate(self, model, test_cases: list[dict]) -> dict:
        results = {m.name: [] for m in self.metrics}

        for test in test_cases:
            prediction = await model.predict(test["input"])

            for metric in self.metrics:
                score = metric.fn(
                    prediction=prediction,
                    reference=test.get("expected"),
                    context=test.get("context")
                )
                results[metric.name].append(score)

        return {
            "metrics": {k: np.mean(v) for k, v in results.items()},
            "raw_scores": results
        }

# Usage
suite = EvaluationSuite([
    Metric.accuracy(),
    Metric.bleu(),
    Metric.bertscore(),
    Metric.custom("groundedness", check_groundedness)
])

test_cases = [
    {
        "input": "What is the capital of France?",
        "expected": "Paris",
        "context": "France is a country in Europe. Paris is its capital."
    },
]

results = await suite.evaluate(model=your_model, test_cases=test_cases)

Read the full file on GitHub · 696 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. 2mo ago First seen · 696 lines · 40 tokens per session scan A 78d78b66df72

Subscribe to this mod's changes

llm-evaluation is a skill published in the GitHub repository NOMARJ/sigil (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 4,426 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to llm-evaluation, differing in 448 lines, and is treated as a copy.

Related

llm-evaluation compared with skills from other repositories

llm-evaluation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
llm-evaluationNOMARJ/sigilSkill61mo agoApache-2.0A40Claude Code, Codex
canzhinkgit/embeddedskillsSkill8164d agoMITA168Claude Code
huawei-cloud-modelarts-notebook-managementhuaweicloud/huaweicloud-skillsSkill594d agoMITA194Claude Code, Codex
data-pipelinechristopherlouet/claude-baseSkill514d agoMITA28Claude Code
amazon-bedrockseandkendall/kiro-configSkill102d agoApache-2.0A169Claude Code, Codex
harness-optimizerApexIQ/skillsmithSkill58mo agoMITA39Claude Code, Codex
prompt_engineeringApexIQ/skillsmithSkill58mo agoMITA55Claude Code, Codex