SkillsReviewed · Aperivue

Aperivue radiomics-ml

radiomics-ml is an AI assistant skill for researchers building clinical prediction models, but its checker verifies declared settings rather than executed code or patient data. It combines radiomics and tabular machine-learning guidance, patient-grouped nested cross-validation examples and a Python checker for common study-design problems.

Researched 17 Nov 2026

In short.

radiomics-ml is an AI assistant skill for clinicians and developers designing clinical prediction studies, but a clean manifest does not establish a valid clinical model. Its useful core is a detailed methods guide paired with a standard-library Python checker for declared validation, feature selection, dimensionality, stability, calibration and external validation. The manifest checker cannot verify patient grouping, actual training behaviour or clinical performance, and strict mode still returns success when only Minor findings remain. Runtime behaviour and assistant integration are not assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers all twelve supplied files under skills/radiomics-ml: SKILL.md, skill.yml, the companion guide, manifest checker, challenge description, two JSON fixtures, two expected-output files, challenge verifier and two test files. Also covers the repository LICENSE and THIRD-PARTY-NOTICES.md. Excludes implementations of referenced sibling skills, dependency packages, original cited papers and guidelines, real patient datasets and model runs. No code was executed. Expected outputs and test definitions do not establish observed success; assistant behaviour, dependency compatibility, numerical simulation claims and clinical performance remain unassessed.

The overview

identity

radiomics-ml belongs to Aperivue's medsci-skills repository. It supplies instructions an AI assistant can use to design or audit feature-based clinical prediction pipelines. Radiomics means turning medical images into numerical measurements; tabular clinical models use measurements such as laboratory results and demographics.

