radiomics-ml

radiomics-ml is a skill for Claude Code from Aperivue/medsci-skills. It costs 223 tokens per session (2,036 once invoked), scanned A, original, MIT.

A workflow for building or checking radiomics and other tabular clinical prediction studies. Radiomics turns medical images into numerical features, which are then used with traditional machine-learning models.

In plain words
What is it for?
Use it to create or audit models using imaging or clinical tables with methods such as logistic regression, SVMs, random forests, or gradient boosting.
Why use it?
It helps avoid common research errors such as data leakage, unreliable feature selection, overfitting, and reporting discrimination without calibration.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

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

Good fit Use it to create or audit models using imaging or clinical tables with methods such as logistic regression, SVMs, random forests, or gradient boosting.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aperivue/medsci-skills/radiomics-ml
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 radiomics-ml
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 12 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 radiomics-ml

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/radiomics-ml"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/radiomics-ml.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 223 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,036 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 pass 7 Sept 2026
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.00223 $0.02036
Opus 5 $0.00112 $0.01018
Sonnet 5 $0.00045 $0.00407
Haiku 4.5 $0.00022 $0.00204

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

Security

Grade A, and why

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

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/check_radiomics_ml_challenge/verify.sh, scripts/check_radiomics_ml.py, tests/test_radiomics_ml.sh), 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/radiomics-ml/SKILL.md · 135 lines

How it starts

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

Radiomics / Classical-ML Skill

Purpose

Radiomics + tree-ensemble studies (features → random forest / XGBoost → a clinical outcome) are the most common solo-doable clinical-ML workflow — no GPU, no engineer — and the most commonly over-optimistic: hundreds-to-thousands of features on tens of patients, hyperparameters tuned on the same folds the performance is reported from, features selected on the whole dataset, unstable features never filtered, and discrimination (AUC) reported without calibration. This skill produces the pipeline correctly and audits an existing one, so the clinical result survives review (Lambin 2017; CLEAR; TRIPOD+AI; PROBAST-AI).

It sits beside the imaging-DL lane: where /model-scaffold builds a deep network, radiomics-ml covers the feature-based classical-ML path. It integrates scikit-learn / xgboost / pyradiomics (referenced in the emitted code); it does not reimplement them and never runs a model on real patient data.

When to use

  • You have a radiomics or clinical/tabular feature table and want to build a random-forest / XGBoost clinical prediction model that will pass statistical review.
  • You want to audit an existing radiomics/ML pipeline for the failure modes below.

When NOT to use

  • Deep-learning imaging models → /architecture-zoo/model-scaffold/model-validation.
  • Classical inferential statistics / a regression model as the estimand → /analyze-stats.
  • Interpretability of a trained network → /explainability.
  • Reimplementing scikit-learn / xgboost / pyradiomics → out of scope (this skill wires and audits them).

The failure modes (what the gate enforces)

  1. No nested CV. Tuning and reporting on the same folds inflates performance. Use nested CV or a held-out test set.
  2. High dimensionality, low events. Features ≥ events with no dimensionality reduction overfits — the classic radiomics trap. Apply LASSO / PCA / a stability + redundancy filter.
  3. Selection outside the fold. Feature selection fit on the whole dataset leaks the held-out folds. Nest selection inside each training fold.
  4. No feature stability. Radiomics features are unstable across acquisition/segmentation — filter to reproducible features (ICC / test-retest).
  5. No calibration. A clinical prediction model needs calibration (slope/intercept + a flexible curve), not discrimination alone.
  6. No external validation. A single-cohort model needs external / temporal validation for a clinical claim.

Read the full file on GitHub · 135 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. 11d ago First seen · 135 lines · 223 tokens per session scan A cc65bfd50db2

Subscribe to this mod's changes

radiomics-ml is a skill published in the GitHub repository Aperivue/medsci-skills (292 stars, last pushed 4d ago), licensed MIT. It adds 223 tokens to every session and 2,036 once invoked, about $0.0011 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

torch-geometric

PyTorch Geometric (PyG) for graph neural networks — node/link/graph classification, message passing (GCN, GAT, GraphSAGE, GIN), heterogeneous graphs, neighbor sampling, and custom datasets. Use when working with torchgeometric, not for general NetworkX analytics or non-graph PyTorch models.

K-Dense-AI/scientific-agent-skills · 71 tokens

aeon

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard…

K-Dense-AI/scientific-agent-skills · 74 tokens

bids

Use this skill when working with Brain Imaging Data Structure (BIDS) datasets: organizing neuroscience and biomedical data (MRI, EEG, MEG, iEEG, PET, microscopy, NIRS, motion capture, EMG, MR spectroscopy, behavioral), querying BIDS layouts, validating compliance, converting DICOM to BIDS, writing metadata sidecars…

K-Dense-AI/scientific-agent-skills · 80 tokens

bulk-rnaseq

End-to-end bulk RNA-seq orchestrator — takes raw FASTQ reads through QC and trimming (FastQC, fastp/Trim Galore), alignment and quantification (STAR, Salmon, featureCounts), assembles a gene-level counts matrix, then hands off to differential expression (pydeseq2), pathway/GSEA enrichment (pathway-enrichment), and…

K-Dense-AI/scientific-agent-skills · 218 tokens

esm

Use when working directly with the esm Python SDK, ESM3 or ESMC model IDs, Forge/Biohub inference clients, or ESMFold2 folding workflows.

K-Dense-AI/scientific-agent-skills · 39 tokens

geniml

Use Geniml for audited local genomic-interval workflows: validate BED and universe contracts, plan Region2Vec or scEmbed runs, inspect model/tokenizer compatibility, and assess consensus universes.

K-Dense-AI/scientific-agent-skills · 43 tokens