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.
npx skills add Aperivue/medsci-skills --skill radiomics-mlgit clone --depth 1 https://github.com/Aperivue/medsci-skillsWrote 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.
[](https://agentmods.dev/skills/aperivue/medsci-skills/radiomics-ml)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.02786 |
| Opus 5.5 | $0.00026 | $0.01114 |
| Sonnet 5.5 | $0.00013 | $0.00557 |
| Haiku 4.5 | $0.00006 | $0.00279 |
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 22d 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.
How it starts
The opening of the file, as written. The whole thing — 165 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 →
/model-selection→/model-scaffold→/model-assessment. - Classical inferential statistics / a regression model as the estimand →
/analyze-stats. - Interpretability of a trained network →
/model-assessment. - Reimplementing scikit-learn / xgboost / pyradiomics → out of scope (this skill wires and audits them).
The failure modes (what the gate enforces)
- No nested CV. Tuning and reporting on the same folds inflates performance. Use nested CV or a held-out test set.
- High dimensionality, low events. Candidate features ≥ events overfits — the classic radiomics
trap. Declaring
dimensionality_reductiondoes not clear it:n_featuresalready counts what is left after outcome-blind reduction. The gate'sp ≥ eventsrule (events = the minority class) is a floor that catches the worst case, not a sample-size criterion: size the study with/calc-sample-sizeTest 12 (Riley criteria,pmsampsize), counting every candidate feature that reaches outcome-driven selection or fitting. At C = 0.75 and 35% prevalence that is about 48 patients per candidate parameter: 100 candidates need N = 4,755 (1,665 events), and the gate passes 100 features on 105 events. Reduce candidates without the outcome first (stability, redundancy, clinical prior); LASSO or other penalisation does not substitute for sample size, because the shrinkage it estimates is itself unstable at small n (Riley et al., J Clin Epidemiol 2021; Van Calster et al., Stat Methods Med Res 2020). - Selection outside the fold. Feature selection fit on the whole dataset leaks the held-out folds. Nest selection inside each training fold.
- No feature stability. Radiomics features are unstable across acquisition/segmentation — filter to reproducible features (ICC / test-retest).
- No calibration. A clinical prediction model needs calibration (slope/intercept + a flexible curve), not discrimination alone.
- No external validation. A single-cohort model needs external / temporal validation for a clinical claim.
What ships with it
11 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.
- references/radiomics_ml_guide.md 11 KB
- scripts/check_radiomics_ml_challenge/expected/strong.txt 381 B
- scripts/check_radiomics_ml_challenge/expected/weak.txt 1.6 KB
- scripts/check_radiomics_ml_challenge/fixture/pipeline_strong.json 320 B
- scripts/check_radiomics_ml_challenge/fixture/pipeline_weak.json 313 B
- scripts/check_radiomics_ml_challenge/problem.md 894 B
- scripts/check_radiomics_ml_challenge/verify.sh 2.1 KB runs code
- scripts/check_radiomics_ml.py 17 KB runs code
- skill.yml 3.9 KB
- tests/nested_cv_skeleton_check.py 3.9 KB runs code
- tests/test_radiomics_ml.sh 12 KB runs code
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.
- 22d ago Changed · +1 lines 024ba57ccb1a
- 23d ago Changed · +8 lines d1a2d2e0b873
- 25d ago Changed · +21 lines · -159 tokens per session 9fb5723cee00
- 1mo ago First seen · 135 lines · 223 tokens per session scan A cc65bfd50db2
radiomics-ml is a skill published in the GitHub repository Aperivue/medsci-skills (349 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 2,786 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-08-30.
Other skills, from other repositories
genomic-intelligence
Predicts regulatory features, gene structure, and expression directly from DNA sequence using Genomic Intelligence's hosted transformer DNA language models — no local GPU or model weights. Six tasks over a REST API and a hosted MCP server (keyless public demo): promoter regions, splice donor/acceptor sites, enhancer…
torch-geometric
Supports PyTorch Geometric (PyG) 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.
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…
bids
Organizes, queries, validates, and converts Brain Imaging Data Structure (BIDS) datasets. Supports 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…
bulk-rnaseq
Prepares bulk RNA-seq FASTQ, Salmon, STAR or featureCounts output for gene-level differential expression. Covers nf-core/rnaseq and standalone quantification, biological replication, strandedness, reference provenance, validated count assembly and a PyDESeq2 handoff. Use for FASTQ-to-counts analysis, nf-core/rnaseq…
geniml
Supports audited local Geniml genomic-interval workflows: validate BED and universe contracts, plan Region2Vec or scEmbed runs, inspect model/tokenizer compatibility, and assess consensus universes.