pyhealth SKILL.md skillA

pyhealth from k-dense-ai/scientific-agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add k-dense-ai/scientific-agent-skills/pyhealth@v1.3

Pins v1.3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
k-dense-ai/scientific-agent-skills
Path
skills/pyhealth/SKILL.md
Versions recorded
5
Latest version
v1.3, committed Oct 1, 2026
First version recorded
Jun 11, 2026
Size
8,227 bytes
Repository stars
53,159
License
MIT

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.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 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
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add k-dense-ai/scientific-agent-skills/pyhealth@sha256:ec4de54618b71a4f

The line at the top of this page pins the label v1.3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_uuwac4thav3fiaec.svg)](https://markdownregistry.com/a/art_uuwac4thav3fiaec)

4 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Jun 11, 2026 and Oct 1, 2026, about one every 28 days.

versioncommittedcommitsizeaudit
v1.3 latest2026-10-01 a92663a 8,227 BA view · diff
v1.22026-09-30 ce9e6e9 8,977 BA view · diff
v1.12026-09-02 1e5eeff 8,335 BA view · diff
v1.02026-07-26 b085e11 7,377 BA view · diff
git:20260611.1b8fae32026-06-11 1b8fae3 7,382 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (8227 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

k-dense-ai/scientific-agent-skills · 53,159 stars · license MIT · pushed 2026-10-19 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_uuwac4thav3fiaec
GET https://markdownregistry.com/api/v1/resolve?ref=k-dense-ai/scientific-agent-skills/pyhealth
GET https://markdownregistry.com/api/v1/blob/ec4de54618b71a4f8cfeb086d131c610127784a6839d842a67b3c1e87b66e161

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from k-dense-ai/scientific-agent-skills

AGENTS.md AGENTS.md file
k-dense-ai/scientific-agent-skills · AGENTS.md
git:20261001.f7a50ed · audit A · 53,159 stars
13c-metabolic-flux SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/13c-metabolic-flux/SKILL.md · Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom…
v1.2 · audit A · 53,159 stars
adaptyv SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/adaptyv/SKILL.md · Uses the Adaptyv Bio Foundry API and Python SDK to design protein characterization experiments, estimate costs, submit…
v1.5 · audit A · 53,159 stars
aeon SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/aeon/SKILL.md · This skill should be used for time series machine learning tasks including classification, regression, clustering…
v1.3 · audit A · 53,159 stars
alphagenome SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/alphagenome/SKILL.md · Looks up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18…
v1.2 · audit A · 53,159 stars
analytical-method-validation SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/analytical-method-validation/SKILL.md · Plans, executes, and documents validation, verification, and transfer of analytical procedures under the governing…
v2.0 · audit A · 53,159 stars
anndata SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/anndata/SKILL.md · Handles annotated matrices in single-cell analysis, .h5ad and Zarr files, and integration with the scverse ecosystem…
v1.4 · audit A · 53,159 stars
arbor SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/arbor/SKILL.md · Applies Arbor Hypothesis Tree Refinement to research artifacts with repeatable evaluators, including model training…
v1.6 · audit A · 53,159 stars
arboreto SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/arboreto/SKILL.md · Infers candidate gene regulatory networks from bulk or single-cell expression data using AertsLab Arboreto GRNBoost2…
v1.3 · audit A · 53,159 stars
astropy SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/astropy/SKILL.md · Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities…
v1.5 · audit A · 53,159 stars
autoskill SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/autoskill/SKILL.md · Analyzes user-requested Screenpipe history windows to detect repeated research workflows, match existing scientific…
v1.6 · audit A · 53,159 stars
benchling-integration SKILL.md skill
k-dense-ai/scientific-agent-skills · skills/benchling-integration/SKILL.md · Benchling Python SDK and REST API integration for registry entities, inventory, ELN entries, workflows, Benchling Apps…
v1.7 · audit A · 53,159 stars

Every file in k-dense-ai/scientific-agent-skills

Other files named pyhealth

pyhealth SKILL.md skill
jaechang-hits/sciagent-skills · skills/scientific-computing/pyhealth/SKILL.md · Python library for healthcare ML on EHR data: process MIMIC-III/IV, eICU, OMOP-CDM; encode medical codes (ICD, ATC…
git:20260528.a0c28a2 · audit A · 381 stars

Browse by kind, by grade A, or by owner.