agent-evaluation

agent-evaluation is a skill for Claude Code, Codex from fmind/dot. It costs 52 tokens per session (1,357 once invoked), scanned A, original, MIT.

A method for testing changes to language models, prompts, retrieval systems, or tool-using agents through repeated trials. It compares a candidate with a baseline, including cases designed to expose failures.

In plain words
What is it for?
Use it to define evaluation metrics, build test scenarios, run baseline and candidate trials, inspect traces, and decide whether an agent change should be adopted.
Why use it?
One run can be misleading when results vary, so repeated controlled tests reveal regressions, reliability problems, and whether an improvement is consistent.

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/fmind/dot/agent-evaluation
Any agent
npx skills add fmind/dot --skill agent-evaluation
Clone the repo
git clone --depth 1 https://github.com/fmind/dot

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 agent-evaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmind/dot/agent-evaluation.svg)](https://agentmods.dev/skills/fmind/dot/agent-evaluation)
Your own site
<a href="https://agentmods.dev/skills/fmind/dot/agent-evaluation"><img src="https://agentmods.dev/badge/skills/fmind/dot/agent-evaluation.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,357 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.00052 $0.01357
Opus 5 $0.00026 $0.00678
Sonnet 5 $0.00010 $0.00271
Haiku 4.5 $0.00005 $0.00136

Measured yesterday against content hash 08d3dd1d193f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

agent-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 yesterday.

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/agent-evaluation/SKILL.md · 45 lines

How it starts

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

Agent Evaluation

Decide whether a stochastic candidate (prompt, model, retrieval, or tool agent) beats its baseline under realistic nondeterminism. quality-assurance owns deterministic software tests, prompt-design prepares the candidate, and production-readiness decides operability.

Workflow

  1. State the decision: name the evaluated unit, baseline, candidate, segments, primary metric, guardrails, and kill criterion.
  2. Pick the mode: development mode (frozen cases, paired runs, deterministic graders) returns only ITERATE or INCONCLUSIVE; release or adoption mode adds a sealed holdout, a predeclared decision rule, blinded graders, and adequate repetitions.
  3. Pin candidate identity: model provider and immutable version, prompts or their hashes, tool schemas, retrieval snapshot, code revision, sampling, retries, and grader versions; a model name alone is not identity.
  4. Build scenario sets: a versioned development corpus from sanitized logs, incidents, and known failures that covers success paths, adversarial and refusal cases, tool errors, and long-tail segments; release mode adds a sealed, contamination-checked holdout.
  5. Capture traces: final response plus tool calls, arguments, results, denials, retrieval sources, errors, tokens, latency, cost, and cleanup; grade attempted unsafe actions even when the gateway blocked them.
  6. Stack graders: deterministic schema checks, executable tests, and trace assertions first; pairwise or criteria scoring for semantic dimensions; a blinded pinned model judge only where code cannot decide; humans for safety and disagreement.
  7. Calibrate and blind: test graders on labeled passes, failures, and edge cases; give judges randomized opaque candidate labels, strip provider metadata, swap order, and report false positives, false negatives, and blind spots. A candidate never grades itself.
  8. Justify trial counts: choose trials, seeds, minimum detectable difference, and uncertainty method before running, per the evaluation protocol; return INCONCLUSIVE when the count cannot separate the threshold.
  9. Run paired comparisons: baseline and candidate on identical cases, tools, budgets, and fresh state; retain every valid run, failure, timeout, and grader disagreement.
  10. Analyze by risk and segment: report capability, reliability, safety, latency, tokens, and cost separately; an aggregate gain never hides a safety regression or a minority-segment loss.
  11. Spend the holdout once: Freeze the decision rule before the sealed holdout, keep an append-only exposure log, run the frozen candidate on it once, record the corpus hash, and rotate an exposed holdout.
  12. Make the call: return ADOPT, ITERATE, REJECT, or INCONCLUSIVE tied to the predeclared thresholds, with the cheapest next evidence, in the evaluation brief shape.

Read the full file on GitHub · 45 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. yesterday First seen · 45 lines · 52 tokens per session scan A 08d3dd1d193f

Subscribe to this mod's changes

agent-evaluation is a skill published in the GitHub repository fmind/dot (4 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 1,357 once invoked, about $0.0003 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-09-03.