Skip to content
Skills Library
AI & agents · Review & audit

model-evals-strategy

/model-evals-strategy

Design and review evaluation systems for choosing AI models, routers, classifiers, encoders, RAG components, tool-calling agents, prompt variants, and fine-tune candidates. Use when the user needs model comparison, eval datasets, metrics, acceptance thresholds, scorecards, business-weighted decisions, cost/latency analysis, offline/online eval plans, or strategy for selecting the most accurate and profitable model.

Licence
MIT
Last repository change
11.11.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
2
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 11.11.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Design and review evaluation systems for choosing AI models, routers, classifiers, encoders, RAG components, tool-calling agents, prompt variants, and fine-tune candidates. Use when the user needs model comparison, eval datasets, metrics, acceptance thresholds, scorecards, business-weighted decisions, cost/latency analysis, offline/online eval plans, or strategy for selecting the most accurate and profitable model.

Original author description

Design and review evaluation systems for choosing AI models, routers, classifiers, encoders, RAG components, tool-calling agents, prompt variants, and fine-tune candidates. Use when the user needs model comparison, eval datasets, metrics, acceptance thresholds, scorecards, business-weighted decisions, cost/latency analysis, offline/online eval plans, or strategy for selecting the most accurate and profitable model.

How it works

  1. Eval Design Flow
  2. Model Comparison Rules
  3. Minimum Report
  4. Worked Example
Original SKILL.md headings · 76 lines, 446 words
SKILL.md preview
---
name: model-evals-strategy
description: Design and review evaluation systems for choosing AI models, routers, classifiers, encoders, RAG components, tool-calling agents, prompt variants, and fine-tune candidates. Use when the user needs model comparison, eval datasets, metrics, acceptance thresholds, scorecards, business-weighted decisions, cost/latency analysis, offline/online eval plans, or strategy for selecting the most accurate and profitable model.
verified: 2026-08
---

# Model Evals Strategy

Use this skill to turn model choice into a measured business decision.

## Eval Design Flow

1. State the decision: choose model, route intents, retrieve knowledge/menu items, call tools,
   generate replies, classify customers, reduce cost, or protect revenue.
2. Define test units: prompt, conversation turn, full session, tool-call trace, customer profile,
   retrieval query, or backend action.
3. Build eval slices before scoring: language, intent, high-value users, complaints, edge cases,
   tool-required cases, refusal/safety cases, noisy text, long history, and production-like data.
4. Choose metrics by task:
   - Classification/router: macro-F1, per-class F1, confusion matrix, business-weighted error.
   - Retrieval: Recall@k, MRR, nDCG, exact item hit, latency, false-positive cost.
   - Tool calling: valid call rate, argument accuracy, sequence success, no-op/duplicate rate.
   - Generation: task success, groundedness, policy compliance, human preference, cost/token.
   - Memory: precision of recalled facts, freshness, privacy leakage, deletion correctness.
5. Add guardrails: latency p95, cost/request, token usage, RAM/CPU/GPU fit, data privacy, and
   rollback condition.
6. Report both raw scores and business-weighted recommendation.

## Model Comparison Rules

- Compare against a baseline: current production, simple rules, keyword search, smaller model, or
  hybrid pipeline.
- Do not hide small dataset risk. Label results as directional until data volume and production
  coverage are sufficient.
- Prefer confidence intervals or bootstrap when sample size is small.
- Weight errors by business impact. A complaint misrouted to greeting may matter more than a
  greeting misrouted to other.
- Separate encoder quality, generator quality, router quality, retrieval quality, and tool-flow
  quality. One model rarely wins every layer.

## Minimum Report

```markdown
## Decision
[What model/system choice this eval supports]

## Dataset
[Source, size, labels, slices, known gaps]

## Metrics
[Primary + guardrails]

## Results
[Score table + per-slice failures]

## Recommendation
[Winner, fallback, confidence, rollout scope]

## Next Eval Work
[Data to add, tests to rerun, production monitor]
```

## Worked Example

Evaluate a placeholder router on 200 labeled turns, with 50 turns per class.

| Class | Weight | Baseline F1 | Candidate F1 |
| --- | ---: | ---: | ---: |
| order | 3 | 0.86 | 0.91 |
| support | 2 | 0.80 | 0.84 |
| complaint | 5 | 0.62 | 0.78 |
| greeting | 1 | 0.92 | 0.90 |

Business-weighted baseline: `(0.86*3 + 0.80*2 + 0.62*5 + 0.92*1) / 11 = 0.745`.

Business-weighted candidate: `(0.91*3 + 0.84*2 + 0.78*5 + 0.90*1) / 11 = 0.837`.

Verdict: use the candidate placeholder router in a limited rollout. Macro behavior improves, the
highest-cost complaint class gains 0.16 F1, and the weighted score gains 0.092. Keep greeting
regression below 0.03 and collect at least 100 complaint examples before a broad rollout.
Files in this package (2)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB

Versions

The database has no other skills named model-evals-strategy.

Database snapshot: 13.11.2026 · package version 06f411618edd (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100evals-harness
    Design eval harnesses — task schemas, metrics, dataset versioning, eval-as-code patterns. Use when asked to "build an eval harness", "set up eval-as-code", or "version our eval datasets".
  • 100model-eval-design
    Build an evaluation plan that measures a model capability rather than a single attractive example. Use when comparing base and fine-tuned models, reasoning systems, prompts, or agent workflows.
  • 100eval-harness
    Build and run evaluation suites for AI features in the user's own application: prompts, LLM calls, RAG pipelines, agents. Covers capability and regression evals, graders (exact match, regex, code execution, LLM judge with structured output, human) and metrics (pass@k, pass^k,…
  • 100tune-enterprise-rag
    Tune Enterprise RAG for production — optimize chunking, search config, model routing, caching, temperature, token budget, evaluation thresholds. Use when: tune, optimize, performance, cost, latency, quality, config.
  • 91stack-ai-agent
    Conventions for the AI agent stack (MCP tools per task, eval cases per tool, offline evals in the gate). Use when adding an MCP tool, an eval case, a prompt or a model call in this repo.
  • 100agent-evals
    Measure LLM agents and RAG systems: error analysis on traces, failure taxonomy, datasets and synthetic inputs, code graders and LLM judges, judge validation (TPR/TNR, bias correction), trajectory and tool-call evals, pass@k vs pass^k, CI gates, online evals. Use when the user…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.