loom-model-evaluation

loom-model-evaluation is a skill for Claude Code from cosmix/loom. It costs 29 tokens per session (3,777 once invoked), scanned A, original, MIT.

A guide for evaluating machine-learning models for accuracy, fairness, and reliability. It covers choosing suitable measures, validation, tuning, language-model evaluation, A/B tests, and monitoring for changes after release.

In plain words
What is it for?
Use it to choose evaluation measures, design cross-validation, diagnose underfitting or overfitting, tune settings, assess language models, and monitor model drift.
Why use it?
It helps prevent misleading conclusions caused by the wrong metric, data leakage, overfitting, or changing production data.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to choose evaluation measures, design cross-validation, diagnose underfitting or overfitting, tune settings, assess language models, and monitor model drift.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cosmix/loom/loom-model-evaluation
View source ↗ cosmix/loom
Install

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.

Any agent
npx skills add cosmix/loom --skill loom-model-evaluation
Clone the repo
git clone --depth 1 https://github.com/cosmix/loom

Made for: Claude Code.

Wrote 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.

agentmods badge for loom-model-evaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/cosmix/loom/loom-model-evaluation/github.svg)](https://agentmods.dev/skills/cosmix/loom/loom-model-evaluation)
Your own site
<a href="https://agentmods.dev/skills/cosmix/loom/loom-model-evaluation"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-model-evaluation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for loom-model-evaluation

Your own site · 80×15
<a href="https://agentmods.dev/skills/cosmix/loom/loom-model-evaluation"><img src="https://agentmods.dev/badge/skills/cosmix/loom/loom-model-evaluation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,777 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 245
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.03777
Opus 5.5 $0.00012 $0.01511
Sonnet 5.5 $0.00006 $0.00755
Haiku 4.5 $0.00003 $0.00378

Measured 2mo ago against content hash 07d1a8d6f04e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

loom-model-evaluation 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 2mo 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.

skills/loom-model-evaluation/SKILL.md · 265 lines

How it starts

The opening of the file, as written. The whole thing — 265 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Model Evaluation

Overview

Choose metrics that match the business cost and data distribution, prevent leakage, validate with the right CV scheme, calibrate and threshold deliberately, and monitor for drift in production. This skill is the decision layer above sklearn/eval tooling.

Metric selection (the highest-leverage decision)

Wrong metric = confidently shipping a bad model. Pick from the cost structure and class balance, not habit.

Situation Use Avoid / why
Rare positives (fraud, disease, churn) PR-AUC, F-beta, MCC, recall@fixed-precision Accuracy (a 99%-negative dataset scores 99% by predicting all-negative). ROC-AUC looks great even when precision is unusable — it ignores the huge TN base
FN much costlier than FP F-beta with β>1 (recall-weighted), recall@precision floor plain F1 (β=1 assumes equal cost)
FP costlier than FN precision, F-beta β<1 recall-optimized metrics
Need a probability, not a label log loss, Brier score, calibration curve thresholded accuracy/F1
Multi-class imbalance macro F1 (equal class weight), MCC micro/weighted (dominated by majority class)
Regression with outliers MAE, median AE, Huber MSE/RMSE (squares dominated by outliers)
Regression, relative error matters MAPE / SMAPE RMSE; ⚠ MAPE explodes near zero and is asymmetric (penalizes over-prediction less)
Ranking / retrieval NDCG, MAP, MRR accuracy
  • ROC-AUC vs PR-AUC: ROC-AUC is invariant to class balance (baseline 0.5 always) — misleadingly optimistic when positives are rare. PR-AUC's baseline = positive prevalence, so it exposes the hard problem. Report PR-AUC for imbalanced detection.
  • average= trap (sklearn): weighted/micro hide minority-class failure; use macro (or per-class) when minority classes matter. Default binary assumes label 1 is positive.
  • MCC (Matthews correlation) is the most robust single scalar for imbalanced binary — high only when all four confusion cells are good.
  • Always report a baseline (majority-class, random-stratified, or last-value for time series). A metric without a baseline is uninterpretable.

Read the full file on GitHub · 265 lines

Changes

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.

  1. 2mo ago Changed · +12 tokens per session 07d1a8d6f04e
  2. 2mo ago Changed · -37 tokens per session a139b68dfeb4
  3. 3mo ago First seen · 265 lines · 54 tokens per session scan A 87b43d591925

Subscribe to this mod's changes

loom-model-evaluation is a skill published in the GitHub repository cosmix/loom (66 stars, last pushed today), licensed MIT. It adds 29 tokens to every session and 3,777 once invoked, about $0.0001 per session on Opus 5.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.

Related

loom-model-evaluation compared with skills from other repositories

loom-model-evaluation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
loom-model-evaluationcosmix/loomSkill66todayMITA29Claude Code
voice-extractorelvisun/newsjackSkill1.7k4d agoMITA90Claude Code
coverage-trackerelvisun/newsjackSkill1.7k4d agoMITA47Claude Code
prompt-set-qaelvisun/newsjackSkill1.7k4d agoMITA56Claude Code
realistic-prompt-generationelvisun/newsjackSkill1.7k4d agoMITA55Claude Code
build-ai-visibility-panelelvisun/newsjackSkill1.7k4d agoMITA117Claude Code
ai-visibility-panel-designelvisun/newsjackSkill1.7k4d agoMITA64Claude Code