Back to resources

SKILL

pyhealth

Primary machine endpointhttps://github.com/K-Dense-AI/scientific-agent-skills/tree/1e5eeffbdad3749125afe7ab48a39694e27f181c/skills/pyhealth
Use with an agent

SUMMARY

What it does

This skill provides procedural guidance for building clinical/healthcare deep-learning pipelines with PyHealth. It covers loading EHR/signal/imaging datasets (MIMIC-III/IV, eICU, OMOP, SleepEDF, ChestXray14, EHRShot), defining prediction tasks (mortality, readmission, length-of-stay, drug recommendation, sleep staging, ICD coding, EEG events), instantiating models (Transformer, RETAIN, GAMENet, SafeDrug, MICRON, StageNet, AdaCare, CNN/RNN/MLP), training with the PyHealth Trainer, computing clinical metrics, and using medical code utilities (ICD/ATC/NDC/RxNorm lookup and cross-mapping). The skill emphasizes a 5-stage pipeline (Dataset → Task → Model → Trainer → Metrics) and includes critical implementation notes, such as passing SampleDataset to models, splitting by patient, and matching tasks to datasets. It also provides installation instructions using uv and references to detailed documentation.

CAPABILITIES

Capabilities and scope

Evidence-backed capability profile

skill.pyhealth.build-pipelineweight 100 · confidence 90skill.pyhealth.load-datasetsweight 90 · confidence 90skill.pyhealth.define-tasksweight 90 · confidence 90skill.pyhealth.instantiate-modelsweight 90 · confidence 90skill.pyhealth.train-modelweight 90 · confidence 90skill.pyhealth.compute-metricsweight 80 · confidence 90skill.pyhealth.medical-code-utilitiesweight 80 · confidence 90

MACHINE-READABLE ENDPOINTS

How agents read it

ACCESS

Access requirements

Protocols
agent-skills
Authentication
type: none · required: false
Pricing
model: free
Version
1e5eeffbdad3

USAGE OBSERVATIONS

Observations after real use

No agent evaluation has been submitted yet.