evalyn-calibrate

A guide for improving how language models judge subjective evaluation criteria. Subjective criteria are qualities such as style or relevance that require human interpretation.

In plain words
What is it for?
Use it to inspect evaluation runs, annotate judge results, and calibrate selected subjective metrics.
Why use it?
It helps identify disagreements between human reviewers and an automated judge, then use those examples to adjust the judge.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/shihongdev/evalyn/evalyn-calibrate
Any agent
npx skills add shihongDev/evalyn --skill evalyn-calibrate
Clone the repo
git clone --depth 1 https://github.com/shihongDev/evalyn

Made for: Claude Code, Codex.

Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,011 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00028 $0.01011
Opus 5 $0.00014 $0.00505
Sonnet 5 $0.00006 $0.00202
Haiku 4.5 $0.00003 $0.00101

Measured 3d ago against content hash 7395913b73a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

evalyn-calibrate 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 3d 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.

sdk/skills/evalyn-calibrate/SKILL.md · 117 lines

How it starts

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

evalyn-calibrate

Pre-flight

  1. Verify evaluation runs exist:
evalyn list-runs --limit 1

If no runs: "You need evaluation results first. Invoke evalyn-eval."

  1. Identify calibration targets:
evalyn analyze --run <latest-run-id>

Look for subjective metrics (type [llm]) with pass rates below 90%. Only subjective metrics can be calibrated - objective metrics are deterministic.

Step 1: Annotate Results

Run interactive annotation with per-metric mode for targeted feedback:

evalyn annotate --run-id <latest-run-id> --dataset <dataset-path> --per-metric

This is an interactive terminal session. The user will:

  • See each item's input, output, and LLM judge results
  • Agree or disagree with each metric's judgment
  • Commands: [y]es/pass, [n]o/fail, [s]kip, [v]iew full, [q]uit

Aim for 20-30+ annotations. Focus on disagreements. Annotations save immediately - quit and resume anytime.

Step 2: Run Calibration

Start with the basic optimizer (fast, single-shot analysis):

evalyn calibrate --metric-id <target-metric> --annotations <annotations-dir>

The --annotations flag points to the directory containing annotation files (created by evalyn annotate).

The output shows alignment metrics:

  • Accuracy: overall agreement rate
  • F1 Score: balanced precision/recall
  • Cohen's Kappa: agreement adjusted for chance

Optimizer comparison

Optimizer Flag Speed Best For
basic --optimizer basic Fast (1 API call) First pass, small annotation sets
ape --optimizer ape Medium Exploring many prompt variants
opro --optimizer opro Medium Iterative refinement
gepa-native --optimizer gepa-native Slow Best quality, built-in token tracking
gepa --optimizer gepa Slow Evolutionary (requires pip install gepa)
evoprompt --optimizer evoprompt Medium Evolutionary mutation/crossover of prompts
textgrad --optimizer textgrad Medium Critique-revise gradient descent on text
miprov2 --optimizer miprov2 Medium Instruction + few-shot demo co-optimization
promptbreeder --optimizer promptbreeder Slow Self-referential evolutionary prompt search

Read the full file on GitHub · 117 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. 3d ago First seen · 117 lines · 28 tokens per session scan A 7395913b73a0

Subscribe to this mod's changes

evalyn-calibrate is a skill published in the GitHub repository shihongDev/evalyn (257 stars, last pushed 3mo ago), licensed MIT. It adds 28 tokens to every session and 1,011 once invoked, about $0.0001 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

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens

bigquery-ai-ml

Leverages BigQuery's built-in machine learning and GenAI capabilities for advanced data analytics. Use when you need to write SQL queries that perform time-series forecasting, predict values, detect outliers or anomalies, find key drivers, perform semantic search or vector search, classify text, calculate similarity…

google/skills · 104 tokens

ondb

A logical analysis and reasoning tool for AI. Use when decomposing documents into structured knowledge, querying entities and relations, validating consistency, or indexing files. Trigger on "remember", "what do I know about", "link X to Y", "show dependencies", "analyze this document", entity CRUD, or cross-skill…

x-cmd/x-cmd · 71 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

mixed-precision

Use FP16/BF16 mixed precision to accelerate training and reduce memory. Use when optimizing GPU performance.

aiming-lab/AutoResearchClaw · 25 tokens

sparse-autoencoder-training

Provides guidance for training and analyzing Sparse Autoencoders (SAEs) using SAELens to decompose neural network activations into interpretable features. Use when discovering interpretable features, analyzing superposition, or studying monosemantic representations in language models.

Orchestra-Research/AI-Research-SKILLs · 58 tokens