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.
npx skills add Aperivue/medsci-skills --skill imaging-datagit clone --depth 1 https://github.com/Aperivue/medsci-skillsWrote 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.
[](https://agentmods.dev/skills/aperivue/medsci-skills/imaging-data)<a href="https://agentmods.dev/skills/aperivue/medsci-skills/imaging-data"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/imaging-data/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.
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/imaging-data"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/imaging-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00054 | $0.02934 |
| Opus 5.5 | $0.00022 | $0.01174 |
| Sonnet 5.5 | $0.00011 | $0.00587 |
| Haiku 4.5 | $0.00005 | $0.00293 |
Grade A, and why
imaging-data 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 13d 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.
How it starts
The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Imaging-Data Skill
The dataset decides more of a study than the architecture does, and it decides it first. Phases 1–3
establish what the data is and what it will not support, while that is still cheap; Phases 4–7 design
and audit the preparation pipeline so it is leakage-safe before /model-scaffold builds the repo.
Describe-and-audit only: never modify, resample, reorient, split or write image data, never run
preprocessing on real patient data, and wire MONAI / TorchIO transforms by reference rather than
writing a new normalisation or resampling implementation.
Elsewhere: tabular/clinical variables → /generate-codebook, /clean-data; auditing the split
table, held-out metrics, calibration, subgroup results → /model-assessment; choosing an
architecture → /model-selection; building the repo → /model-scaffold.
Workflow
Phase 1 — Profile every case
python3 ${CLAUDE_SKILL_DIR}/scripts/profile_imaging_dataset.py \
--split train:imagesTr:labelsTr \
--split test:imagesTs \
--dataset "MSD Task09 Spleen" \
--declared-labels 0=background,1=spleen \
--target-label 1 \
--plan resample=true,reorient=false,loss=dice_ce,metrics=dice+hd95 \
--out eda/profile.json
One record per case: grid, spacing, orientation, intensity percentiles, the label values actually
present, foreground fraction, and target volume in mL. A --split given no label directory is
recorded as unlabelled — itself a finding. Requires nibabel + numpy; the gate does not.
Every profile figure comes from opening the files — never from a dataset's README, a similar dataset,
or memory. A README can be wrong about its own label indices; the labels cannot.
--target-label on a multi-structure atlas. Foreground defaults to every non-zero index — the
whole annotated anatomy. Measured on the AMOS22 CT cases, that pools to 3.2 % instead of the spleen's 0.20 %, so the
pooled figure sits above the 1 % imbalance threshold while the target sits far below it and the
imbalance verdicts go quiet exactly where the risk is. Naming the target also makes LABEL_EMPTY mean
this case has no spleen. Pass --target-label all for a genuinely multi-class study; leave it out
on a multi-structure atlas and the gate raises TARGET_LABEL_UNDECLARED.
What ships with it
27 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/preprocessing_guide.md 5.0 KB
- scripts/check_dataset_profile_challenge/expected/clean.txt 357 B
- scripts/check_dataset_profile_challenge/expected/defect.txt 1.6 KB
- scripts/check_dataset_profile_challenge/fixture/profile_clean.json 2.8 KB
- scripts/check_dataset_profile_challenge/fixture/profile_defect.json 4.4 KB
- scripts/check_dataset_profile_challenge/problem.md 1.4 KB
- scripts/check_dataset_profile_challenge/verify.sh 2.4 KB runs code
- scripts/check_dataset_profile.py 17 KB runs code
- scripts/check_normalizer_domain_challenge/expected/arbitrary_mismatch.txt 825 B
- scripts/check_normalizer_domain_challenge/expected/hu_clean.txt 358 B
- scripts/check_normalizer_domain_challenge/fixture/plan_ct.json 486 B
- scripts/check_normalizer_domain_challenge/fixture/profile_arbitrary.json 4.4 KB
- scripts/check_normalizer_domain_challenge/fixture/profile_hu.json 2.7 KB
- scripts/check_normalizer_domain_challenge/problem.md 2.3 KB
- scripts/check_normalizer_domain_challenge/verify.sh 3.0 KB runs code
- scripts/check_normalizer_domain.py 10 KB runs code
- scripts/check_preprocessing_leakage_challenge/expected/clean.txt 364 B
- scripts/check_preprocessing_leakage_challenge/expected/leak.txt 1.0 KB
- scripts/check_preprocessing_leakage_challenge/fixture/manifest_clean.json 800 B
- scripts/check_preprocessing_leakage_challenge/fixture/manifest_leak.json 881 B
- scripts/check_preprocessing_leakage_challenge/problem.md 903 B
- scripts/check_preprocessing_leakage_challenge/verify.sh 2.1 KB runs code
- scripts/check_preprocessing_leakage.py 17 KB runs code
- scripts/profile_imaging_dataset.py 7.1 KB runs code
- skill.yml 6.1 KB
- tests/test_dataset_profile.sh 9.4 KB runs code
- tests/test_preprocessing_leakage.sh 10 KB runs code
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.
- 13d ago Changed · +6 lines e4e483d62c92
- 2mo ago Changed · +4 lines d24f5a930169
- 2mo ago Changed · +2 lines 8d7328f9e938
- 2mo ago First seen · 166 lines · 54 tokens per session scan A 75717774eb8f
imaging-data is a skill published in the GitHub repository Aperivue/medsci-skills (418 stars, last pushed 4d ago), licensed MIT. It adds 54 tokens to every session and 2,934 once invoked, about $0.0002 per session on Opus 5.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-10-01.
imaging-data compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| imaging-dataAperivue/medsci-skills | Skill | 418 | 4d ago | MIT | A | 54 | Claude Code |
| genomic-intelligenceK-Dense-AI/scientific-agent-skills | Skill | 60k | 4d ago | MIT | A | 151 | Claude Code, Codex |
| torch-geometricK-Dense-AI/scientific-agent-skills | Skill | 60k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| bulk-rnaseqK-Dense-AI/scientific-agent-skills | Skill | 60k | 4d ago | MIT | A | 111 | Claude Code, Codex |
| waypoint-bioK-Dense-AI/scientific-agent-skills | Skill | 60k | 4d ago | MIT | A | 129 | Claude Code, Codex |
| aeonK-Dense-AI/scientific-agent-skills | Skill | 60k | 4d ago | MIT | A | 74 | Claude Code |
| bidsK-Dense-AI/scientific-agent-skills | Skill | 60k | 4d ago | MIT | A | 84 | Claude Code, Codex |