agentleFS
melissa-pereira-deelmelissa-pereira-deel/tiny-model-lab/.claude/skills/design-eval/SKILL.md

design-eval

Skill0 starsChanged 56 days agoMITView on GitHub

Evaluate an embedded model as an interaction, not just as a metric — latency bands, failure states, uncertainty legibility, user override, and privacy legibility. Use before shipping any model-backed feature, when reviewing a prototype that uses inference, or whenever someone reports accuracy numbers as if they settle whether a feature is ready.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Failure state: Every tiny model is wrong sometimes.

    line 26
  2. Distinctive:

    Uncertainty legibility: If confidence varies and the UI renders everything with identical authority, the interface is lying to the user.

    line 27
  3. Distinctive:

    Privacy legibility: If nothing leaves the device, say so where the user can see it.

    line 29
  4. Very specific:

    All three presuppose that the feature should exist.

    line 36

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 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

Design evaluation for embedded models

Accuracy tells you whether the model is right. This tells you whether the feature is good. A model can pass every technical gate and still be the wrong thing to ship.

Latency bands

From Miller (1968) and Nielsen (1993). These are facts about human perception, not targets you can negotiate.

BandCeilingWhat it buys you
Instant100 msFeels like direct manipulation. No spinner, no feedback, no acknowledgement needed.
Flow1 sThought stays unbroken. No feedback needed, but the seam is felt.
Attention10 sAttention holds only with visible progress. Design the wait.

This is the whole argument for on-device inference. A network round-trip cannot reach the instant band. Local inference can. If your tiny model lands at 400ms, you have not built an instant interaction — you have built a flow-band interaction with extra steps, and you should either fix the latency or design the feedback.

Measure p95 warm, and report cold start separately. The first interaction is what the user judges you on.

The five checks

  1. Failure state. Every tiny model is wrong sometimes. What does wrong look like on screen? Degrade gracefully — a missed highlight is fine, a mangled document is not. If there is no designed wrong-state, the feature is unfinished.
  2. Uncertainty legibility. If confidence varies and the UI renders everything with identical authority, the interface is lying to the user. Either surface the uncertainty or suppress low-confidence output entirely.
  3. User override. Correction, dismissal, or opt-out. A wrong output the user cannot escape is worse than no output at all.
  4. Privacy legibility. If nothing leaves the device, say so where the user can see it. This is the strongest thing local inference buys and it is completely invisible unless you show it.
  5. First-run cost. Model download, warm-up, permission prompts. Design this moment — it is the only one every user experiences.

Provenance

These consolidate Google PAIR's People + AI Guidebook, Apple's Human Interface Guidelines for machine learning, and Amershi et al., "Guidelines for Human-AI Interaction" (CHI 2019) — the most-cited practitioner framework, validated across 20 AI-infused products.

All three presuppose that the feature should exist. That question belongs to tiny-model-triage, which runs first.

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.