Skip to content
Agentmart
Submit a tool

medical-data-tools

Medical data workflow guide for DICOM metadata inspection and basic de-identification, physiological signal analysis with NeuroKit2, and cohort-table…

Skill by DrugClaw

IndexedApache-2.0★ 87
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/drugclaw-medical-data-tools

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Medical data workflow guide for DICOM metadata inspection and basic de-identification, physiological signal analysis with NeuroKit2, and cohort-table profiling for clinical research datasets. Use when the user asks to inspect imaging metadata, summarize ECG/PPG/EDA/RSP/EMG signals, or profile tabular medical datasets without making patient-specific diagnoses or treatment decisions.

Use cases: data, research, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/medical-data-tools

What's inside

Skill name
medical-data-tools
Description
Medical data workflow guide for DICOM metadata inspection and basic de-identification, physiological signal analysis with NeuroKit2, and cohort-table profiling for clinical research datasets. Use when the user asks to inspect imaging metadata, summarize ECG/PPG/EDA/RSP/EMG signals, or profile tabular medical datasets without making patient-specific diagnoses or treatment decisions.
License
Apache-2.0
Instructions
149 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (4)

  • SKILL.md
  • clinical_cohort_profile.py · templates/
  • dicom_inspect.py · templates/
  • neuro_signal_analyze.py · templates/

SKILL.md (first lines)

# Medical Data Tools

Use this skill when the user asks to inspect medical imaging files, biosignal recordings, or cohort tables for research, QA, or data-engineering work.

Typical triggers:
- inspect DICOM files, modality mix, study or series structure, metadata completeness
- write basic de-identified DICOM copies for downstream research workflows
- analyze ECG, PPG, EDA, RSP, or EMG tables with NeuroKit2
- summarize clinical cohort tables exported from EHR, OMOP, FHIR, registry, or claims workflows
- profile labels, codes, visits, time ranges, or subgroup balance before modeling

## Environment Check

```bash
which python3 || true
python3 - <<'PY'
mods = ["pandas", "numpy", "pydicom", "neurokit2"]
for name in mods:
    try:
        __import__(name)
        print(f"{name}: ok")
    except Exception as exc:
        print(f"{name}: missing ({exc})")
PY
```

If `pydicom` or `neurokit2` is missing, say so immediately instead of pretending the analysis ran.

## Bundled Assets

- `templates/dicom_inspect.py`
- `templates/neuro_signal_analyze.py`
- `templates/clinical_cohort_profile.py`

## Preferred Workflow

1. Identify the input surface first: DICOM file tree, CSV or TSV signal table, or cohort table.
2. Run the smallest deterministic template before any broader interpretation.
3. Save both the machine-readable output and the summary JSON.
4. Report missing columns, unreadable files, or module gaps explicitly.
5. Treat all outputs as research or operations artifacts, not clinical decisions.

## DICOM

Use `templates/dicom_inspect.py` for:
- modality or study inventory
- metadata QA
- study/series counts
- basic research-oriented de-identification copies

Quick start:

```bash
python3 templates/dicom_inspect.py imaging/ct_series \
  --recursive \
  --output medical/dicom_inventory.csv \
  --summary medical/dicom_inventory.json
```

Basic de-identification example:

```bash
python3 templates/dicom_inspect.py imaging/mri_case \
  --recursive \
  --deidentify-dir medical/dicom_deidentified \
  --output medical/dicom_case.csv \
  --summary medical/dicom_case.json
```

Deliverables:
- per-file metadata CSV
- summary JSON with modality counts and study/series counts
- optional de-identified DICOM copies

State clearly that the built-in de-identification is basic tag scrubbing, not a validated anonymization pipeline.

## Biosignals

Use `templates/neuro_signal_analyze.py` for:
- ECG feature extraction and quality-aware summaries
- PPG, EDA, RSP, or EMG preprocessing and interval features
- quick physiology feature generation for downstream research models

Example:

```bash
python3 templates/neuro_signal_analyze.py \
  --input signals/ecg.csv \
  --signal-column ecg \
  --signal-type ecg \
  --sampling-rate 250 \
  --signals-output medical/ecg_processed.csv \
  --output medical/ecg_features.csv \
  --summary medical/ecg_features.json
```

Deliverables:
- one-row feature CSV
- optional processed signal CSV
- summary JSON with duration and processing metadata

Do not overstate these outputs. They are research features, signal summaries, and QA signals, not diagnoses.

## Cohort Tables

Use `templates/clinical_cohort_profile.py` for:
- patient and visit counts
- label balance checks
- code distribution checks
- subgroup balance before survival, prediction, or trial-emulation work

Example:

```bash
python3 templates/clinical_cohort_profile.py \
  --input cohorts/nsclc_registry.csv \
  --patient-id-column patient_id \
  --visit-id-column visit_id \
  --time-column encounter_time \

From DrugClaw/DrugClaw, Apache-2.0.

More from DrugClaw/DrugClaw

Signals

Stars
87
Forks
8
Open issues
1
Last commit (this folder)
Mar 11, 2026 (7 months ago)
Last release
Mar 13, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from DrugClaw

Cite this page

medical-data-tools skill. Agent Mart. https://agentmart.dev/skills/drugclaw-medical-data-tools (last updated 2026-10-24)