The resource includes SKILL.md, skill.yml, a companion guide, a Python manifest checker, synthetic examples and test scripts. Its original resource page is [https://github.com/Aperivue/medsci-skills/tree/main/skills/radiomics-ml]. It references established libraries rather than supplying a new feature extractor or machine-learning algorithm.

assessment

The strongest use is structured research planning and review: the guide explains methodological problems, while the checker makes several declared omissions explicit. The distinction between guidance and verification matters. A manifest can claim nested cross-validation or calibration without proving either happened.

The checker also makes an operational distinction that users must understand: --strict fails on Major findings only. Missing calibration, feature stability, external validation or sufficient counts for assessment can remain Minor findings while the process exits successfully. Inspect the findings rather than treating exit code 0 as complete approval.

users

The intended users are researchers and clinicians working with radiomic features or clinical tables, plus developers implementing or reviewing their prediction pipelines. Beginners receive explanations of validation and leakage; experienced developers receive a manifest format, a scikit-learn example and machine-readable findings.

The documented focus is classical feature-based modelling, including penalised logistic regression, support-vector machines, random forests and boosting. Imaging deep learning, language-model evaluation, inferential statistics and full manuscript reporting audits are assigned to other skills. This resource does not provide evidence of readiness for clinical deployment.

capabilities

The guidance covers reproducible image-feature extraction, feature stability across repeated scans or segmentations, candidate-feature reduction, study sizing and comparison with a penalised logistic baseline. It explains calibration, which concerns whether predicted risks match observed outcomes, alongside discrimination and decision-curve analysis.

The supplied training example uses scaling, SelectKBest and logistic regression inside five-fold inner and outer cross-validation. Both loops group rows by patient through StratifiedGroupKFold. It produces out-of-fold predictions and a patient-to-fold table.

skill.yml lists training code with SHAP interpretation, calibration and clinical utility as intended outputs. The supplied training skeleton does not implement that complete workflow. Those outputs depend on further implementation or assistant-generated code.

Using it

requirements

The manifest checker needs Python 3 and uses only standard-library modules. It reads JSON rather than images or patient tables. The challenge verifier additionally uses Bash and diff. A verified minimum Python version is not supplied.

The guide's training skeleton and its synthetic test require NumPy, pandas and scikit-learn. Actual radiomics extraction or other learners require the chosen libraries, such as pyradiomics or XGBoost. Dependency pins and a complete reproducible environment are not supplied in this folder.

Building a real pipeline requires a feature table, outcome and patient identifiers. Radiomics work also needs extraction settings and, where available, repeated-scan or multi-rater data for stability assessment. The selected files do not establish supported assistant hosts, activation procedures, training hardware requirements or data-handling arrangements for a chosen assistant.

mechanism

The assistant-facing instructions organise the work into feature preparation, pipeline design, manifest creation and checking. The separate Python command applies fixed rules to declared fields; it does not use a language model to decide findings.

Major findings cover an unacceptable validation declaration, candidate features at least as numerous as the minority-class count, and feature selection declared outside cross-validation or not adequately specified. Minor findings cover missing stability, calibration, external validation or counts needed to assess dimensionality. Declaring dimensionality reduction does not override the feature-count rule.

With --out, the checker writes JSON containing claims, severities, counts and basis set to declared. Under --strict, Major findings produce exit code 1; specified input errors produce exit code 2. Minor-only reports exit 0, and their JSON summary verdict is still OK, so consumers must inspect claims and severity counts.

setup

Obtain the complete skills/radiomics-ml folder at the intended revision and preserve its relative paths. SKILL.md alone does not contain the referenced guide, detector or tests. Host-specific installation and activation instructions are not established by these files.

From the skill folder, the documented checker command is python3 scripts/check_radiomics_ml.py --manifest pipeline_manifest.json --strict. Adding --out audit.json requests a JSON report; --quiet suppresses the console table. Populate declarations from the actual research pipeline rather than using the illustrative manifest as evidence.

The supplied challenge command is bash scripts/check_radiomics_ml_challenge/verify.sh. It is designed to compare synthetic-fixture output and strict-mode exit codes with expected files without network access. Its inclusion does not establish that it has passed in a particular environment.

example

The supplied weak fixture declares XGBoost, 1,200 features, 140 samples and 40 events, with flat cross-validation and feature selection outside the folds. Stability, calibration and external validation are absent. Its expected output contains three Major and three Minor findings; the challenge specifies exit code 1 under --strict.

The strong fixture declares a random forest with 40 candidate features, 300 samples and 110 events, nested cross-validation, in-fold selection, ICC stability, calibration and temporal validation. Its expected output contains no findings, with strict-mode exit code 0.

These are synthetic declarations and expected outputs, not observed model results. The guide explicitly explains that this strong example can clear the checker's feature-count rule while still falling short of a separate sample-size calculation.

Assessment & evidence

limitations

The checker cannot inspect executed preprocessing, feature selection, calibration or validation. Its manifest has no patient-grouping field, so lesion rows from one patient could cross folds without detection. The guide's separate split-leakage command belongs to another skill whose implementation is outside this folder.

The dimensionality rule is a coarse warning threshold, not a study-size calculation. Calibration and external validation are accepted from declarations without inspecting predictions, cohorts or measurements. The stability check accepts strings beginning with icc without checking numerical ICC values or supporting data.

There are documentation and implementation differences. Despite a general claim about categorical normalisation, cv_scheme is only stripped and lowercased; other relevant fields receive hyphen and whitespace normalisation. The code rejects n_features equal to zero and accepts integral floating-point counts such as 40.0.

Although the guide discusses broader model families, the checker does not validate task or learner type and uses a binary minority-class count rule. Adequacy for regression, survival modelling or other outcomes is not established. Generated assistant responses, numerical simulation claims, runtime compatibility and clinical effectiveness are not assessed.

reasoning

The guide explains why pipeline structure matters. Nested cross-validation separates choosing model settings from estimating performance. In-fold preprocessing prevents held-out information from influencing training. Patient grouping addresses repeated lesions or measurements that could otherwise let the model recognise patients across splits.

Its most useful qualification is that passing a simple feature-count threshold does not prove sufficient sample size. It also treats calibration and clinical utility as separate questions from ranking performance. These explanations make it useful as a planning aid, while the declaration-only checker remains a limited verification mechanism.

alternatives

Developers can implement the guide's Pipeline, GridSearchCV and StratifiedGroupKFold approach directly in scikit-learn. radiomics-ml adds assistant instructions, explanatory material and manifest checks around those library components.

Within the same repository, the documentation routes imaging deep learning toward model-selection, model-scaffold and model-assessment; inferential statistics toward analyze-stats; and finished-manuscript guideline coverage toward check-reporting. These are documented divisions of responsibility, not independently assessed comparisons: the sibling implementations are outside the selected folder.

evidence

The executable source supports inspection of the manifest rules, outputs and exit-code handling. The challenge supplies weak and strong synthetic manifests, expected text and a verifier. The regression script includes cases for missing fields, invalid counts, categorical variants and declared-basis output. These are test definitions and expected results; no execution results are supplied.

A separate synthetic test extracts the guide's training example and checks patient grouping and an AUROC ceiling on data with outcomes unrelated to features. Missing dependencies cause a successful local skip, but an environment error when CI is set. Its presence does not establish a completed test run.

The guide cites research and describes numerical simulations, but the underlying publications and simulation receipts are not included. Those numerical claims are not independently established by the supplied files.

Access & freshness

costs

The MIT licence grants permission free of charge. The supplied manifest checker contains no model-provider calls or paid-service integration.

Total operating cost is unknown. The files do not price assistant access, model-provider usage, environment setup, feature extraction, model training or obtaining validation data. A standard-library checker does not establish the cost of the surrounding research workflow.

rights

The repository's MIT licence permits use, modification, redistribution and commercial use of covered material, provided the copyright and permission notices accompany copies or substantial portions. It identifies Aperivue as the 2026 copyright holder and provides the material without warranty.

The third-party notice identifies separately licensed checklists, templates and citation styles in other folders, including some non-commercial restrictions. It lists no such exception for skills/radiomics-ml. Those exceptions should not be generalised to this folder or ignored when copying other repository content.

External libraries retain their own licences. The notice's optional pymupdf4llm dependency belongs to a separate full-text retrieval feature; it is not a requirement of this manifest checker.

freshness

The supplied source snapshot is commit e0ea3b0be3bf529aa0b94ee5fd8450e78848932c, captured on 2026-11-17 at 05:51:57.662 UTC. The immutable entry file is [https://raw.githubusercontent.com/Aperivue/medsci-skills/e0ea3b0be3bf529aa0b94ee5fd8450e78848932c/skills/radiomics-ml/SKILL.md].

The findings apply to that revision. A release version, commit date, subsequent changes and compatibility with current dependency releases are not established. The metadata's schema version and quality-card label do not establish a package release.

actions

Start with the complete folder and use the guide to map the actual pipeline into the manifest. Keep candidate-feature counts distinct from the final selected feature count. Use the checker's supported categorical values and inspect all findings, including Minor findings and missing-count warnings.

Verify patient grouping in both validation loops against actual split records. Assess study size separately from the feature-count rule, and examine calibration and external-validation evidence directly. The referenced sample-size and split-leakage tools require material outside this folder.

Before relying on the skill in an assistant or automated development process, establish host compatibility and execute the relevant supplied checks in that environment. A clean manifest result should remain a statement about declarations, with clinical claims supported by the actual study evidence.

Evidence for this report

LICENSEnotice · checked 2026-11-17
THIRD-PARTY-NOTICES.mdnotice · checked 2026-11-17
skills/radiomics-ml/SKILL.mdselected · checked 2026-11-17
skills/radiomics-ml/skill.ymlselected · checked 2026-11-17