Clinical Trials Database
google-deepmind/science-skills
Query ClinicalTrials.gov via APIv2. An agent skill from google-deepmind/science-skills.
A skill your agent uses when preparing a medical-imaging dataset (DICOM/NIfTI) for modelling.
$ npx skills add Aperivue/medsci-skills --skill imaging-data -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Aperivue/medsci-skills imaging-data --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/imaging-data .claude/skills/imaging-data && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "imaging-data" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/imaging-data into .claude/skills/imaging-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imaging-data", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Aperivue/medsci-skills/tree/main/skills/imaging-dataType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Aperivue/medsci-skills --skill imaging-data -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Aperivue/medsci-skills imaging-data --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/imaging-data .agents/skills/imaging-data && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "imaging-data" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/imaging-data into .agents/skills/imaging-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imaging-data", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Aperivue/medsci-skills --skill imaging-data -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Aperivue/medsci-skills imaging-data --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/imaging-data .cursor/skills/imaging-data && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "imaging-data" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/imaging-data into .cursor/skills/imaging-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imaging-data", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Aperivue/medsci-skills.git --path skills/imaging-data--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Aperivue/medsci-skills --skill imaging-data -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Aperivue/medsci-skills imaging-data --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/imaging-data .gemini/skills/imaging-data && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "imaging-data" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/imaging-data into .gemini/skills/imaging-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imaging-data", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Aperivue/medsci-skills imaging-dataInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Aperivue/medsci-skills --skill imaging-data -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/imaging-data .github/skills/imaging-data && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "imaging-data" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/imaging-data into .github/skills/imaging-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imaging-data", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Aperivue/medsci-skills --skill imaging-data -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Aperivue/medsci-skills imaging-data --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Aperivue/medsci-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/imaging-data .opencode/skills/imaging-data && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "imaging-data" agent skill from https://github.com/Aperivue/medsci-skills/tree/main/skills/imaging-data into .opencode/skills/imaging-data/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "imaging-data", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
imaging-dataA skill your agent uses when preparing a medical-imaging dataset (DICOM/NIfTI) for modelling.
Imaging Data is an agent skill from Aperivue/medsci-skills. Use when preparing a medical-imaging dataset (DICOM/NIfTI) for modelling. Profiles spacing, orientation, intensity, label integrity, foreground fraction and target volume, gates them against the plan, then plans and audits preprocessing and augmentation for leakage.
Its SKILL.md is about 2.9k tokens, which your agent loads only when the skill is triggered. The skill folder holds 39 other files, including scripts and reference files (for example `references/preprocessing_guide.md`, `scripts/check_dataset_profile.py` and `scripts/check_dataset_profile_challenge/fixture/profile_clean.json`).
It sits in Research & Science, covering Clinical and healthcare research. The repository describes itself as: Agent Skills for medical research — literature search, reporting-guideline & citation checks, statistics, publication figures, submission. Works with Claude Code, Codex, Cursor &… The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3b14ae2. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 11 files in scripts/ (Python and Shell, from the files we listed), which the agent can run.
Shell commands in SKILL.md call:
bashpython3From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Imaging Data loads about 2.9k tokens when it runs, and up to ~4.2k if it reads all its reference files. Until then it costs about 70 tokens; SKILL.md has 1,190 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from Aperivue/medsci-skills at commit 3b14ae2, republished under its MIT licence (© Aperivue). 1,190 words, ~2,915 tokens.
.claude/skills/imaging-data/SKILL.md (or your agent's skills folder). This skill also uses 31 other files; get the full folder from GitHub.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.
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.jsonOne 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.
python3 ${CLAUDE_SKILL_DIR}/scripts/check_dataset_profile.py --profile eda/profile.json \
--out qc/dataset_profile.json --strictStdlib-only, so the audit re-runs anywhere the JSON travels. Never report a profile "pass" without running it.
| Verdict | Severity | Fires when |
|---|---|---|
LABEL_SHAPE_MISMATCH | Major | label grid ≠ image grid |
LABEL_EMPTY | Major | a labelled case has zero foreground |
LABEL_VALUE_UNEXPECTED | Major | label values outside the declared set |
TEST_SET_UNLABELLED | Major | a split named test/held-out/external/eval carries no labels |
ACCURACY_UNDER_IMBALANCE | Major | accuracy is planned while the target is a sliver of the volume |
LABEL_MISSING | Minor | a case in a labelled split has no label file |
SPACING_HETEROGENEOUS | Minor | spacing spans ≥ ratio on an axis and no resampling is declared |
ORIENTATION_MIXED | Minor | >1 orientation code and no reorientation declared |
INTENSITY_SCALE_INCONSISTENT | Minor | some cases on the HU scale, others not |
EXTREME_IMBALANCE | Minor | median foreground below the threshold with no Dice-family loss |
TARGET_LABEL_UNDECLARED | Minor | >1 structure declared, no target named, so foreground pools them all |
The gate flags an undeclared decision, not variability: 5× spacing spread and two orientation
codes pass once resampling and reorientation are declared (the clean challenge fixture proves this).
--spacing-ratio (default 2.0) and --imbalance-frac (default 0.01) are screening defaults, not
published cut-points — never present them as such; the values applied are printed in the output
and belong in the Methods. A split the profile shows unlabelled is never a held-out test set, however
the directory is named.
Write these decision notes into the study record, so /design-study, the preparation phases below,
and /write-paper inherit them instead of re-deriving them:
/model-assessment); accuracy is not on the list.Collect the modality, the data manifest (one row per image/slice with a patient_id), the resample
spacing, the intensity transform (fixed HU window vs a fitted z-score / min-max / histogram match),
and the augmentation plan. Read ${CLAUDE_SKILL_DIR}/references/preprocessing_guide.md for the
modality-aware normalisation, physiology-preserving vs -breaking augmentation, and MONAI / TorchIO wiring.
Write preprocessing_manifest.json, which /model-scaffold consumes and the gate checks. Every value
comes from the real data manifest and the declared pipeline — never invented patient IDs or split
assignments.
{
"split_seed": 42,
"transforms": [
{"name": "hu_window", "type": "clip", "fit_scope": "none", "stage": "before_split"},
{"name": "train_zscore", "type": "standardize", "fit_scope": "train", "stage": "after_split"},
{"name": "flip_rotate", "type": "augmentation", "stage": "after_split", "applies_to": ["train"]}
],
"split_assignment": [
{"patient_id": "P001", "unit_id": "P001_s1", "split": "train"}
]
}fit_scope: train (OK) · all/full/dataset/test (leak) · sample/per_image/none/fixed
(not data-fitted). stage: before_split / after_split. The fields must describe what the code
actually does — never tag a dataset-fitted transform per-sample to clear the gate; that hides the leak.
A declared dataset-level fit_scope is judged whatever the type is, so a library class name
(HistogramStandardization, NormalizeIntensityd) fit on all is a leak like standardize would be.
Declare the fit scope of resampling too. A target spacing chosen in advance is fit_scope: fixed
and never leaks. A target derived from the cohort does: nnU-Net sets its target spacing from a
percentile of the dataset fingerprint, so a resample fitted over every case carries held-out geometry
into the training grid exactly as an intensity statistic would. The fingerprint's scope decides which
you have, not the word "resample".
python3 ${CLAUDE_SKILL_DIR}/scripts/check_preprocessing_leakage.py --manifest preprocessing_manifest.json \
--out qc/preprocessing_leakage.json --strictVerdicts: PREPROCESS_BEFORE_SPLIT, NORMALIZATION_LEAKAGE, PATIENT_CROSS_SPLIT (Major);
AUGMENTATION_ON_EVAL, UNSPECIFIED_FIT_SCOPE, MISSING_SEED (Minor), reproduced by set arithmetic
and rule on the manifest. A green gate is the precondition for handing the manifest to
/model-scaffold; its split_assignment is the same patient-level split /model-assessment later
re-verifies. Never report a pass without running it.
Phase 6 asks whether a transform was fit on the right scope. Before running a trained model on a cohort it was not trained on, ask whether that cohort sits in the intensity domain the trained normaliser assumes:
python3 ${CLAUDE_SKILL_DIR}/scripts/check_normalizer_domain.py \
--profile eda/<cohort>_profile.json \
--contract work/nnUNet_results/.../plans.json \
--splits external_mri --out qc/normalizer_domain.json --strictIts challenge card holds a cohort in the contract's own domain that must come back clean, an arbitrary-unit cohort that must raise a Major, and an unreadable contract that must refuse rather than pass.
eda/profile.json (Phase 1), qc/dataset_profile.json (Phase 2), and the decision notes (Phase 3).preprocessing_manifest.json with the augmentation-appropriateness and normalisation fit-scope
notes (Phases 4–5), qc/preprocessing_leakage.json (Phase 6), qc/normalizer_domain.json (Phase 7).The manifest feeds /model-scaffold, which also reads the qc/ reports: keep them in qc/ beside
the manifest (or ../qc/), or pass them with --imaging-qc. An unresolved Major there refuses the
scaffold until it is fixed and re-gated or acknowledged with a stated reason (--ack-qc); Minor and
Flag claims are carried into the repo's IMAGING_QC.md, and a missing report is recorded as not
assessed. Re-run a gate after fixing its finding — a stale report still blocks. The manifest documents the CLAIM 2024 / TRIPOD+AI data-preprocessing items
for /check-reporting; /self-review's model_development probe looks for exactly this pipeline in a
finished manuscript. Regression: bash ${CLAUDE_SKILL_DIR}/scripts/check_dataset_profile_challenge/verify.sh,
bash ${CLAUDE_SKILL_DIR}/scripts/check_preprocessing_leakage_challenge/verify.sh,
bash ${CLAUDE_SKILL_DIR}/scripts/check_normalizer_domain_challenge/verify.sh,
bash ${CLAUDE_SKILL_DIR}/tests/test_dataset_profile.sh,
bash ${CLAUDE_SKILL_DIR}/tests/test_preprocessing_leakage.sh.
© Aperivue, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 31 other files (scripts, references) in skills/imaging-data of Aperivue/medsci-skills.
Open the folder on GitHubat commit 3b14ae2
Imaging Data next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Imaging Data this skillAperivue/medsci-skills | 331 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Clinical Trials Databasegoogle-deepmind/science-skills | 3.2k | 2 repos | ~3.2k | Automated safety check: Pass | Apache-2.0 | |
| CHARLS Paper Reproduction Guidexjtulyc/MedgeClaw | 617 | 1 repos | ~1.8k | Automated safety check: Pass | None | |
| Biomedical Analysis Dispatchxjtulyc/MedgeClaw | 617 | 1 repos | ~2k | Automated safety check: Pass | None | |
| Research Proposalluwill/research-skills | 858 | — | ~4.4k | Automated safety check: Notes | None | |
| Medical Imaging ReviewLeonChaoX/qinyan-academic-skills | 943 | 3 repos | ~1.1k | Automated safety check: Notes | MIT |
google-deepmind/science-skills
Query ClinicalTrials.gov via APIv2. An agent skill from google-deepmind/science-skills.
xjtulyc/MedgeClaw
Guides an agent through reproducing papers built on the CHARLS health and retirement survey, from variable mapping to cognition, depression and isolation scores.
xjtulyc/MedgeClaw
Routes bioinformatics, drug discovery, clinical and multi-omics tasks from a chat interface to Claude Code sessions running K-Dense scientific skills, with a live dashboard per task.
luwill/research-skills
A skill your agent uses when the user asks to write or draft a PhD / doctoral research proposal, research plan, 研究计划书, or 开题报告 — a forward-looking plan of background, gap, research questions…
LeonChaoX/qinyan-academic-skills
Write comprehensive literature reviews for medical imaging AI research.
lamm-mit/scienceclaw
Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.
Aperivue/medsci-skills
A skill your agent uses when turning a folder of research PDFs into Obsidian notes, even if Obsidian is not named.
Aperivue/medsci-skills
A skill your agent uses when a clinical CSV/Excel dataset needs profiling and cleaning before analysis (missing values, outliers, duplicates, type mismatches).
Aperivue/medsci-skills
A skill your agent uses when checking a radiology or medical AI study design before drafting or submission.
Aperivue/medsci-skills
A skill your agent uses when each author needs an ICMJE Conflict of Interest disclosure form (coidisclosure.docx) for submission.
Aperivue/medsci-skills
A skill your agent uses when an institutional Word form (.doc/.docx IRB protocol, ethics application, grant template) must be filled without breaking its styles, tables, fonts or page layout.
Aperivue/medsci-skills
A skill your agent uses when looking for research topics a longitudinal cohort database can answer (NHIS, UK Biobank, an institutional EMR or registry).
Categories
A skill your agent uses when preparing a medical-imaging dataset (DICOM/NIfTI) for modelling. Imaging Data is an agent skill from Aperivue/medsci-skills. Use when preparing a medical-imaging dataset (DICOM/NIfTI) for modelling.
Imaging Data fits situations like: preparing a medical-imaging dataset (DICOM/NIfTI) for modelling; tasks that involve Clinical and healthcare research.
Run `npx skills add Aperivue/medsci-skills --skill imaging-data -a claude-code`. Or copy the skill folder (skills/imaging-data in Aperivue/medsci-skills) into .claude/skills/imaging-data in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Aperivue/medsci-skills --skill imaging-data -a codex`. Or copy the skill folder (skills/imaging-data in Aperivue/medsci-skills) into .agents/skills/imaging-data in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Aperivue/medsci-skills --skill imaging-data -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/imaging-data, .gemini/skills/imaging-data, .github/skills/imaging-data and .opencode/skills/imaging-data in your project.
Going by SKILL.md and its folder, Imaging Data needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (bash and python3). Our summary lists: Python 3; A Bash shell.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Imaging Data is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.9k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.3k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Imaging Data: Clinical Trials Database (google-deepmind/science-skills, 3.2k stars), CHARLS Paper Reproduction Guide (xjtulyc/MedgeClaw, 617 stars), Biomedical Analysis Dispatch (xjtulyc/MedgeClaw, 617 stars) and Research Proposal (luwill/research-skills, 858 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Aperivue (a GitHub organization) maintains it in Aperivue/medsci-skills, which has 331 GitHub stars. The repository holds 54 skills in this directory. The repository was last updated on October 5, 2026.
Source: Aperivue/medsci-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.