ml-model-evaluation

ml-model-evaluation is a skill for Claude Code, Codex from leonardodalinky/SciDER. It costs 42 tokens per session (6,133 once invoked), scanned A, original, Apache-2.0.

A framework for checking whether machine-learning experiments measure model performance fairly and reliably. It covers data splitting, metrics, baselines, ablation studies, and statistical reporting.

In plain words
What is it for?
Use it to choose cross-validation and metrics, compare models with simple baselines, test which components matter, tune hyperparameters, and report confidence or significance.
Why use it?
It helps prevent misleading results caused by data leakage, unsuitable metrics, weak comparisons, or reporting accuracy alone on imbalanced data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to choose cross-validation and metrics, compare models with simple baselines, test which components matter, tune hyperparameters, and report confidence or significance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leonardodalinky/scider/ml-model-evaluation
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 leonardodalinky/SciDER --skill ml-model-evaluation
Clone the repo
git clone --depth 1 https://github.com/leonardodalinky/SciDER

Made for: Claude Code, Codex.

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 ml-model-evaluation

README.md
[![agentmods](https://agentmods.dev/badge/skills/leonardodalinky/scider/ml-model-evaluation.svg)](https://agentmods.dev/skills/leonardodalinky/scider/ml-model-evaluation)
Your own site
<a href="https://agentmods.dev/skills/leonardodalinky/scider/ml-model-evaluation"><img src="https://agentmods.dev/badge/skills/leonardodalinky/scider/ml-model-evaluation.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,133 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.
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.00042 $0.06133
Opus 5 $0.00021 $0.03067
Sonnet 5 $0.00008 $0.01227
Haiku 4.5 $0.00004 $0.00613

Measured 8d ago against content hash a6218209e92f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ml-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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/evaluate_model.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.scider/skills/ml-model-evaluation/SKILL.md · 689 lines

How it starts

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

ML Model Evaluation

Overview

Rigorous model evaluation is the foundation of credible ML research. This skill covers the complete evaluation pipeline: how to split data correctly, which metrics to report for which tasks, what baselines are required, how to structure ablation studies, and how to verify that results are statistically meaningful. Apply this skill before writing any results section or claiming model performance.

When to Use This Skill

Use this skill when:

  • Selecting cross-validation strategy for a new experiment
  • Choosing which metrics to compute and report for a task
  • Setting up baseline comparisons before training models
  • Designing ablation studies to identify component contributions
  • Assessing whether train/val/test splits are clean and leak-free
  • Tuning hyperparameters with nested cross-validation
  • Reporting confidence intervals and checking statistical significance
  • Completing the results section of a paper or technical report

Hard Rules (follow for every experiment)

  1. NEVER report accuracy alone for imbalanced datasets — always pair with F1, AUC-PR, or MCC
  2. ALWAYS compare against at least one trivial baseline before claiming model performance
  3. ALWAYS use cross-validation (or a proper held-out test set) — never evaluate on training data
  4. ALWAYS report confidence intervals or standard deviation across folds
  5. For ablation studies: change ONE component at a time and report the delta

Cross-Validation Taxonomy

Choose the CV strategy based on your data structure. Wrong CV choice is one of the most common sources of inflated reported performance.

Standard K-Fold

Use when: data is IID, classes are balanced, no group structure.

from sklearn.model_selection import KFold, cross_validate
from sklearn.ensemble import RandomForestClassifier
import numpy as np

kf = KFold(n_splits=5, shuffle=True, random_state=42)
model = RandomForestClassifier(n_estimators=100, random_state=42)

results = cross_validate(
    model, X, y,
    cv=kf,
    scoring=['accuracy', 'f1_macro', 'roc_auc'],
    return_train_score=True
)

print(f"Val accuracy:  {results['test_accuracy'].mean():.3f} ± {results['test_accuracy'].std():.3f}")
print(f"Train accuracy: {results['train_accuracy'].mean():.3f} ± {results['train_accuracy'].std():.3f}")
# Large train-val gap → overfitting

Read the full file on GitHub · 689 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 8d ago First seen · 689 lines · 42 tokens per session scan A a6218209e92f

Subscribe to this mod's changes

ml-model-evaluation is a skill published in the GitHub repository leonardodalinky/SciDER (88 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 6,133 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

esmfold2

Biohub ESMFold2 / ESMFold2-Fast all-atom co-folding (Candido et al. 2026, github.com/Biohub/esm). Single-sequence and MSA modes; protein, DNA, RNA, ligand (CCD/SMILES), modified residues. FoldBench Ab-Ag 50-55%, PPI 70-77% DockQ-pass. Also covers the ESMC-{300M,600M,6B} protein language models from the same release…

HughYau/AcademicForge · 223 tokens

scvi-tools

Probabilistic single-cell RNA-seq with scvi-tools — scVI for a batch-corrected latent space, scANVI for semi-supervised label transfer, and Bayesian differential expression. Reach for this skill to integrate scRNA-seq batches, embed cells for clustering, transfer annotations from a reference onto a query, or score…

HughYau/AcademicForge · 100 tokens

boltz

Structure prediction for protein, nucleic-acid, and small-molecule complexes with Boltz-2 (Passaro & Wohlwend et al. 2025, github.com/jwohlwend/boltz). Reach for this skill to validate designed binders against a target, to co-fold a protein with a SMILES or CCD ligand, or to get an open-source AlphaFold3 alternative…

HughYau/AcademicForge · 88 tokens

evo2

Score, embed, and generate DNA sequences with Evo 2, a long-context genomic foundation model. Use this skill when: (1) Computing per-nucleotide or per-sequence likelihoods for variant effect scoring, (2) Embedding genomic windows for downstream classification, (3) Generating DNA conditioned on a prefix, (4) Scoring…

HughYau/AcademicForge · 83 tokens

scgpt

Embed and annotate single-cell expression data with scGPT, a foundation model for single-cell biology. Use this skill when: (1) Producing cell embeddings from an AnnData for clustering/integration, (2) Zero-shot or fine-tuned cell-type annotation, (3) Gene-level representation for perturbation/GRN tasks. For…

HughYau/AcademicForge · 89 tokens

using-model-endpoint

Call a registered model endpoint over its native HTTP API from the endpoint's scoped inference kernel (BASEURL preloaded). Load once a task needs predictions from a registered model endpoint.

HughYau/AcademicForge · 40 tokens