In short.
Model-selection is an AI-assistant skill for medical-imaging teams choosing models, with a provenance checker that trusts the information they enter. Its useful distinction is between choosing an architecture family and evaluating a particular repository or checkpoint. The references cover classification, segmentation, detection, synthesis, foundation models and graph networks. The checker can expose recorded dataset conflicts and missing information, but it cannot establish patient-level independence, verify licences or validate a model. Static source inspection also reveals input-validation gaps. No code, tests or models were executed.
Researched and written by an AI model and checked by a second AI model. How it works
Covers all 19 supplied files under skills/model-selection at revision e0ea3b0be3bf529aa0b94ee5fd8450e78848932c: SKILL.md, skill.yml, seven reference files, the Python checker, the challenge explanation and verifier, three synthetic fixtures, three expected-output files and the regression script. Also covers the repository-root LICENSE and THIRD-PARTY-NOTICES.md. Original files remain identifiable through their captured evidence identifiers and source URLs. Other repository folders, sibling skills, upstream publications, external model implementations and checkpoints are outside this scope. Analysis is based on source text; installation, execution, test outcomes, real-model behavior and hardware compatibility are unassessed.
The overview
Identity
Aperivue model-selection is a skill folder within the medsci-skills repository: [https://github.com/Aperivue/medsci-skills/tree/main/skills/model-selection]. It contains assistant instructions, an architecture decision tree, six architecture-family reference files, a Python provenance checker, synthetic examples and shell verification scripts.
Its intended outputs are an architecture decision note, a model_dossier.json record, a qc/model_provenance.json findings file and decisions about what each evaluation arm may claim. An evaluation arm means a separate part of a study evaluated on a specified dataset.
Assessment
This is useful as a structured starting point for a research team that needs to explain both its architecture choice and the origin of a concrete model. It connects constraints such as image dimensionality and label availability with questions often omitted from model selection: which weights will be used, what data shaped the model and whether planned evaluation data overlaps that history.
Its automated findings need careful interpretation. A clean result establishes consistency only for the fields and relationships the checker actually examines. It does not establish accurate source information, independent validation, model performance or clinical suitability. The implementation also checks less of the input structure than the documentation implies.
Users
The closest fit is a medical-imaging researcher, research engineer or machine-learning developer deciding how to classify images, outline structures, locate lesions, generate images or adapt released weights. Beginners receive an explanation of architecture families; experienced developers receive a concrete dossier format and an automation-friendly findings file.
It requires someone who can read model papers, inspect the actual licence and trace training and development datasets. It is less useful for someone seeking a ready-to-run training pipeline, a current performance ranking or an evaluation framework for a language or multimodal language model. Those activities are assigned to other resources.
Capabilities
The reference cards cover CNN and transformer classification, U-Net-related segmentation, lesion detection, self-supervised and foundation-model transfer, graph networks and image synthesis. The synthesis card distinguishes paired Pix2Pix translation, unpaired CycleGAN translation, map-conditioned generation, diffusion and reconstruction. It explicitly requires more than visual-similarity scores when judging synthetic medical images.
The Python checker produces Major and Minor findings for recorded dataset overlap, missing provenance, recognised non-commercial licence conflicts, task mismatch, missing version information, missing validation information and unsupported hardware claims. It can print findings and write JSON. The surrounding skill helps turn those findings into documented study decisions; it does not download, train or benchmark a model.
Using it
Requirements
The standalone checker needs Python 3, a local JSON dossier and access to the chosen output location. It imports only standard-library modules and contains no network-fetching operation. The bundled verification scripts additionally use Bash and command-line utilities. A minimum Python version and tested operating-system matrix are not established.
The assistant instructions locate bundled files through CLAUDE_SKILL_DIR. Supported assistant hosts and host-specific installation steps are not established by this folder. The broader workflow references sibling skills such as search-lit, model-scaffold and model-assessment, which are outside this resource.
Required research inputs include the imaging task, modality, two- or three-dimensional data, label availability, intended use, concrete model revision, licence source, training and development datasets, and planned evaluation datasets. The checker reads these declarations rather than images, weights or patient records.
Mechanism
The architecture stage routes the research question through task, dimensionality, data scale and other constraints to a family card. The resulting note records a choice, source paper, justification and runner-up. The provenance stage separately records the concrete repository or checkpoint and the facts relevant to its use.
For dataset comparisons, the checker lowercases names, separates them into alphanumeric tokens and compares leading token sequences. A small alias table maps names such as Medical Segmentation Decathlon to MSD. This lets MSD match MSD Task09 Spleen while keeping MS distinct from MSD. It compares evaluation datasets separately with development datasets and the declared training corpus.
Licence compatibility is a string-based screen for recognised non-commercial or research-only terms. It does not read or interpret the licence file itself. With --strict, a Major finding produces exit status 1; a completed check without Major findings produces 0, even when Minor findings remain. Recognised input errors produce 2, although the implementation does not validate every possible malformed structure.
Setup
Keep the model-selection folder structure intact so that its instructions, references, checker and examples retain their relative paths. Start with references/index.md and the relevant family card, then create the architecture note and dossier. Obtain each provenance fact from the concrete model and its publication rather than copying the synthetic examples.
From the model-selection folder, a standalone invocation is: python3 scripts/check_model_provenance.py --dossier model_dossier.json --out qc/model_provenance.json --strict. The bundled verification entry points are bash scripts/check_model_provenance_challenge/verify.sh and bash tests/test_model_provenance.sh. These describe usage; installation, command execution and host compatibility were not assessed.
Example
The supplied defective example describes a fictional model developed on ExampleBench, with weights trained on that corpus, and an evaluation arm named ExampleBench Task03 Liver. It also declares commercial use with a non-commercial licence, a mismatched task and missing supporting information. Its expected-output file lists three Major and five Minor findings. These are authored expectations for synthetic data, not observed results from a real model.
The clean example still records development on ExampleBench, but evaluates on differently named cohorts and supplies the other checked facts. Its expected output contains no findings. A third example illustrates missing licence and weight-origin information. Together they explain the distinction between conflicting declarations, missing declarations and declarations that satisfy the implemented checks.
Assessment & evidence
Limitations
The checker trusts the dossier. It cannot establish that a named licence is correct, a cited file was read, a development history is complete or hardware actually ran. Dataset-name matching cannot inspect patient overlap, distinguish every development split from a held-out split within the same corpus, or recognise unrelated names for the same private cohort. A family-level match is a reason to investigate; it does not prove which individual evaluation cases were used in training.
Static reading reveals input-validation gaps. An empty string for developed_on is converted to an empty list before type checking, bypassing the documented rejection of non-list values. An evaluation arm can omit its dataset without receiving a dedicated missing-dataset finding. Any non-empty reported_validation value suppresses VALIDATION_UNREPORTED without checking for dataset, metric and source. The code also accepts deployment and product as intended-use values beyond the documented three choices. These observations were not confirmed through execution.
The licence screen misses restrictions without its recognised markers, such as academic-use-only wording, and does not evaluate copyleft obligations. Architecture coverage is curated rather than exhaustive. References to available model-scaffold templates are inconsistent across cards, and graph models explicitly have no matching scaffold template. The external scaffold's actual capabilities are unknown from this folder.
Reasoning
The resource's strongest design choice is keeping architecture suitability separate from artifact suitability. A family can suit the imaging task while a particular checkpoint has unsuitable terms, undocumented training data or a development history that complicates evaluation. Recording those facts together makes the relationship easier to inspect.
The checker also distinguishes absent development information from an explicit declaration that no development datasets apply. That is useful only when the declaration is accurate. Similarly, evaluating on later-collected data can support a stronger study design, but the checker does not examine dates or prove independence. Human review remains necessary before interpreting a finding or a clean result.
Alternatives
For different stages of the same project, the instructions point to model-scaffold for training-repository generation, imaging-data for data preparation, model-assessment for validation and metrics, model-card for documenting a model, and mllm-eval for language or multimodal language models. Those resources are referenced but their implementations are not established by this folder.
For direct model implementation, the cards point to existing projects and libraries such as nnU-Net, nnDetection, MONAI, torchvision, timm, PyTorch Geometric and DGL. A developer who already understands the architecture can consult those implementations directly while retaining a separate provenance record. Their comparative quality and current capabilities were not assessed here.
Evidence
The source includes the checker implementation, three synthetic dossiers, matching expected-output files, a challenge explanation, an output-comparison script and a broader regression script. The regression script contains cases for dataset aliases, non-commercial licence spellings, missing fields, selected malformed inputs and strict exit statuses.
These files show how the author intends the checker to behave. Expected-output text and test definitions do not establish successful execution. No checker, verification script, external model or training workflow was run, and no real-world accuracy, runtime, hardware compatibility or model-selection benefit was measured. The cited research papers and external model licences were not independently examined.
Access & freshness
Costs
The root MIT licence grants use without a software licence fee. The checker uses Python's standard library and does not call a paid service. Prices for an assistant host, model or API usage, researcher time and downstream training or inference are not supplied, so total operating cost is unknown. This skill provides no measured runtime, staffing estimate or downstream compute budget.
Rights
The root MIT licence permits use, copying, modification and redistribution, including commercial redistribution, provided its copyright and permission notices accompany copies or substantial portions. It supplies the software without warranty. The accompanying third-party notice identifies exceptions in other repository folders; it does not identify an exception under skills/model-selection.
Those permissions do not establish rights to the external models, checkpoints or publications named in the references. The cards distinguish some code licences from weight licences and identify several non-commercial weight restrictions, but the actual external licence files are not included here. Each chosen artifact needs its own licence review at the intended revision. The foundation-model card's opening claim that all listed weights are permissively licensed conflicts with its later descriptions of non-commercial and gated weights.
Freshness
The source snapshot is revision e0ea3b0be3bf529aa0b94ee5fd8450e78848932c, captured on 17 November 2026 at 01:13:16.173 UTC. Its instruction file is available at [https://raw.githubusercontent.com/Aperivue/medsci-skills/e0ea3b0be3bf529aa0b94ee5fd8450e78848932c/skills/model-selection/SKILL.md].
The skill describes its architecture collection as a map of archetypes rather than a live leaderboard, although individual cards contain time-sensitive performance and release descriptions. Current architecture rankings, external project versions and weight-licence terms remain unknown beyond the supplied snapshot.
Actions
Start by defining the imaging task, dimensionality, available labels and compute constraints. Use the relevant card to document a candidate family and runner-up, then verify the cited paper and the exact repository and checkpoint being considered. Record code and weight terms separately where they differ, and use consistent dataset names across development, training and evaluation records.
Before relying on the checker in automation, add independent input validation for complete evaluation datasets and structured validation records, and account for the documented contract mismatches. Run the supplied verification scripts in the intended environment before operational reliance. Review findings against actual cohort membership and licence text; a clean strict exit does not establish valid study design or deployment readiness.
