model-assessment

model-assessment is a skill for Claude Code from Aperivue/medsci-skills. It costs 66 tokens per session (4,506 once invoked), scanned A, original, MIT.

A method for evaluating a trained medical-imaging model using held-out data, meaning data kept separate from training. It checks the validation setup, task-appropriate results, uncertainty, unusual inputs, and explanation maps.

In plain words
What is it for?
Use it to audit dataset splits, calculate segmentation, classification, or detection measures, and assess uncertainty or Grad-CAM explanations for a trained model.
Why use it?
It helps prevent misleading results caused by data leakage, unsuitable metrics, missing ground truth, or unsupported deployment claims.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Part of the medsci-modeling plugin — 15 skills shipped together

Good fit Use it to audit dataset splits, calculate segmentation, classification, or detection measures, and assess uncertainty or Grad-CAM explanations for a trained model.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aperivue/medsci-skills/model-assessment
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 Aperivue/medsci-skills --skill model-assessment
Clone the repo
git clone --depth 1 https://github.com/Aperivue/medsci-skills

Made for: Claude Code.

Or install medsci-modeling, the plugin that ships this one along with the rest of its 15 skills.

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 model-assessment

README.md
[![agentmods](https://agentmods.dev/badge/skills/aperivue/medsci-skills/model-assessment/github.svg)](https://agentmods.dev/skills/aperivue/medsci-skills/model-assessment)
Your own site
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/model-assessment"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/model-assessment/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 model-assessment

Your own site · 80×15
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/model-assessment"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/model-assessment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,506 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.00066 $0.04506
Opus 5.5 $0.00026 $0.01802
Sonnet 5.5 $0.00013 $0.00901
Haiku 4.5 $0.00007 $0.00451

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

Security

Grade A, and why

model-assessment 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 8 executable files (scripts/check_explainability_report_challenge/verify.sh, scripts/check_explainability_report.py, scripts/check_metric_reporting.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.

skills/model-assessment/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-Assessment Skill

Assess a trained medical-imaging model (in-house, vendor or open-weights; segmentation, classification or detection) in the order the evidence is built: Part A designs and audits the validation study, Part B computes task-correct held-out metrics, Part C adds the uncertainty / OOD / abstention layer a deployment claim needs, and Part D makes an explainability analysis survive review. Run the parts the request needs (a Grad-CAM question starts at Part D), but no metric headline is reported before the Part A split gate is green. Each part ends in a stdlib gate whose verdict is reproduced from a file — never report a pass without running it.

Numbers come only from code executed on the supplied predictions, split table, or the researcher's executed UQ/XAI code; if predictions or ground truth are missing, say so and stop. Integrate MONAI / nnU-Net, MAPIE, captum, pytorch-grad-cam and pretrained OOD scorers by reference — never reimplement them, never build or train the model, never run a model on real patient data.

Elsewhere: building/training → /model-scaffold; choosing or vetting the model → /model-selection; data-stage preprocessing leakage → /imaging-data; paired model comparison / added value over a baseline / decision curves / MRMC / ICC / calibration tables → /analyze-stats (added value: incremental_value.md); AI-vs-expert reader rubric and IRR → /design-ai-benchmarking; LLM/MLLM → /mllm-eval; general validity → /design-study; classical-ML tabular calibration → /radiomics-ml; item-by-item reporting audit → /check-reporting; a finished manuscript → /self-review or /peer-review (the MD0–MD11 model_development.md probe).

Part A — Validation design

The rationale behind Phases 2–7 — the full leakage taxonomy, the internal-vs-external ladder, comparator design, run variance, test-set sizing, the reporting map — is in ${CLAUDE_SKILL_DIR}/references/validation_design.md (load on demand). Verify citations via /search-lit (confirmed DOI/PMID), else mark [UNVERIFIED - NEEDS MANUAL CHECK]; flag an uncertain CLAIM 2024 / TRIPOD+AI / Metrics Reloaded item [VERIFY] and ask.

Read the full file on GitHub · 265 lines

Files

What ships with it

60 files 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 Changed · +6 lines 0b97e285e3a1
  2. 1mo ago Changed · +4 lines cfb3fcd9c408
  3. 1mo ago Changed · +12 lines 38e72392ab97
  4. 2mo ago First seen · 243 lines · 66 tokens per session scan A df3082f1ecf1

Subscribe to this mod's changes

model-assessment is a skill published in the GitHub repository Aperivue/medsci-skills (406 stars, last pushed 4d ago), licensed MIT. It adds 66 tokens to every session and 4,506 once invoked, about $0.0003 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-10-01.

Related

model-assessment compared with skills from other repositories

model-assessment next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
model-assessmentAperivue/medsci-skillsSkill4064d agoMITA66Claude Code
genomic-intelligenceK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA151Claude Code, Codex
torch-geometricK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA71Claude Code, Codex
bulk-rnaseqK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA111Claude Code, Codex
waypoint-bioK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA129Claude Code, Codex
aeonK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA74Claude Code
bidsK-Dense-AI/scientific-agent-skillsSkill59k7d agoMITA84Claude Code, Codex