Source profileQuality 92/100Review permissions

Aperivue/medsci-skills/skills/radiomics-ml/SKILL.md

radiomics-ml

Produce or audit a radiomics / tabular clinical-ML study — imaging or clinical features → any classical learner (penalised logistic [LASSO / ridge / elastic-net], SVM, k-NN, naive Bayes, LDA/QDA, decision tree, random forest, gradient boosting [XGBoost / LightGBM / CatBoost], shallow MLP, stacked ensembles) → a clinical outcome — so it clears the rigor bar reviewers expect: nested cross-validation (tuning never on the reported folds), dimensionality control for the features-far-exceed-events reg

Source repository stars
273
Declared platforms
0
Static risk flags
1
Last source update
2026-08-26
Source checked
2026-08-28

Decision brief

What it does: where it fits

Produce or audit a radiomics / tabular clinical-ML study — imaging or clinical features → any classical learner (penalised logistic [LASSO / ridge / elastic-net], SVM, k-NN, naive Bayes, LDA/QDA, decision tree, random forest, gradient boosting [XGBoost / LightGBM / CatBoost], shallow MLP, stacked ensembles) → a clinical outcome — so it clears the rigor bar…

Best for

  • 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…
  • 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 cod…

Not for

  • Deep-learning imaging models → /architecture-zoo → /model-scaffold → /model-validation.
  • Classical inferential statistics / a regression model as the estimand → /analyze-stats.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/Aperivue/medsci-skills --skill "skills/radiomics-ml"
Safe inspection promptEditorial

Inspect the Agent Skill "radiomics-ml" from https://github.com/Aperivue/medsci-skills/blob/048afbc14a235058a220a63daec517851145c445/skills/radiomics-ml/SKILL.md at commit 048afbc14a235058a220a63daec517851145c445. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Workflow

    For radiomics, extract with pyradiomics under reproducible, IBSI-aligned settings (fixed bin width, resampling, normalisation) — record them. For clinical/tabular data, assemble the feature table with a patient/subject ID and the outcome. See references/radiomicsmlguide.md.

    Feature stability — with test-retest / multi-rater data, keep features with ICC ≥ 0.75.Nested cross-validation — outer folds estimate performance, inner folds tune; do featureDimensionality — with features ≥ events, use LASSO / a stability+redundancy filter / PCA.
  2. 02

    Phase 1 — Extract features (integrate, don't reimplement)

    For radiomics, extract with pyradiomics under reproducible, IBSI-aligned settings (fixed bin width, resampling, normalisation) — record them. For clinical/tabular data, assemble the feature table with a patient/subject ID and the outcome. See references/radiomicsmlguide.md.

    For radiomics, extract with pyradiomics under reproducible, IBSI-aligned settings (fixed bin width, resampling, normalisation) — record them. For clinical/tabular data, assemble the feature table with a patient/subject…
  3. 03

    Phase 2 — Build the pipeline correctly

    Feature stability — with test-retest / multi-rater data, keep features with ICC ≥ 0.75.

    Feature stability — with test-retest / multi-rater data, keep features with ICC ≥ 0.75.Nested cross-validation — outer folds estimate performance, inner folds tune; do featureDimensionality — with features ≥ events, use LASSO / a stability+redundancy filter / PCA.
  4. 04

    Phase 3 — Emit the pipeline manifest

    Review the “Phase 3 — Emit the pipeline manifest” section in the pinned source before continuing.

    Review and apply the “Phase 3 — Emit the pipeline manifest” source section.
  5. 05

    Phase 4 — Gate the pipeline (deterministic)

    Verdicts: NONESTEDCV, HIGHDIMLOWEVENTS, SELECTIONOUTSIDECV (Major); NOFEATURESTABILITY, NOCALIBRATION, NOEXTERNALVALIDATION (Minor). Complements self-review's checkcvleakage (which audits a finished manuscript's prose) at the pipeline-spec level.

    Verdicts: NONESTEDCV, HIGHDIMLOWEVENTS, SELECTIONOUTSIDECV (Major); NOFEATURESTABILITY, NOCALIBRATION, NOEXTERNALVALIDATION (Minor). Complements self-review's checkcvleakage (which audits a finished manuscript's prose)…

Permission review

Static risk signals and limitations

Runs scripts

medium · line 90

The documentation asks the agent to run terminal commands or scripts.

python3 scripts/check_radiomics_ml.py --manifest pipeline_manifest.json --strict

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score92/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars273SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
Aperivue/medsci-skills
Skill path
skills/radiomics-ml/SKILL.md
Commit
048afbc14a235058a220a63daec517851145c445
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

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.

Workflow

