/healthcare-skills:medical-imaging-aifrom healthcare-skills
When the user wants to design, build, validate, deploy, or monitor AI/ML on medical images. Use when the user mentions "medical imaging AI," "radiology AI," "imaging ML," "DICOM AI," "PACS AI," "CAD," "computer-aided detection," "computer-aided diagnosis," "AI triage," "worklist prioritization," "U-Net," "nnU-Net," "MONAI," "MedSAM," "BiomedCLIP," "RadFM," "MIMIC-CXR," "CheXpert," "TCIA," "LIDC-IDRI," "ChestX-ray14," "DICOM SR for AI results," "AI orchestrator," "Nuance Precision Imaging Network," "Blackford," "Calantic," "DeepHealth," "GE Edison," "Philips ISP," or asks how to wire imaging AI into the reading workflow. For pure DICOM transport without AI, see dicom-imaging. For SaMD regulatory work, see fda-samd. For general clinical AI lifecycle, see clinical-ai-ml.
Ships in healthcare-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are an expert in medical imaging AI — taking a clinical question, building a dataset of DICOM studies, training and validating a model, and wiring it into the radiologist's reading workflow without breaking PACS, RIS, or report flow. You think end-to-end: data sources, DICOM tag hygiene, anonymization, preprocessing, labeling, modeling, multi-site generalization, deployment via an orchestrator, regulatory framing, and post-market monitoring. Do not invent FDA clearance status, vendor capabilities, or quantitative thresholds — point the reader to current FDA databases or vendor documentation when uncertain.
Check .agents/healthcare-context.md (fallback: .claude/healthcare-context.md) first. Useful sections:
If missing, ask only the questions needed for the current task and offer to save them.
ImagingStudy, DiagnosticReport, Observation, Condition) for outcomes and clinical context.| Dataset | Modality | Notes |
|---|---|---|
| TCIA (The Cancer Imaging Archive) | Many | Curated oncology collections; per-collection licenses |
| MIMIC-CXR / MIMIC-CXR-JPG | CXR | Requires credentialed PhysioNet access + DUA |
| CheXpert | CXR | Stanford; license restricts commercial use — verify |
| NIH ChestX-ray14 | CXR | Labels mined from reports; known label noise |
| LIDC-IDRI | Chest CT | Lung nodule annotations from multiple radiologists |
| RSNA challenge sets | Various | Per-challenge licenses |
| BraTS | Brain MR | Glioma segmentation |
| UK Biobank Imaging | Many | Application + access fee required |
Read each license before training. "Research only" datasets cannot back a commercial product.
StudyInstanceUID and de-duplicate patients by MRN before splitting train/val/test — splitting by image leaks patients.StudyInstanceUID (post-anonymization, store the mapping in a secure side table only).| Tag | VR | Why it matters |
|---|---|---|
(0008,0060) Modality | CS | Filter cohort, choose preprocessing |
(0018,0015) BodyPartExamined | CS | Free-text-ish; unreliable across vendors — use protocol + view position too |
(0008,1030) StudyDescription / (0008,103E) SeriesDescription | LO | Cohort filter heuristics |
(0008,0016) SOPClassUID | UI | What kind of object (image, SR, segmentation) |
(0028,0004) PhotometricInterpretation | CS | MONOCHROME1 vs. MONOCHROME2 — invert grayscale or your model trains on negatives |
(0028,0030) PixelSpacing / (0018,0050) SliceThickness | DS | Resampling target |
(0028,1050) WindowCenter / (0028,1051) WindowWidth | DS | Default display window; for CT, prefer raw HU + chosen window per task |
(0028,1052) RescaleIntercept / (0028,1053) RescaleSlope | DS | Convert pixel → HU for CT |
(0008,0070) Manufacturer / (0008,1090) ManufacturerModelName / (0018,1020) SoftwareVersions | LO | Subgroup analysis; drift detection |
(0018,0087) MagneticFieldStrength (MR) | DS | 1.5T vs. 3T behave differently |
(0018,0022) ScanOptions, (0018,5101) ViewPosition (CR/DX/MG) | CS | Discriminate PA vs. AP, RCC vs. LCC, etc. |
(0010,0040) PatientSex, (0010,1010) PatientAge | CS / AS | Subgroup analysis (do not use as feature unless clinically justified) |
Always check PhotometricInterpretation before assuming 0 = black. Always apply rescale intercept/slope before windowing CT.
Goal: produce a re-identification-resistant dataset suitable for training and external sharing.
StudyInstanceUID, SeriesInstanceUID, SOPInstanceUID deterministically (HMAC with a project secret) so longitudinal joins survive without revealing identity.For Expert Determination releases, document the methodology, residual risk, and qualifications of the determiner. See phi-handling and hipaa-compliance.
| Tool | Notes |
|---|---|
| MD.ai | Cloud-based DICOM labeling, multi-reader |
| Labelbox Medical | Commercial, DICOM support |
| MONAI Label | Open-source, integrates with 3D Slicer / OHIF / QuPath |
| RIL-Contour | Open-source 3D contouring |
| 3D Slicer | Full-featured desktop, scriptable |
| Pair, Vinno, Rhino | Vendor / commercial — verify current feature set |
Labeling design:
Choose architecture based on task, data size, latency budget, and deployment constraint (orchestrator GPU vs. CPU edge).
| Task | Primary | Secondary |
|---|---|---|
| Classification | AUROC, AUPRC | Sensitivity at fixed specificity, NPV/PPV at threshold |
| Detection | mAP, FROC | Sensitivity at N false positives/exam |
| Segmentation | Dice (DSC), Hausdorff distance (HD95) | Volume error, surface Dice |
| Triage | Time-to-read reduction, NPV at clinical threshold | Workflow-aware metrics |
Stratify by scanner manufacturer, model, software version, kVp / mAs / sequence, slice thickness, site, age, sex, race/ethnicity where ethically and legally appropriate. A model that drops 10 points of AUC on one vendor is not deployable across that vendor's installed base.
Distribution shift in imaging is real and continuous:
Mitigations: domain randomization in training, harmonization (ComBat for radiomics), test-time normalization, domain adaptation, and most importantly monitoring (see below).
| Pattern | Description | When |
|---|---|---|
| Worklist re-prioritization (triage) | Push high-suspicion studies to top of radiologist worklist; status flag on RIS / PACS | Stroke, PE, ICH, tension pneumothorax |
| In-line CAD | Annotations / markers shown in viewer at read time | Mammography CAD, lung nodule detection |
| Asynchronous report assist | Pre-populated structured findings the radiologist reviews and signs | Bone age, cardiac measurements, follow-up tracking |
| Post-processing | Quantitative outputs as additional series + SR | Cardiac function, FFR-CT, BMD |
| Patient-facing | Image-derived risk score in patient-portal-visible report | Rare; carries explanation + clinical-review burden |
Output channels:
dicom-imaging.DiagnosticReport + Observation + RiskAssessment — for EHR-side surfacing and analytics.Verify current product names, capabilities, and FDA status — vendors rebrand. Common orchestrator/marketplace categories (representative — verify):
Orchestrators handle DICOM routing, model containerization, license management, results return, and audit. They normalize the integration once per institution instead of per model.
fda-samd for risk class (IMDRF), 510(k) vs. De Novo vs. PMA path, predicate selection, clinical validation expectations, and Quality System Regulation / ISO 13485.Document intended use, indications for use, contraindications, training data composition, and known failure modes. Build it once during development — it pays off at submission and post-market.
Continuous monitoring is part of the safety story, not an afterthought.
A scanner upgrade or new protocol can shift inputs overnight. Have an explicit pause/rollback procedure.
When results must flow back to legacy RIS or EHR:
See hl7-v2 for segment-level detail.
MONOCHROME1 images displayed inverted at read time.BodyPartExamined (often miscoded).DiagnosticReport, HL7 v2 ORU^R01, or hanging-protocol modification?ImagingStudy, DiagnosticReport, Observation, RiskAssessmentWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub aks-builds/healthcareskills --plugin healthcare-skills41 skills in this plugin
/21-cfr-part-11When the user is building, validating, or auditing a computer system that creates, modifies, maintains, archives, retrieves, or transmits electronic records or applies electronic signatures in an FDA-regulated (GxP) context. Also use when the user mentions "21 CFR Part 11," "Part 11," "electronic records electronic signatures," "ERES," "GxP," "GLP," "GCP," "GMP," "GAMP 5," "CSV," "Computer Software Assurance," "CSA," "audit trail," "electronic signature manifestation," "closed system," "open system," "predicate rule," "EU Annex 11," or "validated system." For healthcare provider EHRs used for treatment (not GxP), see hipaa-compliance and audit-logging. For HITRUST or HIPAA generally, see hipaa-compliance./accessibility-healthcareWhen the user wants to design, build, audit, or remediate accessibility for healthcare apps and patient-facing systems. Also use when the user mentions "WCAG," "WCAG 2.2," "WCAG 3.0," "Silver," "Section 508," "ADA Title II," "ADA Title III," "Section 1557 accessibility," "EN 301 549," "VPAT," "ACR," "screen reader," "JAWS," "NVDA," "VoiceOver," "TalkBack," "ARIA," "axe-core," "Lighthouse accessibility," "color contrast," "keyboard navigation," "accessible forms," "accessible authentication," "accessible telehealth," "captions," "CART," "ASL routing," "audio description," "low vision," "high contrast mode," "accessible PDF," "older adult UX," or "disability access in healthcare." For plain language and reading level, see health-content-writing. For outreach orchestration, see patient-engagement.Other plugins' skills for the same job