eval-first-development

eval-first-development is a skill for Claude Code, Codex from zorost/AI-Engineering-Lab. It costs 44 tokens per session (1,036 once invoked), scanned A, original, MIT.

A method for measuring AI output quality before changing the prompt, model, or retrieval process. It uses a fixed set of test cases and an automated scorer.

In plain words
What is it for?
It helps evaluate extraction, search-augmented answers, agent results, classifications, prompts, and model choices.
Why use it?
It replaces opinions about what is “better” with repeatable results and exposes regressions after changes.

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/zorost/ai-engineering-lab/eval-first-development
Any agent
npx skills add zorost/AI-Engineering-Lab --skill eval-first-development
Clone the repo
git clone --depth 1 https://github.com/zorost/AI-Engineering-Lab

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-first-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/zorost/ai-engineering-lab/eval-first-development.svg)](https://agentmods.dev/skills/zorost/ai-engineering-lab/eval-first-development)
Your own site
<a href="https://agentmods.dev/skills/zorost/ai-engineering-lab/eval-first-development"><img src="https://agentmods.dev/badge/skills/zorost/ai-engineering-lab/eval-first-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,036 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.00044 $0.01036
Opus 5 $0.00022 $0.00518
Sonnet 5 $0.00009 $0.00207
Haiku 4.5 $0.00004 $0.00104

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

Security

Grade A, and why

eval-first-development 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 4d 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.

reference/skills/agent-skills/eval-first-development/SKILL.md · 91 lines

How it starts

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

Eval-First Development

1 · Purpose

Guarantee that every later change to a prompt, model, or pipeline is judged by a fixed measuring stick, so "better" is a number, not a feeling.

2 · When to use

  • Before writing or optimizing any prompt, choosing any model, or tuning any retrieval pipeline whose output quality matters.
  • When a team is debating two prompts/models with no score to cite.

Do not use for throwaway scripts and one-off data pulls. Use it the moment the output will be shown to anyone as "working".

3 · Inputs

  • A spec with a metric and gate (spec-first-ai-feature), or permission to define the metric here.
  • At least 20 real or realistic inputs. If fewer exist, generate the rest synthetically and label them synthetic: true.

4 · Procedure

  1. Create the golden-set file (e.g. golden.jsonl): one JSON object per case with input, expected, and tags (the failure classes you anticipate). Start with 20 cases; 50 is better. Include the hard cases you hope never occur.
  2. Write the scorer as code, a function score(output, expected) -> dict that returns per-field or per-case results. Exact match where possible; rubric-graded LLM-as-judge only where correctness is fuzzy, and calibrate the judge against 10 human-graded cases before trusting it.
  3. Add the score report: one line per case plus an aggregate, written to evals/results/<timestamp>.json. A score you cannot diff is a story.
  4. Run the scorer against the current system (or a trivial baseline) and record the baseline score in the spec file.
  5. Freeze the golden set. Changes to it are commits with a message, never silent edits, the measuring stick must not move while the system is being measured.
  6. Wire the scorer so one command runs it (script, make target, or notebook cell). If running the eval takes more than one command, it will not get run.
  7. Only now touch the thing being improved, prompt, model, chunking, tools. Every subsequent change reports: score before, score after, one-line reason.

Read the full file on GitHub · 91 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. 4d ago First seen · 91 lines · 44 tokens per session scan A d5827d46f48d

Subscribe to this mod's changes

eval-first-development is a skill published in the GitHub repository zorost/AI-Engineering-Lab (304 stars, last pushed 17d ago), licensed MIT. It adds 44 tokens to every session and 1,036 once invoked, about $0.0002 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

fine-tuning-os

Use this skill when conducting a professional LLM fine-tuning engagement in Zero-Data mode via the MCP server fine-tuning-os. Triggers on: prestation de fine-tuning LLM, livraison de modèle affiné, pipeline Zero-Data, orchestration des 64 outils fine-tuning-os, cycle de vie entraînement (préparation / données…

Casius999/fine-tuning-os · 125 tokens

find-your-level

Interactive quiz that maps your AI/ML knowledge to a starting point in the 523-lesson, 20-phase AI Engineering from Scratch curriculum. Trigger phrases: "where should I start", "find my level", "what do I know", "which phase", "assess my knowledge", "placement test", "skip ahead".

rohitg00/ai-engineering-from-scratch · 71 tokens

learn

Interactive lesson tutor for the AI Engineering from Scratch curriculum. Reads LEARNING.md, fetches the next lesson, teaches it section by section in the terminal, quizzes at the end, and records progress. Works cloned or entirely over raw.githubusercontent.com — no setup required. Trigger phrases: "next lesson"…

rohitg00/ai-engineering-from-scratch · 80 tokens

start-learning

One-time onboarding for the AI Engineering from Scratch curriculum (523 lessons, 20 phases). Interviews the learner, runs the placement quiz, and writes LEARNING.md, a persistent study plan the learn skill drives. Trigger phrases: "start learning", "set up the course", "begin the curriculum", "onboard me", "create my…

rohitg00/ai-engineering-from-scratch · 74 tokens

course-guide

Topic router for the AI Engineering from Scratch curriculum. Give it a topic, a question, or a bug you are fighting, and it points at the exact lessons that teach it, plus the right next command. Trigger phrases: "where do I learn", "which lesson covers", "course guide", "I'm stuck on", "what should I do next", "teach…

rohitg00/ai-engineering-from-scratch · 96 tokens

axolotl

Expert guidance for fine-tuning LLMs with Axolotl - YAML configs, 100+ models, LoRA/QLoRA, DPO/KTO/ORPO/GRPO, multimodal support.

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