eval-loop

eval-loop is a skill for Claude Code, Codex from malloydata/publisher. It costs 128 tokens per session (7,590 once invoked), scanned C, original, MIT.

A local evaluation workflow for testing an AI model or agent across a set of cases. It runs answers, scores them, investigates failures, applies carefully limited improvements, and records checkpoints.

In plain words
What is it for?
Use it to run evaluation datasets, identify shared failure causes, update model guidance, and verify whether each change helps.
Why use it?
It provides a repeatable way to improve answer quality without mixing scoring, diagnosis, and editing into one step. Checkpoints make accepted changes easier to track and undo.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; positional $N argument.

Good fit Use it to run evaluation datasets, identify shared failure causes, update model guidance, and verify whether each change helps.

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

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 eval-loop

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/malloydata/publisher/eval-loop"><img src="https://agentmods.dev/badge/skills/malloydata/publisher/eval-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,590 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00128 $0.07590
Opus 5.5 $0.00051 $0.03036
Sonnet 5.5 $0.00026 $0.01518
Haiku 4.5 $0.00013 $0.00759

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

Security

Grade C, and why

eval-loop scanned grade C with 1 finding 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 1mo ago.

The scan reads SKILL.md. This mod also ships 19 executable files (scripts/agent_harness_test.py, scripts/agent_harness.py, scripts/build_run_package_test.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

the evidence survives without a store. So do not refuse a local run for want
skills/eval-loop/SKILL.md · 558 lines

How it starts

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

The Evaluation Loop

You conduct this loop. There is no batch orchestrator to start, no eval API, and no eval MCP tools. The ledger is plain files: the set in the model package's git repository, and each run in the set's workdir (reference/ledger-schema.md in skill:eval-answer defines every file and event). scripts/eval.py runs each step from the set's eval.toml; reference/running-a-run.md has the commands. Scoring is an LLM judge you spawn per case. There is no scripted scorer, and there will not be one: a script that can pass a wrong answer is worse than none. The scripts under scripts/ run the loop -- they answer, re-execute, spawn the judge, compare runs, and write the ledger -- but none of them decides whether an answer was right.

scrape/run  ->  eval  ->  diagnose  ->  improve  ->  checkpoint

This skill conducts; it does not restate. Scoring lives in skill:eval-answer. Components and owners live in skill:eval-diagnose. Edit rules live in skill:eval-improve.

Do not merge eval into diagnose. A conductor who scores while explaining writes the explanation into the score. Do not skip the acceptance check inside improve. The acceptance check decides whether this edit stays. Checkpoint decides whether a sequence of accepted edits can be undone.

Where the rest of this lives

This file is the procedure. The things it used to carry inline are files beside it now, because each is needed at one moment rather than every run, and loading all of them for every run is how a skill stops being read.

When Read
the set does not exist yet, or has never run reference/setting-up-a-set.md
about to run one reference/running-a-run.md
a golden is wrong, doubted, or out of step with the model reference/golden-side-door.md
auditing a key you doubt, or a set you did not author reference/auditing-an-answer-key.md
deciding whether an edit stays reference/acceptance-check.md
about to quote a number, set the band, or read a set's flips reference/measurement.md
the run finished and someone has to read it skill:eval-report
you changed judge doctrine or its inputs reference/checking-the-judge.md

Read the full file on GitHub · 558 lines

Files

What ships with it

31 files 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. 1mo ago Changed · +1 lines 4e013167a1e1
  2. 1mo ago Changed · +2 lines 8077103b6bc6
  3. 1mo ago Changed · +15 lines · +26 tokens per session 362a6dd38f88
  4. 2mo ago Changed · +15 lines scan A → C 9878029647c2
  5. 2mo ago Changed · +109 lines 0c4df92e01c6
  6. 2mo ago Changed · +66 lines 2b82e32cf031
  7. 2mo ago Changed b4516c2ea065
  8. 2mo ago First seen · 350 lines · 102 tokens per session scan A 0c9faa416e55

Subscribe to this mod's changes

eval-loop is a skill published in the GitHub repository malloydata/publisher (136 stars, last pushed today), licensed MIT. It adds 128 tokens to every session and 7,590 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

eval-loop compared with skills from other repositories

eval-loop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eval-loopmalloydata/publisherSkill136todayMITC128Claude Code, Codex
reimagine-it-extractKayforkind/reimagine-itSkill2182d agoMITA133Claude Code
chart-builderNickCrew/Claude-CortexSkill759d agoMITA76Claude Code, Codex
dashboard-designerNickCrew/Claude-CortexSkill759d agoMITA95Claude Code, Codex
reusable-visualizationlightdash/lightdashSkill6.3ktodaynoneA102Claude Code
developing-in-lightdashlightdash/lightdashSkill6.3ktodaynoneA31Claude Code, Codex
sdk-featureslightdash/lightdashSkill6.3ktodaynoneA67Claude Code