medical-imaging-guide

medical-imaging-guide is a skill for Claude Code, Codex from wentorai/research-plugins. It costs 14 tokens per session (2,561 once invoked), scanned A, original, MIT.

A guide to using deep-learning models on medical images such as X-rays, CT scans, and MRI scans for research. It covers preparing images, choosing models, and measuring classification or segmentation results.

In plain words
What is it for?
Use it to plan image preprocessing, transfer learning, data augmentation, image classification, organ or lesion segmentation, and research validation.
Why use it?
It helps researchers account for medical-image formats, small datasets, evaluation measures, and ethical or regulatory concerns when building experiments.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to plan image preprocessing, transfer learning, data augmentation, image classification, organ or lesion segmentation, and research validation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wentorai/research-plugins/medical-imaging-guide
Install

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.

Any agent
npx skills add wentorai/research-plugins --skill medical-imaging-guide
Clone the repo
git clone --depth 1 https://github.com/wentorai/research-plugins

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for medical-imaging-guide

README.md
[![agentmods](https://agentmods.dev/badge/skills/wentorai/research-plugins/medical-imaging-guide/github.svg)](https://agentmods.dev/skills/wentorai/research-plugins/medical-imaging-guide)
Your own site
<a href="https://agentmods.dev/skills/wentorai/research-plugins/medical-imaging-guide"><img src="https://agentmods.dev/badge/skills/wentorai/research-plugins/medical-imaging-guide/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.

agentmods 80×15 button for medical-imaging-guide

Your own site · 80×15
<a href="https://agentmods.dev/skills/wentorai/research-plugins/medical-imaging-guide"><img src="https://agentmods.dev/badge/skills/wentorai/research-plugins/medical-imaging-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,561 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00014 $0.02561
Opus 5 $0.00007 $0.01281
Sonnet 5 $0.00003 $0.00512
Haiku 4.5 $0.00001 $0.00256

Measured 7d ago against content hash 43c985d80dc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

medical-imaging-guide 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 7d 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.

skills/domains/biomedical/medical-imaging-guide/SKILL.md · 306 lines

How it starts

The opening of the file, as written. The whole thing — 306 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Medical Imaging Guide

A skill for applying deep learning to medical image analysis in research settings. Covers common imaging modalities, preprocessing pipelines, architecture selection for classification and segmentation tasks, handling small datasets with transfer learning and data augmentation, evaluation metrics specific to medical imaging, and regulatory and ethical considerations for clinical translation.

Imaging Modalities and Data Characteristics

Common Modalities in Research

Modality Overview:

X-ray / Radiography:
  - 2D grayscale images
  - Resolution: typically 2000x2000 to 4000x4000 pixels
  - Format: DICOM (.dcm)
  - Common tasks: pneumonia detection, fracture detection,
    cardiomegaly screening
  - Dataset examples: CheXpert, MIMIC-CXR, NIH ChestX-ray14

CT (Computed Tomography):
  - 3D volumetric data (stack of 2D slices)
  - Resolution: 512x512 per slice, 50-500+ slices
  - Format: DICOM series, NIfTI (.nii.gz)
  - Common tasks: lung nodule detection, organ segmentation,
    COVID-19 screening
  - Dataset examples: LUNA16, DeepLesion, TotalSegmentator

MRI (Magnetic Resonance Imaging):
  - 3D volumetric, multiple sequences (T1, T2, FLAIR, DWI)
  - Resolution: 256x256 to 512x512 per slice
  - Format: DICOM, NIfTI
  - Common tasks: brain tumor segmentation, cardiac analysis,
    knee injury classification
  - Dataset examples: BraTS, ACDC, fastMRI

Histopathology:
  - Whole slide images (WSI), extremely large
  - Resolution: 100,000x100,000+ pixels at highest magnification
  - Format: SVS, TIFF, NDPI (vendor-specific)
  - Common tasks: cancer grading, mitosis detection,
    tissue classification
  - Dataset examples: Camelyon16/17, TCGA, PANDA

Retinal Imaging (Fundoscopy / OCT):
  - 2D color fundus or 3D OCT volumes
  - Common tasks: diabetic retinopathy grading, glaucoma detection
  - Dataset examples: EyePACS, MESSIDOR, REFUGE

Preprocessing Pipeline

Standard Preprocessing Steps

import numpy as np

def preprocess_medical_image(image, modality="xray"):
    """
    Standard preprocessing pipeline for medical images.

    Steps vary by modality but typically include:
    1. Intensity normalization
    2. Resizing/resampling
    3. Windowing (for CT)
    4. Artifact removal
    """
    if modality == "ct":
        # CT windowing: map Hounsfield Units to display range
        # Lung window: center=-600, width=1500
        # Soft tissue: center=40, width=400
        window_center = -600
        window_width = 1500
        lower = window_center - window_width // 2
        upper = window_center + window_width // 2
        image = np.clip(image, lower, upper)
        image = (image - lower) / (upper - lower)

    elif modality == "xray":
        # Normalize to [0, 1] range
        image = image.astype(np.float32)
        image = (image - image.min()) / (image.max() - image.min() + 1e-8)

    elif modality == "mri":
        # Z-score normalization (per-volume)
        # Exclude background (zeros) from statistics
        mask = image > 0
        if mask.any():
            mean_val = image[mask].mean()
            std_val = image[mask].std()
            image = (image - mean_val) / (std_val + 1e-8)

    return image


def resize_with_spacing(image, original_spacing, target_spacing):
    """
    Resample 3D medical image to uniform voxel spacing.
    Essential for CT/MRI where slice thickness varies.

    Args:
        image: 3D numpy array
        original_spacing: (z, y, x) voxel sizes in mm
        target_spacing: desired (z, y, x) voxel sizes in mm
    """
    from scipy.ndimage import zoom

    resize_factor = [
        orig / target
        for orig, target in zip(original_spacing, target_spacing)
    ]
    resampled = zoom(image, resize_factor, order=1)
    return resampled

Read the full file on GitHub · 306 lines

Changes

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.

  1. 7d ago First seen · 306 lines · 14 tokens per session scan A 43c985d80dc8

Subscribe to this mod's changes

medical-imaging-guide is a skill published in the GitHub repository wentorai/research-plugins (291 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 2,561 once invoked, about $0.0001 per session on Opus 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-09-03.

Related

Other skills, from other repositories

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

K-Dense-AI/scientific-agent-skills · 66 tokens

pyhealth

Build clinical/healthcare deep-learning pipelines with PyHealth — loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer…

K-Dense-AI/scientific-agent-skills · 216 tokens

torchdrug

Build and troubleshoot TorchDrug 0.2.1 workflows for molecular graphs, property prediction, self-supervised pretraining, molecule generation, retrosynthesis, protein representation learning, and knowledge graph reasoning. Use when code imports torchdrug or needs its datasets, models, tasks, or Engine.

K-Dense-AI/scientific-agent-skills · 61 tokens

deepspot-m

Generate transcriptome-wide virtual spatial transcriptomics from H&E histology with DeepSpot-M. Use when you need spatial gene expression in log1p-CPM for 224x224 tiles at about 20x, want to query protein-coding genes by symbol instead of a fixed panel, or want to run prediction across a whole slide after tiling with…

K-Dense-AI/scientific-agent-skills · 80 tokens

nemo-mbridge-perf-expert-parallel-overlap

Validate and use MoE expert-parallel communication overlap in Megatron-Bridge, including overlapmoeexpertparallelcomm, delaywgradcompute, and flex dispatcher backends such as DeepEP and HybridEP.

NVIDIA/skills · 56 tokens

pick-a-pii-model

Select an on-device OpenMed PII model from the committed registry by language, runtime format, and size budget, then require recall validation before deployment. Use when an agent must choose a local PII detector for CPU, Apple Silicon, or a mobile export without relying on live model discovery.

maziyarpanahi/openmed · 64 tokens