CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pyhealth

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.

80

Quality

100%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

100%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a lean, dense, version-locked operational guide: an executable smoke test, a complete runnable prototype, a checkpointed 7-step workflow, and a clean reference table to real bundle files. It assumes Claude's ML competence and spends its tokens almost exclusively on PyHealth 2.0.2-specific behavior and scientific-validity warnings that Claude could not infer.

DimensionReasoningScore

Conciseness

Every section carries non-obvious, version-specific knowledge ("Transformer uses embedding_dim, not hidden_dim", "MIMIC-III files remain uppercase", "split_by_patient(...) is random, not chronological or stratified") with no padding explaining concepts Claude already knows. It assumes competence throughout, matching anchor 5 ("every token earns its place") rather than anchor 4, since even the prose passages are dense gotchas rather than over-explanation.

5 / 5

Actionability

The skill provides a copy-paste smoke-test command ("uv run --no-project --isolated --python 3.12 --with pyhealth==2.0.2 python assets/starter_pipeline.py --demo --epochs 1") and a fully executable MIMIC-III prototype with real imports, exact constructor signatures, and working arguments. Specific directives like `monitor_criterion="min"` for loss and `patient.get_events(event_type=..., filters=[(...)])` cover the common cases, matching anchor 5.

5 / 5

Workflow Clarity

The 7-step workflow is clearly sequenced with explicit validation checkpoints: inspect version and table configuration (1), audit task semantics before real data (2), inspect raw and processed task output (3), verify overlap/class counts/observation windows (4), run one batch before training (5), confirm the monitor is a returned key with the error behavior stated (6), and evaluate only once the model choice is fixed (7). Checkpoints are explicit and error behavior is anticipated, matching anchor 5 rather than anchor 4's "minor validation gaps".

5 / 5

Progressive Disclosure

The body is a well-organized overview with a "Reference files" table routing to six real one-level-deep files (installation, datasets, tasks, models, medcode, examples — all verified to exist with no further nesting) plus the starter asset. This matches anchor 5 (clear overview, well-signaled one-level-deep references, easy navigation); nothing that belongs in a reference is inlined.

5 / 5

Total

20

/

20

Passed

Description

100%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is a strong example: third-person "Builds and validates" states the what, an explicit "Use for ..." clause states the when, and the trigger list is dense with the exact library, dataset, and task names a user would naturally mention. No fluff, over-claims, or padding are present.

DimensionReasoningScore

Specificity

The description enumerates multiple concrete actions — "Builds and validates PyHealth clinical machine-learning pipelines", "dataset loading", "patient-level evaluation", "mortality/readmission/length-of-stay modeling", "medication recommendation", "sleep staging", "Trainer checkpoints", and "ICD/ATC/NDC/RxNorm mapping" — giving comprehensive, concrete coverage of the skill's capabilities rather than vague domain naming. It matches anchor 5 (multiple specific concrete actions, comprehensive) and is clearly above anchor 4's "minor gaps in coverage" since both pipeline building and validation across all four data modalities are named.

5 / 5

Completeness

It explicitly answers "what" ("Builds and validates PyHealth clinical machine-learning pipelines for EHR, signals, imaging, and medical codes") and "when" ("Use for PyHealth dataset loading, MIMIC-III/IV, eICU or OMOP prediction tasks, ...") with concrete trigger phrases. This matches anchor 5's clear-and-explicit both-what-and-when pattern; the 'Use for' clause prevents the missing-trigger cap at 3.

5 / 5

Trigger Term Quality

It packs in the exact natural terms a user would say: "PyHealth", "MIMIC-III/IV", "eICU", "OMOP", "mortality", "readmission", "length-of-stay", "medication recommendation", "sleep staging", "Trainer", and the medical-code vocabularies "ICD/ATC/NDC/RxNorm". Coverage includes dataset-family synonyms and task-level variants, matching anchor 5's comprehensive synonym coverage rather than anchor 4's "a few natural terms missing".

5 / 5

Distinctiveness Conflict Risk

The niche is unmistakable — every trigger is PyHealth-specific (library name, its dataset classes, its Trainer) — so it is unlikely to fire for generic ML or other clinical-data skills. It has the clear-niche, distinct-trigger profile of anchor 5 with minimal conflict risk.

5 / 5

Total

20

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

K-Dense-AI/scientific-agent-skills

Path

skills/pyhealth/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.