Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

PyHealth clinical models

Builds and checks PyHealth machine learning pipelines on clinical data, avoiding data leakage and API traps.

Claude's review

8/10 Pins PyHealth 2.0.2 and lists real leakage and API traps with a smoke test.

We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.

In detail

Builds and validates PyHealth clinical machine-learning pipelines for EHR, signals, imaging, and medical codes. Use for PyHealth dataset loading, MIMIC-III/IV, eICU or OMOP prediction tasks, patient-level evaluation, mortality/readmission/length-of-stay modeling, medication recommendation, sleep staging, Trainer checkpoints, and ICD/ATC/NDC/RxNorm mapping.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: pyhealth
description: Builds and validates PyHealth clinical machine-learning pipelines for EHR, signals, imaging, and medical codes. Use for PyHealth dataset loading, MIMIC-III/IV, eICU or OMOP prediction tasks, patient-level evaluation, mortality/readmission/length-of-stay modeling, medication recommendation, sleep staging, Trainer checkpoints, and ICD/ATC/NDC/RxNorm mapping.
compatibility: Requires Python 3.12 or 3.13 and PyHealth 2.0.2 (Torch 2.7.1). Network access is needed for installation, public datasets and uncached medical-code resources. Restricted clinical datasets require authorized local access.
metadata:
  version: "1.3"
  skill-author: K-Dense Inc.
  last-reviewed: "2026-09-30"
---

# PyHealth

Targets **PyHealth 2.0.2**, verified against its released wheel, current official
documentation, and CPU execution on Python 3.12/Torch 2.7.1. PyHealth's pipeline is
`Dataset -> Task -> Model -> Trainer -> Metrics`; its 1.x and 2.x interfaces differ.
Do not combine legacy `Visit` examples with the 2.x event/processor API.

## When to use

Use for clinical prediction with PyHealth, including EHR sequences, physiological
signals, imaging tasks, or medical-code lookup. Establish the cohort, prediction
time, observation window, outcome horizon, and unit of evaluation before modeling.
For general tabular learning without a PyHealth dataset/task, this skill is optional.

## Install and smoke-test

```bash
uv run --no-project --isolated --python 3.12 --with pyhealth==2.0.2 python assets/starter_pipeline.py --demo --epochs 1
```

Run that command from the skill directory, or use the absolute path to the asset.
It trains on invented in-memory records and exercises patient splitting, metrics,
and best-checkpoint restoration. It provides no evidence of clinical performance.
See [installation](references/installation.md) for project setup and device options.

## Workflow

1. **Inspect the installed version and dataset configuration.** Both MIMIC-III and
   MIMIC-IV use lowercase table selectors in 2.0.2. MIMIC-III files remain uppercase.
2. **Check task semantics and required tables.** `MortalityPredictionMIMIC3` predicts
...

From K-Dense-AI's repository, MIT licence.

Related skills

  • Checked

    Meal and grocery planner

    Turns headcount, diet needs, budget and time into a menu, a grocery list by store section and a prep timeline.

    by iflytek 5.5k
    7/101 credit
  • Checked

    Medical device software

    Works out the IEC 62304 class of medical device software and the documents, testing and security it needs.

    by alirezarezvani 31k
    8/101 credit
  • Checked

    Clinical text extraction

    Pulls diseases, drugs, anatomy and genes out of medical notes with OpenMed and saves them as JSON or CSV.

    by maziyarpanahi 5.9k
    7/101 credit
  • Checked

    Patient Explanation Helper

    Helps clinicians explain scans and diagnoses in plain words that ease fear without overpromising.

    by mohitagw15856 1.6k
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added