Skip to main content
ClaudeWave
EN, English
Skill54.1k repo starsupdated 4d ago

clinical-decision-support

This Claude Code skill generates professional clinical decision support documents for pharmaceutical and clinical research settings, producing publication-ready LaTeX/PDF outputs. Use it to create patient cohort analyses with biomarker stratification and statistical comparisons, or treatment recommendation reports with GRADE evidence grading and clinical decision algorithms. It supports survival analysis, efficacy visualization, and regulatory-compliant evidence synthesis for drug development and guideline development, but not individual bedside treatment plans.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/K-Dense-AI/scientific-agent-skills /tmp/clinical-decision-support && cp -r /tmp/clinical-decision-support/skills/clinical-decision-support ~/.claude/skills/clinical-decision-support
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Clinical Decision-Support Research and Evaluation

## Hard Safety Boundary

This skill produces **research, evaluation, documentation, and governance artifacts only**.

Never use it to:

- diagnose or classify a person;
- recommend, select, sequence, start, stop, or modify treatment;
- calculate or communicate a patient-specific dose;
- triage, prioritize, alarm, alert, or determine urgency;
- make or automate a patient-specific clinical decision;
- support bedside, point-of-care, or live clinical operation;
- replace professional judgment or a validated, authorized clinical system;
- claim FDA authorization, regulatory conformity, HIPAA compliance, or legal compliance.

If a request could affect care for a person, stop the workflow and route the matter to a licensed healthcare professional using locally validated and appropriately authorized systems. Do not redirect to another skill for patient-specific care.

## In Scope

- Intended-use and limitation statements for research artifacts
- Aggregate cohort table shells with disclosure controls
- Statistical analysis plans and survival-analysis plan review
- Aggregate model or biomarker performance evaluation
- Transparent GRADE evidence-profile checklists
- Evidence-source and decision-logic traceability
- De-identification process checklists
- Fairness, subgroup, calibration, uncertainty, external-validation, monitoring, change-control, audit, and human-factors documentation

Outputs remain drafts until qualified humans approve them. Reporting guidance improves transparency; it does not establish study quality, clinical utility, safety, effectiveness, authorization, or compliance.

## Data Gate

Before any script:

1. Confirm input is synthetic or aggregate.
2. Reject patient rows, records, narratives, identifiers, free text, dates tied to people, images, waveforms, or genomic sequences.
3. Keep source files local. Do not fetch URLs, call APIs, read environment variables, or send data to a model.
4. Set disclosure thresholds before producing tables.
5. Record provenance, data cut date, population, exclusions, missingness, and transformations.

The scripts cap file size, groups, rows, and text length. They reject URL-like paths and common row-level keys. These controls reduce accidental misuse; they are not a privacy determination.

## Required Artifact Header

Every artifact must visibly include:

- `artifact_type`, title, version, status, owner, date, and change summary;
- intended purpose, intended users, aggregate population scope, and decision role;
- all prohibited uses from the hard boundary;
- data level and confirmation that no PHI or raw rows were supplied;
- limitations, uncertainty, and foreseeable failure modes;
- external-validation and subgroup applicability status;
- human-review roles, completion status, and approval boundary;
- source citations with versions or dates;
- monitoring, change-control, retirement, and audit expectations;
- the statement: **Not for patient care or live clinical use.**

Start from `assets/artifact_intended_use_template.json`.

## Workflow

### 1. Frame the Research Question

- Define the estimand or evaluation target before viewing results.
- Distinguish descriptive, prognostic, predictive, diagnostic-accuracy, and causal questions.
- Pre-specify outcomes, time origin, horizon, subgroups, cut points, missing-data handling, multiplicity, and sensitivity analyses.
- Separate exploratory findings from confirmatory analyses.

### 2. Select the Artifact

| Need | Asset | Script |
|---|---|---|
| Intended-use/governance review | `assets/artifact_intended_use_template.json` | `scripts/validate_cds_artifact.py` |
| GRADE evidence profile | `assets/evidence_profile_template.json` | `scripts/evidence_profile_check.py` |
| Aggregate model/biomarker evaluation | `assets/aggregate_model_evaluation_template.json` | `scripts/model_biomarker_evaluation.py` |
| Aggregate cohort table | `assets/aggregate_cohort_table_template.json` | `scripts/cohort_table_generator.py` |
| Survival analysis plan | `assets/survival_analysis_plan_template.json` | `scripts/survival_plan_validator.py` |
| Logic traceability matrix | `assets/decision_logic_traceability_template.json` | `scripts/decision_logic_traceability.py` |
| De-identification process review | `assets/deidentification_checklist_template.json` | `scripts/deidentification_checklist.py` |

### 3. Run Locally

All helpers are dependency-free:

