Clinical deep-learning pipeline builder for PyHealth covering datasets, tasks, models, training, metrics, and medical codes.
- CCM score
- 73 of 100
- skills.sh installs
- 2.2K
- GitHub stars
- 58.9K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full PyHealth flow: dataset loading, task definition, model choice, Trainer use, and clinical metric evaluation
- Includes MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, and EHRShot datasets plus mortality, readmission, drug recommendation, and sleep staging tasks
- Enforces patient-level splitting, train-only preprocessing, and checks that the Trainer monitor key is returned by the metrics
- Provides ICD, ATC, NDC, and RxNorm lookup and cross-mapping for healthcare ML pipelines built on PyHealth 2.0.2
Install
$ npx -y skills add k-dense-ai/scientific-agent-skills --skill pyhealth -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
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
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 for project setup and device options.
Workflow
Details
- Repository
- github.com/k-dense-ai/scientific-agent-skills
- Categories
- Data Science & Analytics, Research & Academic
- First seen
- Jun 3, 2026
Questions
What does the pyhealth skill help an agent build?
The pyhealth skill guides building clinical and healthcare deep-learning pipelines with PyHealth, following the dataset, task, model, trainer and metrics pattern. It covers loading EHR, signal and imaging datasets such as MIMIC-III, MIMIC-IV, eICU and OMOP, and defining tasks like mortality, readmission and sleep staging.
How do I install the pyhealth skill?
Run npx -y skills add k-dense-ai/scientific-agent-skills --skill pyhealth -y in a project to install the pyhealth skill. Once installed, the pyhealth skill lets the agent work with PyHealth 2.0.2 pipelines and medical code lookup.
What does the pyhealth skill need to run?
The pyhealth skill targets Python 3.12 or 3.13 with PyHealth 2.0.2 and Torch 2.7.1. Network access is needed for installation, public datasets and medical-code resources, and restricted clinical datasets require authorized local access.
Where does the pyhealth skill stand in its category?
The pyhealth skill is listed in Data Science & Analytics. Its nearby skills in that category are azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation.
More from k-dense-ai/scientific-agent-skills
All 132- Neurokit22.2K
- Medchem2.2K
- Dhdna Profiler2.2K
- Molfeat2.2K
- Diffdock2.2K
- Pysam2.2K
- Depmap2.2K
- Cirq2.2K
- Cobrapy2.2K
- Pathml2.2K
- Treatment Plans2.2K
- Etetoolkit2.2K
- Pennylane2.2K
- Flowio2.2K
- Geniml2.2K
- Labarchive Integration2.2K
- Phylogenetics2.2K
- Pytdc2.2K
- Lamindb2.2K
- Scvelo2.2K
- Usfiscaldata2.2K
- Matchms2.2K
- Qiskit2.2K
- Polars Bio2.2K
Similar to Pyhealth
More Data Science & AnalyticspytdcSkillk-dense-ai/scientific-agent-skills2.2K installsPython package for Therapeutics Data Commons that loads approved datasets, task-aware splits, evaluators, and benchmarks.
pytorch-lightningSkillk-dense-ai/scientific-agent-skills2.4K installsDeep learning framework that organizes PyTorch code into LightningModules and scales training across devices.
medsci-modelingPluginAperivue/medsci-skills402 starsClinical AI model research engineering: choose a paper-grounded architecture, scaffold a reproducible PyTorch training repo, validate the model's split and vali
data-designerSkillnvidia/skills2.7K installsGuided synthetic dataset builder for the Data Designer library, with interactive and autopilot modes.
digital-health-clinical-asr-buildSkillnvidia/skills1.9K installsStage 2 of a clinical ASR benchmark: curate terms, tag IPA pronunciations, and synthesize a NeMo manifest.
Heor AgentMCP serverneptun200011 starsStructured literature, economic, and regulatory HEOR tools for evidence review, modelling, and HTA dossier drafting.