Phase 1 — Extract features (integrate, don't reimplement)

For radiomics, extract with pyradiomics under reproducible, IBSI-aligned settings (fixed bin width, resampling, normalisation) — record them. For clinical/tabular data, assemble the feature table with a patient/subject ID and the outcome. See references/radiomics_ml_guide.md.

Phase 2 — Build the pipeline correctly

  • Feature stability — with test-retest / multi-rater data, keep features with ICC ≥ 0.75.
  • Nested cross-validation — outer folds estimate performance, inner folds tune; do feature selection and scaling inside each training fold (never on the whole dataset).
  • Dimensionality — with features ≥ events, use LASSO / a stability+redundancy filter / PCA.
  • Model — pick from the full classical family for the task; a simple baseline (penalised logistic) is mandatory alongside any complex learner:
    • penalised regression — LASSO / ridge / elastic-net logistic (also the baseline)
    • margin / kernel — linear or RBF SVM
    • instance-based — k-NN
    • probabilistic / discriminant — naive Bayes, LDA / QDA
    • trees & bagging — decision tree, random forest, extra-trees
    • boosting — XGBoost, LightGBM, CatBoost, HistGBM, AdaBoost
    • shallow neural — MLP
    • meta — stacking / voting ensembles
    • unsupervised (upstream) — PCA / UMAP for reduction, k-means / hierarchical / GMM for phenotyping The gate below is learner-agnostic — it audits the pipeline (nested CV, leakage, dimensionality, calibration), so it applies identically to any of these. See the full method map in docs/method_coverage_map.md.
  • Report — discrimination and calibration (slope/intercept + flexible curve, via the /analyze-stats calibration guide) and clinical utility (decision curve). SHAP for interpretation.

Phase 3 — Emit the pipeline manifest

{
  "task": "classification",
  "n_features": 1200, "n_samples": 300, "n_events": 110,
  "cv_scheme": "nested",
  "feature_selection_stage": "inside_cv",
  "dimensionality_reduction": true,
  "feature_stability": "icc",
  "calibration_reported": true,
  "external_validation": "temporal",
  "model": "xgboost"
}

Phase 4 — Gate the pipeline (deterministic)

python3 scripts/check_radiomics_ml.py --manifest pipeline_manifest.json --strict

Verdicts: NO_NESTED_CV, HIGH_DIM_LOW_EVENTS, SELECTION_OUTSIDE_CV (Major); NO_FEATURE_STABILITY, NO_CALIBRATION, NO_EXTERNAL_VALIDATION (Minor). Complements self-review's check_cv_leakage (which audits a finished manuscript's prose) at the pipeline-spec level.

Integration

  • /analyze-stats — calibration + clinical-utility (decision curve, NNT) guides for the reporting.
  • /check-reporting — CLEAR (radiomics), TRIPOD+AI, PROBAST-AI item coverage.
  • /self-review clinical_prediction_model probe audits the finished manuscript; this skill produces the rigorous pipeline it looks for.

Anti-Hallucination

  • Never fabricate features, performance metrics, or sample/event counts. Every value in the manifest and every reported metric comes from the researcher's executed code — never invented. This skill designs and audits the pipeline; it does not run a model on real patient data.
  • Never report flat-CV performance as if it were nested or held-out. Tuning on the reported folds is the optimism this skill exists to prevent (NO_NESTED_CV).
  • Never report a radiomics/ML audit "pass" without running check_radiomics_ml.py. The rigor verdict is reproduced deterministically, never asserted from prose.
  • Integrate, don't reimplement. Reference scikit-learn / xgboost / pyradiomics; do not write a new feature extractor or learner or claim results for one.

Reproducible challenge

scripts/check_radiomics_ml_challenge/ ships a synthetic weak/strong pipeline pair with a network-free verify.sh wired into the skill's validation commands.

Frequently asked questions

What to verify before installation and use

What does the radiomics-ml source document cover?

Produce or audit a radiomics / tabular clinical-ML study — imaging or clinical features → any classical learner (penalised logistic [LASSO / ridge / elastic-net], SVM, k-NN, naive Bayes, LDA/QDA, decision tree, random forest, gradient boosting [XGBoost / LightGBM / CatBoost], shallow MLP, stacked ensembles) → a clinical outcome — so it clears the rigor bar…

How do I install radiomics-ml?

The source record exposes this install command: npx skills add https://github.com/Aperivue/medsci-skills --skill "skills/radiomics-ml". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10029,236

garrytan/gbrain

bulk-ingestion

End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.

Computed 10025,136

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 1005,277

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

Computed 991,260

vipshop/cache-dit

cache-dit-model-integration

High-level guide for integrating a new DiT model into cache-dit: Cache (BlockAdapter/ForwardPattern), Context Parallelism, Tensor Parallelism, Text Encoder Parallelism (TE-P), VAE Parallelism (VAE-P), generate CLI, installation, testing workflow, and detailed references. Use when adding support for a new diffusion transformer model in cache-dit.