Skip to content
Back to skills

Clinical Tasks

ASecurity

"Guides PyHealth task selection, task-to-dataset attachment,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
businessapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill clinical-tasks --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clinical Tasks?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clinical Tasks
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-clinical-tasks/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-clinical-tasks)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: clinical-tasks
description: "Guides PyHealth task selection, task-to-dataset attachment,
  clinical label and feature contracts, patient-safe sample splits, and bounded
  custom task definitions."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# PyHealth clinical tasks

Use this route when the user asks for mortality, readmission, length-of-stay,
drug recommendation, coding, survival, de-identification, EEG/CXR/variant,
patient-linkage, or another task-specific sample pipeline.

## Workflow

1. Identify the source dataset and task family; read [task catalog](references/task-catalog.md)
   for current public exports and data prerequisites.
2. Construct the dataset in [data-pipelines](../data-pipelines/SKILL.md), then
   instantiate the task and call `dataset.set_task(task)`.
3. Inspect one task sample: identity fields, feature keys, labels/targets,
   dtypes, and processor aliases. Use `scripts/validate_task_samples.py` for a
   local JSON contract before invoking a model.
4. Split by patient and route model/vocabulary compatibility to
   [models-training](../models-training/SKILL.md). Route metric semantics to
   [evaluation-interpretability](../evaluation-interpretability/SKILL.md).
5. For a new task, subclass `BaseTask`, define `task_name`, `input_schema`,
   `output_schema`, and `__call__(patient)`, and optionally implement
   `pre_filter` or pass code mappings. Test on synthetic patients first.

Credentialed MIMIC/eICU/OMOP/PhysioNet/MEDS data and long benchmark examples
are not package-import tests. Preserve access and schema gates explicitly.
Read [workflows](references/workflows.md), [API details](references/api-reference.md),
and [troubleshooting](references/troubleshooting.md).

Files in this skill

  • SKILL.md1.7 KB
  • references/api-reference.md1.4 KB
  • references/task-catalog.md1.3 KB
  • references/troubleshooting.md1.5 KB
  • references/workflows.md1.6 KB
  • scripts/validate_task_samples.py1.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.