ai-evals

ai-evals is a skill for Codex from byheaven/byheaven-skills. It costs 69 tokens per session (1,570 once invoked), scanned A, original, MIT.

Method for building, auditing, and iteratively improving AI/LLM evaluation suites without overfitting or grader drift. Use when creating an eval for a model-powered flow, auditing an existing benchmark before trusting its scores, or hillclimbing prompts, tools, models, or parameters against measured quality, cost, or…

Skill for Codex

Written for Codex: agents/openai.yaml present.

Install with agentmods
npx agentmods add skills/byheaven/byheaven-skills/ai-evals
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 byheaven/byheaven-skills --skill ai-evals
Clone the repo
git clone --depth 1 https://github.com/byheaven/byheaven-skills

Made for: 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 ai-evals

README.md
[![agentmods](https://agentmods.dev/badge/skills/byheaven/byheaven-skills/ai-evals/github.svg)](https://agentmods.dev/skills/byheaven/byheaven-skills/ai-evals)
Your own site
<a href="https://agentmods.dev/skills/byheaven/byheaven-skills/ai-evals"><img src="https://agentmods.dev/badge/skills/byheaven/byheaven-skills/ai-evals/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 ai-evals

Your own site · 80×15
<a href="https://agentmods.dev/skills/byheaven/byheaven-skills/ai-evals"><img src="https://agentmods.dev/badge/skills/byheaven/byheaven-skills/ai-evals.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,570 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 unknown 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.00069 $0.01570
Opus 5.5 $0.00028 $0.00628
Sonnet 5.5 $0.00014 $0.00314
Haiku 4.5 $0.00007 $0.00157

Measured today against content hash 7850f5b7b301, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ai-evals 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 today.

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.

plugins/byworkflow/skills/ai-evals/SKILL.md · 59 lines

How it starts

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

AI Evals

An evaluation suite earns deployment decisions only when its cases reflect real work, its harness isolates model behavior from plumbing, its grader checks the real outcome, and its headline score comes from held-out cases never inspected during tuning. This skill covers AI/LLM capability and regression evals; real-build product verification belongs to qa, single-defect isolation to diagnosing-bugs, and multi-family independent comparison to roundtable.

1. Audit the eval before trusting or climbing

Before a full paid pass or Round 1 of hillclimbing, verify the eval against its actual code, config, and data across five axes (never trust the README alone):

  • Task and case set: run programmatic checks over all cases (exact/near duplicates, schema validity, missing fields, length outliers, class balance) plus a stratified close read of 20–50 cases. Confirm unambiguous criteria, verified ground truth (never score model A vs. B against model A's outputs), zero label leakage into prompts or sandboxes, and both-directions coverage (when to act and when not to).
  • Harness hygiene: invoke the real production entry point (stubbing only unsafe external side effects); isolate clean state per (case, rep); separate infra/serving errors, hard per-case wall-clock timeouts, and output-limit truncation into error/status fields rather than averaging plumbing failures in as 0; distinguish "no answer" from a valid negative answer; assert the served model in each response matches the requested model. Prove wiring end to end with an oracle (~100%) and a null baseline (~0%).
  • Metric hygiene: capture full transcript, served model, token usage (including cache and judge tokens), model latency (final successful request, excluding retry sleeps), and grade from the same single run—never grade one call and inspect another. Back off transient rate limits with jitter; score strict per first attempt by default (a pass only on retry counts as fail) while counting every retry and failed attempt in true cost. Recompute headline aggregates directly from raw per-case rows.
  • Grader design: grade final outcomes and end states rather than trajectories or narration—prefer deterministic code checking the resulting workspace, schema, or outputs. Where judgment requires an LLM grader, use atomic binary rubrics (one checkable property per criterion), isolated context treating candidate text as untrusted data, randomized A/B order for pairwise comparisons, a model distinct from the one under test where available, negative-input sanity checks (empty string, refusal, off-topic), and calibration against a human-labeled gold set before trusting scores.
  • Headroom and sensitivity: compare the eval's noise floor (paired CI half-width at n × reps, roughly 1/sqrt(n·reps) for pass rates) against remaining headroom and the smallest change worth acting on. When baseline already sits at >= 95%, stop chasing quality—top-end deltas mostly reflect noise or format quirks—and either harden the suite or shift optimization to cost or latency while holding quality.

Read the full file on GitHub · 59 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. today First seen · 59 lines · 69 tokens per session scan A 7850f5b7b301

Subscribe to this mod's changes

ai-evals is a skill published in the GitHub repository byheaven/byheaven-skills (2 stars, last pushed today), licensed MIT. It adds 69 tokens to every session and 1,570 once invoked, about $0.0003 per session on Opus 5.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-12-02.

Related

ai-evals compared with skills from other repositories

ai-evals next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-evalsbyheaven/byheaven-skillsSkill2todayMITA69Codex
add-ai-webapimicrosoft/power-platform-skillsSkill1.2ktodayMITA226Claude Code
ai-ml-governancecbrock84/headcountSkill2.6k2d agoMITA83Claude Code
cloudflare-workers-aisecondsky/claude-skillsSkill2572d agoMITA39Claude Code
cortex-modeltonone-ai/tononeSkill85yesterdayMITA44Claude Code
nano-bananaNikiforovAll/claude-code-rulesSkill1441mo agoApache-2.0A73Claude Code
meta-promptingiliaal/whetstoneSkill37todayMITA104Claude Code, Codex