Agent skill · Data & Analytics

ehr-analysis

End-to-end EHR predictive modeling pipeline with PyHealth, covering dataset loading, task definition, model training, evaluation, calibration, and clinical interpretation.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill ehr-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 4
SKILL.md size: 9 KB
Bundled scripts: none
Path: skills/bioclaw_hub/ehr-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# EHR Analysis ## Version Compatibility Reference examples assume: - `pyhealth` 1.1.6+ (stable) or 2.0+ (latest, requires Python ≥ 3.12) - `torch` 2.0+ - `pandas` 2.0+ Verify the runtime first: - Python: `python -c "import pyhealth; print(pyhealth.__version__)"` - CLI: `pip show pyhealth` - If APIs differ between 1.x and 2.x, consult the installed docs and adapt the pattern accordingly. ## Overview Use this skill when the user needs to: - load and structure EHR data from MIMIC-III, MIMIC-IV, eICU, OMOP-CDM, or a custom dataset - define clinical prediction tasks such as mortality, readmission, length of stay, or drug recommendation - train and evaluate deep learning or ML models on patient visit sequences - apply medical code normalization, ontology mapping, or tokenization - calibrate model outputs or generate post-hoc interpretability artifacts ## When To Use This Skill - the data source is a structured EHR database or tabular patient record export - the task requires longitudinal patient visit sequences as model input - the user needs benchmark-compatible evaluation metrics for clinical AI - medical code systems (ICD, ATC, NDC, CPT, CCS) must be normalized or mapped before modeli

What's inside
Steps it walks through
  1. Version Compatibility
  2. Overview
  3. When To Use This Skill
  4. Quick Route
  5. Progressive Disclosure
  6. Default Rules
  7. Expected Inputs
  8. Expected Outputs
  9. Preferred Tools
  10. Starter Pattern
  11. Workflow
  12. 1. Validate dataset access and structure
  13. 2. Load data with pyhealth.datasets
  14. 3. Define the clinical task
Ships with 3 files
  • README.md
  • references/commands_and_thresholds.md
  • references/technical_reference.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the ehr-analysis skill do?

End-to-end EHR predictive modeling pipeline with PyHealth, covering dataset loading, task definition, model training, evaluation, calibration, and clinical interpretation.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill ehr-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going