Skip to content
Skills Library
Medicine & health · Analysis

ground-adapter

/ground-adapter

Ground CXR findings using the trained MI2 adapter. Returns per-finding positive/possible/negative calls for the agent to use when writing the report.

Licence
MIT
Last repository change
01.10.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 01.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Ground CXR findings using the trained MI2 adapter. Returns per-finding positive/possible/negative calls for the agent to use when writing the report.

Arguments

/ground-adapter |
Original author description

Ground CXR findings using the trained MI2 adapter. Returns per-finding positive/possible/negative calls for the agent to use when writing the report.

How it works

  1. Budget
  2. How to use
Original SKILL.md headings · 20 lines, 205 words
SKILL.md preview
---
name: ground-adapter
description: Ground CXR findings using the trained MI2 adapter. Returns per-finding positive/possible/negative calls for the agent to use when writing the report.
argument-hint: |
  - image_path: required file path or http(s) URL to the CXR image (PNG or JPEG)
  - head: optional adapter head — "mlp" (default) or "svm"
---

# ground-adapter

Calls the trained MI2 adapter and returns per-finding positive/possible/negative calls. Does not write a report — the agent produces the report using the `write-report` skill after grounding.

## Budget

- Tool calls: 1 — exactly one `mcp_medimageinsig_adapter_classify` call per image.
- Do not retry on success.

## How to use

1. **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.

2. **Call the adapter.** Call `mcp_medimageinsig_adapter_classify` with `file_path` = absolute path and `head` = the caller's value if provided (otherwise omit; defaults to `mlp`). One call per image.

3. **Read the results.** The adapter returns `{label: "positive" | "possible" | "negative"}`, already bucketed using per-class operating points fit during training (Youden-J for rule-in, sens90 for rule-out). No further thresholding.

4. **Return the findings.** Return the positive and possible labels. Omit negatives. Do not write a report. The agent decides what to do next.

Versions

The database has no other skills named ground-adapter.

Database snapshot: 13.11.2026 · package version 278c6ab3ed3e (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100ground-zeroshot
    Ground CXR findings using MI2 zero-shot classification. Returns per-finding probabilities bucketed into positive/possible for the agent to use when writing the report.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.