baseline-before-model
Skill0 starsChanged 3 months agoMITView on GitHub
Force a non-model baseline to be built and measured before any LLM is proposed for a task. Use when scoping an AI feature, choosing a model for extraction, lookup, classification or routing, or when someone asks which model to use for a job. Refuses to recommend a model until the boring alternative has a number.
In this repository8 other files it gives its agents.
- automation-break-evenSkill
- eval-set-builderSkill
- llm-judge-auditorSkill
- model-bakeoffSkill
- prompt-and-grader-auditSkill
- skill-actually-worksSkill
- skill-degradation-checkSkill
- skill-safety-reviewSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 30
A small local model: before a frontier API model.
- Distinctive: line 35
Write the baseline behind the same interface the model would use, so the whole evaluation stack runs on it unchanged.
- Distinctive: line 38
State the caveat that travels with the number: If the baseline holds reference data the models were not given, that is lookup versus …
- Distinctive: line 41
Add the missing arm where it matters: the model with the reference data in context.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Run the boring thing first
On an address-resolution task, a deterministic directory lookup with an alias table and edit distance scored 96.7%. The language models given the same items and no reference data scored 65.0% and 53.3%. The lookup ran in 2.8ms at zero cost against roughly 2,000ms and real spend.
That result is not an argument about model quality. It is an argument about architecture. A prompt-only model is the wrong tool for a lookup, and no leaderboard will ever tell you that, because "should this be a model at all" is not a property of any model on it.
The refusal
Do not recommend a model for a task with no measured non-model baseline. If nobody has built the boring version, the honest output is "unknown, and here is the baseline to build first".
Candidate baselines, in order of how often they win
- Lookup against a table or directory you already own. Extraction and normalisation tasks are frequently this in disguise.
- Rules or a decision table, when the logic is genuinely small and stable.
- Classical retrieval (BM25) before any embedding pipeline.
- A small local model before a frontier API model.
- The existing process, measured. Often nobody has ever scored the humans.
Procedure
- Write the baseline behind the same interface the model would use, so the whole evaluation stack runs on it unchanged.
- Score it on the same items, with the same grader.
- State the caveat that travels with the number. If the baseline holds reference data the models were not given, that is lookup versus no-lookup, not lookup versus retrieval. Say it plainly. The honest claim is stronger than the sloppy one.
- Add the missing arm where it matters: the model with the reference data in context. That is the comparison that decides the architecture.
- Report cost and latency alongside accuracy. This is usually where the baseline wins by two orders of magnitude.
Output contract
- baseline description and what data it holds
- baseline accuracy, cost, latency
- model accuracy, cost, latency, on identical items
- the caveat, stated in the same breath as the numbers
- whether the model-with-reference-data arm was run, and if not, that it is missing
What this prevents
Six weeks of prompt engineering on a task a hash map solves better, and a vendor conversation about which lab to buy from when the answer was to buy from neither.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

