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.
npx agentmods add skills/zorost/ai-engineering-lab/eval-first-developmentnpx skills add zorost/AI-Engineering-Lab --skill eval-first-developmentgit clone --depth 1 https://github.com/zorost/AI-Engineering-LabWrote 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.
[](https://agentmods.dev/skills/zorost/ai-engineering-lab/eval-first-development)<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>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.
| Model | Per session | Once 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 |
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.
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
- Create the golden-set file (e.g.
golden.jsonl): one JSON object per case withinput,expected, andtags(the failure classes you anticipate). Start with 20 cases; 50 is better. Include the hard cases you hope never occur. - Write the scorer as code, a function
score(output, expected) -> dictthat 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. - 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. - Run the scorer against the current system (or a trivial baseline) and record the baseline score in the spec file.
- 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.
- 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.
- Only now touch the thing being improved, prompt, model, chunking, tools. Every subsequent change reports: score before, score after, one-line reason.
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.
- 4d ago First seen · 91 lines · 44 tokens per session scan A d5827d46f48d
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.
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…
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".
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"…
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…
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…
axolotl
Expert guidance for fine-tuning LLMs with Axolotl - YAML configs, 100+ models, LoRA/QLoRA, DPO/KTO/ORPO/GRPO, multimodal support.