/medimageinsight:ground-zeroshot - image_path: required file path or http(s) URL to the CXR image (PNG or JPEG)
- extra_labels: optional list of additional label strings to score alongside the default set
from medimageinsight
Classifies CXR findings via MI2 zero-shot classification and returns bucketed probabilities for report writing.
Ships in medimageinsight. 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.
None: SKILL.md is the whole skill.
Calls the MI2 zero-shot classifier and returns bucketed per-finding probabilities. Does not write a report — the agent produces the report using the write-report skill after grounding.
mcp_medimageinsig_zeroshot_classify call per image.Resolve the image. If image_path is an http(s) URL, pass it through to the tool unchanged — do NOT download it, curl it, or turn it into a local file; the MCP server fetches URLs itself. Otherwise it is a local path: the MCP tool runs in a different working directory, so if it is not absolute, resolve it via realpath; if it can't be resolved, ask the user.
Assemble the label list. Read the canonical label list from below and use those strings verbatim. Append any caller-provided extra_labels.
Call the classifier. Call mcp_medimageinsig_zeroshot_classify with file_path = absolute path and labels = assembled list. One call per image.
Bucket the scores. Use these cutoffs:
Return the findings. Return the positive and possible labels with their raw scores. Do not write a report. The agent decides what to do next.
Pass these strings as the labels argument to zeroshot_classify.
Format is "<modality> <body_part> <view> <condition>" — MI2 is sensitive to
this structure, do not reword.
x-ray chest anteroposterior Atelectasis
x-ray chest anteroposterior Cardiomegaly
x-ray chest anteroposterior Consolidation
x-ray chest anteroposterior Edema
x-ray chest anteroposterior Effusion
x-ray chest anteroposterior Emphysema
x-ray chest anteroposterior Fibrosis
x-ray chest anteroposterior Hernia
x-ray chest anteroposterior Infiltration
x-ray chest anteroposterior Mass
x-ray chest anteroposterior Nodule
x-ray chest anteroposterior Pleural_Thickening
x-ray chest anteroposterior Pneumonia
x-ray chest anteroposterior Pneumothorax
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
grounding, zero-shot, chest-xray, medical-imaging, classification
npx claudepluginhub microsoft/healthcareai-examples --plugin medimageinsight4 skills in this plugin
/ground-adapterGround CXR findings using the trained MI2 adapter. Returns per-finding positive/possible/negative calls for the agent to use when writing the report./helpEntry point for the MedImageInsight plugin, covering the getting-started walkthrough, how the skills work, what MI2 is, and troubleshooting./write-reportRead a chest X-ray end-to-end: ground findings with MedImageInsight, then write a structured radiologist report (Indication, Technique, Findings, Impression). Invoke for any "write/draft a CXR report" request.Other plugins' skills for the same job