```bash
python3 scripts/validate_cds_artifact.py --help
python3 scripts/evidence_profile_check.py --help
python3 scripts/model_biomarker_evaluation.py --help
python3 scripts/cohort_table_generator.py --help
python3 scripts/survival_plan_validator.py --help
python3 scripts/decision_logic_traceability.py --help
python3 scripts/deidentification_checklist.py --help
```

Write outputs only to a reviewed local directory. Never place generated reports in an EHR, alerting system, clinical portal, or device workflow.

### 4. Human Review

Require review proportionate to the artifact:

- methodologist/statistician for design and analysis;
- domain expert for clinical-scientific context;
- privacy officer or qualified expert for disclosure decisions;
- regulatory or legal counsel for jurisdiction-specific interpretations;
- human-factors specialist for user studies;
- authorized governance owner for release and change control.

Script success means only that declared fields and internal consistency checks passed.

## GRADE Evidence Profiles

Do not infer a certainty rating from article text, study design alone, p-values, or keywords. Do not use the legacy `1A/2B` shorthand as if it were universal GRADE output.

For each important outcome, a human panel must document:

- risk of bias;
- inconsistency;
- indirectness;
- imprecision;
- publication bias;
- any applicable upgrading considerations;
- effect estimate and uncertainty;
- rationale and source IDs for every judgment;
- final certainty judgment and named review role.

The checker
adaptyvSkill

How to use the Adaptyv Bio Foundry API and Python SDK for protein experiment design, submission, and results retrieval. Use this skill whenever the user mentions Adaptyv, Foundry API, protein binding assays, protein screening experiments, BLI/SPR assays, thermostability assays, or wants to submit protein sequences for experimental characterization. Also trigger when code imports `adaptyv`, `adaptyv_sdk`, or `FoundryClient`, or references `foundry-api-public.adaptyvbio.com`.

aeonSkill

This skill should be used for time series machine learning tasks including classification, regression, clustering, forecasting, anomaly detection, segmentation, and similarity search. Use when working with temporal data, sequential patterns, or time-indexed observations requiring specialized algorithms beyond standard ML approaches. Particularly suited for univariate and multivariate time series analysis with scikit-learn compatible APIs.

analytical-method-validationSkill

Plan, execute, and document validation, verification, and transfer of analytical procedures under the governing framework - ICH Q2(R2) and Q14, USP <1220>/<1225>/<1226>, ICH M10 bioanalytical, CLSI EP, or ISO/IEC 17025. Use for HPLC, LC-MS/MS, GC, CE, ICP-MS, dissolution, qNMR, qPCR, NIR, and ligand binding or cell-based assays whenever the question is whether a procedure is fit for its intended purpose. Triggers include "method validation", "analytical method validation", "AMV", "validation protocol", "acceptance criteria", "linearity", "reportable range", "accuracy and precision", "repeatability", "intermediate precision", "recovery", "LOD", "LOQ", "detection limit", "quantitation limit", "specificity", "robustness", "method transfer", "method comparison", "Deming", "Passing-Bablok", "Bland-Altman", "equivalence testing", "OOS investigation", "ICH Q2", "Q2(R2)", "Q14", "USP 1225", "ICH M10", "incurred sample reanalysis", "ISR", "CLSI EP", and any request to show that an assay works.

anndataSkill

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

arborSkill

Autonomously improve a real artifact (code, training recipe, agent harness, data pipeline, prompt) against an objective and an evaluator, using Hypothesis Tree Refinement (HTR) from the Arbor paper. Use this whenever someone wants to iteratively optimize something over many experiments without overfitting — e.g. "get my model's eval score up", "improve this agent/harness", "tune this pipeline", "beat the baseline on this benchmark", "run a search over approaches and keep the best", "do an MLE-bench / Kaggle-style optimization", or any long-horizon "make this artifact better and don't just memorize the dev set" task. Trigger it even when the user doesn't say "Arbor" or "hypothesis tree" but describes repeated experiment-and-evaluate loops, branching exploration of competing ideas, or worries about a dev/test gap. Runs Claude itself as the coordinator with subagent executors in isolated git worktrees; for the standalone `arbor` CLI tool see references/arbor-upstream.md.

arboretoSkill

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for large-scale datasets.

astropySkill

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

autoskillSkill

Observe the user's screen via screenpipe, detect repeated research workflows, match them against existing scientific-agent-skills, and draft new skills (or composition recipes that chain existing ones) for the patterns not yet covered. Use when the user asks to analyze their recent work and propose skills based on what they actually do. Requires the screenpipe daemon (https://github.com/screenpipe/screenpipe) running locally on port 3030 — the skill has no other data source and will refuse to run if screenpipe is unreachable. All detection runs locally; only redacted cluster summaries reach the LLM.