agentleFS
ityaadiiiityaadiii/skills-that-say-i-dont-know/skills/baseline-before-model/SKILL.md

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.

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
  1. Distinctive:

    A small local model: before a frontier API model.

    line 30
  2. Distinctive:

    Write the baseline behind the same interface the model would use, so the whole evaluation stack runs on it unchanged.

    line 35
  3. Distinctive:

    State the caveat that travels with the number: If the baseline holds reference data the models were not given, that is lookup versus …

    line 38
  4. Distinctive:

    Add the missing arm where it matters: the model with the reference data in context.

    line 41

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Lookup against a table or directory you already own. Extraction and normalisation tasks are frequently this in disguise.
  2. Rules or a decision table, when the logic is genuinely small and stable.
  3. Classical retrieval (BM25) before any embedding pipeline.
  4. A small local model before a frontier API model.
  5. The existing process, measured. Often nobody has ever scored the humans.

Procedure

  1. Write the baseline behind the same interface the model would use, so the whole evaluation stack runs on it unchanged.
  2. Score it on the same items, with the same grader.
  3. 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.
  4. Add the missing arm where it matters: the model with the reference data in context. That is the comparison that decides the architecture.
  5. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.