Generates publication-ready clinical decision support (CDS) documents in LaTeX/PDF: biomarker-stratified cohort analyses, treatment recommendation reports with GRADE grading, hazard ratios, survival curves, and waterfall plots for pharmaceutical and clinical research.
Ships in alterlab-clinical-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Generate professional clinical decision support (CDS) documents for pharmaceutical companies, clinical researchers, and medical decision-makers. This skill specializes in analytical, evidence-based documents that inform treatment strategies and drug development:
All documents are generated as publication-ready LaTeX/PDF files for pharmaceutical research, regulatory-support analyses, and clinical guideline development.
Scope and safety: these are decision-support documents for qualified clinicians, medical-affairs teams, and guideline panels — not orders for an individual patient. Every trial result, guideline recommendation, approval status, and grade must come from sources the user supplied or that you retrieved and cited in this session (e.g. via alterlab-pubmed or alterlab-clinicaltrials); never fill them in from memory, because a plausible but wrong hazard ratio or guideline category can propagate into prescribing decisions. Numbers in the examples below are illustrative placeholders. Include an AI-assistance disclosure and a "for expert review" notice in every document.
Note: For individual patient treatment plans at the bedside, use the alterlab-treatment-plans skill instead. For single-patient case reports for journal submission (e.g. CARE-guideline cases), use alterlab-clinical-reports. This skill focuses on group-level analyses and evidence synthesis for pharmaceutical/research settings.
Writing Style: For publication-ready documents targeting medical journals, consult the alterlab-venue-templates skill's medical_journal_styles.md for guidance on structured abstracts, evidence language, and CONSORT/STROBE compliance.
Patient Cohort Analysis
Treatment Recommendation Reports
This skill is specifically designed for pharmaceutical and clinical research applications:
Drug Development
Medical Affairs
Clinical Guidelines
Real-World Evidence
Use this skill when you need to:
| Scenario | Use Instead |
|---|---|
| Individual patient treatment plan, bedside care documentation, or patient-specific protocol | alterlab-treatment-plans |
| Single-patient case report for journal submission (CARE) | alterlab-clinical-reports |
| Pooling effect sizes across published studies (random-effects model, I², funnel plot) | alterlab-meta-analysis |
| Searching ClinicalTrials.gov for trials or pulling a trial record by NCT ID | alterlab-clinicaltrials |
| Training a machine-learning risk-prediction model on EHR data | alterlab-pyhealth |
Hand-off rule. When the request matches a row above, open your answer by naming that skill by its exact id (for example alterlab-treatment-plans) and saying in one line why it fits better, then stop applying this skill's procedure. Name it even when you also need to ask for missing input. If only part of the request is out of scope, name the skill for that part and do only the in-scope part. A brief general pointer is fine; the named skill does the work.
Start every CDS document with a one-page executive summary, before the table of contents or detailed sections. Readers in medical affairs and guideline panels decide from page 1 whether and how to read on, so it has to carry the key results on its own.
The first page of every CDS document should contain ONLY the executive summary with the following components:
Required Elements (all on page 1):
Document Title and Type
Report Information Box (using colored tcolorbox)
Key Findings Boxes (3-5 colored boxes using tcolorbox)
Visual Requirements:
\thispagestyle{empty} to remove page numbers from page 1\newpage)\newpage before table of contents or detailed sectionsExample First Page LaTeX Structure (all values are illustrative placeholders):
\maketitle
\thispagestyle{empty}
% Report Information Box
\begin{tcolorbox}[colback=blue!5!white, colframe=blue!75!black, title=Report Information]
\textbf{Document Type:} Patient Cohort Analysis\\
\textbf{Disease State:} HER2-Positive Metastatic Breast Cancer\\
\textbf{Analysis Date:} \today\\
\textbf{Population:} 60 patients, biomarker-stratified by HR status
\end{tcolorbox}
\vspace{0.3cm}
% Key Finding #1: Primary Results
\begin{tcolorbox}[colback=blue!5!white, colframe=blue!75!black, title=Primary Efficacy Results]
\begin{itemize}
\item Overall ORR: 72\% (95\% CI: 59-83\%)
\item Median PFS: 18.5 months (95\% CI: 14.2-22.8)
\item Median OS: 35.2 months (95\% CI: 28.1-NR)
\end{itemize}
\end{tcolorbox}
\vspace{0.3cm}
% Key Finding #2: Biomarker Insights
\begin{tcolorbox}[colback=green!5!white, colframe=green!75!black, title=Biomarker Stratification Findings]
\begin{itemize}
\item HR+/HER2+: ORR 68\%, median PFS 16.2 months
\item HR-/HER2+: ORR 78\%, median PFS 22.1 months
\item HR status significantly associated with outcomes (p=0.041)
\end{itemize}
\end{tcolorbox}
\vspace{0.3cm}
% Key Finding #3: Clinical Implications
\begin{tcolorbox}[colback=orange!5!white, colframe=orange!75!black, title=Clinical Recommendations]
\begin{itemize}
\item Strong efficacy observed regardless of HR status (Grade 1A)
\item HR-/HER2+ patients showed numerically superior outcomes
\item Treatment recommended for all HER2+ MBC patients
\end{itemize}
\end{tcolorbox}
\newpage
\tableofcontents % TOC on page 2
\newpage % Detailed content starts page 3
Page 1 Executive Summary for Treatment Recommendations should include:
Detailed Sections (Page 3+):
Page layout:
Document Specifications:
Visual Elements:
This skill integrates with:
The discriminator is unit of analysis: this skill operates on groups (cohorts, subgroups, evidence bases); the siblings operate on a single patient.
| Ask | Skill |
|---|---|
| Cohort/subgroup analysis, biomarker stratification, GRADE-graded guideline, pharma/RWE strategy doc (group-level) | this skill |
| Individual patient care plan, SMART goals, patient-specific dosing/monitoring for the chart | alterlab-treatment-plans |
| Single-patient case report for journal submission (e.g. CARE-guideline) | alterlab-clinical-reports |
Example for this skill: "Analyze 60 HER2+ breast cancer patients by hormone receptor status with survival outcomes."
Example 1: NSCLC Biomarker Stratification
> Analyze a cohort of 45 NSCLC patients stratified by PD-L1 expression (<1%, 1-49%, ≥50%)
> receiving pembrolizumab. Include outcomes: ORR, median PFS, median OS with hazard ratios
> comparing PD-L1 ≥50% vs <50%. Generate Kaplan-Meier curves and waterfall plot.
Example 2: GBM Molecular Subtype Analysis
> Generate cohort analysis for 30 GBM patients classified into Cluster 1 (Mesenchymal-Immune-Active)
> and Cluster 2 (Proneural) molecular subtypes. Compare outcomes including median OS, 6-month PFS rate,
> and response to TMZ+bevacizumab. Include biomarker profile table and statistical comparison.
Example 3: Breast Cancer HER2 Cohort
> Analyze 60 HER2-positive metastatic breast cancer patients treated with trastuzumab-deruxtecan,
> stratified by prior trastuzumab exposure (yes/no). Include ORR, DOR, median PFS with forest plot
> showing subgroup analyses by hormone receptor status, brain metastases, and number of prior lines.
Example 1: HER2+ Metastatic Breast Cancer Guidelines
> Create evidence-based treatment recommendations for HER2-positive metastatic breast cancer including
> biomarker-guided therapy selection. Use GRADE system to grade recommendations for first-line
> (trastuzumab+pertuzumab+taxane), second-line (trastuzumab-deruxtecan), and third-line options.
> Include decision algorithm flowchart based on brain metastases, hormone receptor status, and prior therapies.
Example 2: Advanced NSCLC Treatment Algorithm
> Generate treatment recommendation report for advanced NSCLC based on PD-L1 expression, EGFR mutation,
> ALK rearrangement, and performance status. Include GRADE-graded recommendations for each molecular subtype,
> TikZ flowchart for biomarker-directed therapy selection, and evidence tables from KEYNOTE-189, FLAURA,
> and CheckMate-227 trials.
Example 3: Multiple Myeloma Line-of-Therapy Sequencing
> Create treatment algorithm for newly diagnosed multiple myeloma through relapsed/refractory setting.
> Include GRADE recommendations for transplant-eligible vs ineligible, high-risk cytogenetics considerations,
> and sequencing of daratumumab, carfilzomib, and CAR-T therapy. Provide flowchart showing decision points
> at each line of therapy.
This skill uses two complementary axes (see references/treatment_recommendations.md and assets/recommendation_strength_guide.md for the full matrix):
The compact letter codes used throughout (1A, 1B, 2A, 2B, 2C) are the ACCP/Guyatt notation (popularized by the ACCP/CHEST antithrombotic guidelines), which pairs the two axes into a single label. GRADE proper does not use these codes; report them as ACCP-style notation when both are cited, and never invent a grade not supported by the underlying evidence.
(Biomarker, outcome-metric, and statistical-method details are covered under Capabilities above and in the references/ files.)
\thispagestyle{empty} and end with \newpageSee the references/ directory for detailed guidance on:
See the assets/ directory for LaTeX templates:
cohort_analysis_template.tex - Biomarker-stratified patient cohort analysis with statistical comparisonstreatment_recommendation_template.tex - Evidence-based clinical practice guidelines with GRADE gradingclinical_pathway_template.tex - TikZ decision algorithm flowcharts for treatment sequencingbiomarker_report_template.tex - Molecular subtype classification and genomic profile reportsTemplate Features:
See the scripts/ directory for analysis and visualization tools:
generate_survival_analysis.py - Kaplan-Meier curve generation with log-rank tests, hazard ratios, and 95% CIs (also covers the survival-statistics needs of cohort and subgroup analyses)create_cohort_tables.py - Demographics, biomarker frequency, and outcomes tablesbuild_decision_tree.py - TikZ flowchart generation for treatment algorithmsbiomarker_classifier.py - Patient stratification algorithms by molecular subtypevalidate_cds_document.py - Quality and compliance checks (HIPAA, statistical reporting standards); pass --type cohort or --type recommendation, because the default guesses the type from the words "cohort" and "recommendation" and a cohort analysis with a recommendations box gets the recommendation-report section check tooRun them without an install step, e.g. uv run --python ">=3.11" --with lifelines --with matplotlib python scripts/generate_survival_analysis.py cohort.csv --time-col pfs_months --event-col pfs_event --group-col arm --reference-group Control (the median's 95% CI is in months; --reference-group sets the HR's denominator).
Part of the AlterLab Academic Skills suite.
assets/biomarker_report_template.tex (opens in a new tab)assets/clinical_pathway_template.tex (opens in a new tab)assets/cohort_analysis_template.tex (opens in a new tab)assets/color_schemes.tex (opens in a new tab)assets/example_gbm_cohort.md (opens in a new tab)assets/recommendation_strength_guide.md (opens in a new tab)assets/treatment_recommendation_template.tex (opens in a new tab)evals/evals.json (opens in a new tab)evals/fixtures/gbm_subtype_cohort/README.md (opens in a new tab)evals/fixtures/gbm_subtype_cohort/gbm_cohort.csv (opens in a new tab)evals/fixtures/nsclc_pdl1_cohort/README.md (opens in a new tab)evals/fixtures/nsclc_pdl1_cohort/nsclc_pdl1_cohort.csv (opens in a new tab)references/README.md (opens in a new tab)references/biomarker_classification.md (opens in a new tab)references/clinical_decision_algorithms.md (opens in a new tab)references/evidence_synthesis.md (opens in a new tab)references/outcome_analysis.md (opens in a new tab)references/patient_cohort_analysis.md (opens in a new tab)references/treatment_recommendations.md (opens in a new tab)scripts/biomarker_classifier.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/alterlab-clinical-research:alterlab-clinical-decisionfrom alterlab-clinical-research
npx claudepluginhub alterlab-ieu/alterlab-academic-skills --plugin alterlab-clinical-research2 plugins in one repository ship this exact skill · first indexed Nov 9, 2026
7 skills in this plugin
/alterlab-clinical-reportsWrites comprehensive clinical reports — case reports (CARE guidelines), diagnostic reports (radiology, pathology, lab), clinical trial reports (ICH-E3, SAE, CSR), and patient documentation (SOAP notes, H&P, discharge summaries) — with templates, regulatory compliance (HIPAA, FDA, ICH-GCP), and validation tools. Use when drafting a case report for journal publication, a radiology/pathology/lab diagnostic report, an ICH-E3 clinical study report (CSR) or SAE narrative, or SOAP/H&P/discharge patient records needing regulatory-compliant formatting. Part of the AlterLab Academic Skills suite./alterlab-iso13485Prepares ISO 13485 certification documentation for medical device Quality Management Systems (QMS) — gap analysis of existing documentation, Quality Manuals, required procedures and work instructions, and Medical Device Files. Use for ISO 13485 QMS documentation, conducting a documentation gap analysis, drafting a Quality Manual or SOP/work instruction, assembling a Medical Device File, identifying missing documentation for medical device certification, or when medical device regulations, QMS certification, FDA QMSR, or EU MDR are mentioned. Part of the AlterLab Academic Skills suite./alterlab-neurokit2Processes and analyzes physiological biosignals with the NeuroKit2 Python toolkit — ECG, EEG, EDA, RSP, PPG, EMG, and EOG signals. Use when processing cardiovascular signals, brain activity, electrodermal responses, respiratory patterns, muscle activity, or eye movements, or when computing heart rate variability (HRV), event-related potentials, complexity measures, autonomic nervous system assessment, or multi-modal physiological signal integration for psychophysiology research. Part of the AlterLab Academic Skills suite./alterlab-pydicomReads, writes, and manipulates DICOM (Digital Imaging and Communications in Medicine) medical imaging files with the pydicom Python library. Use when reading/writing/modifying DICOM data, extracting pixel data from CT, MRI, X-ray, or ultrasound images, anonymizing DICOM files, working with DICOM metadata and tags, converting DICOM to other formats, handling compressed DICOM, or processing medical imaging datasets for PACS systems, radiology workflows, and healthcare imaging applications. Part of the AlterLab Academic Skills suite./alterlab-pyhealthDevelops, tests, and validates clinical machine learning models with the PyHealth 2.x healthcare AI toolkit. Use when working with electronic health records (EHR), clinical prediction tasks (mortality, readmission, length of stay, drug recommendation), medical coding systems (ICD, NDC, ATC, CCS), physiological signals (EEG, ECG), healthcare datasets (MIMIC-III/IV, eICU, OMOP), or implementing deep learning models for healthcare (RETAIN, SafeDrug, GAMENet, Transformer, GAT/GCN). Part of the AlterLab Academic Skills suite./alterlab-treatment-plansGenerates concise (3-4 page), focused medical treatment plans in LaTeX/PDF format across all clinical specialties — general medical treatment, rehabilitation therapy, mental health care, chronic disease management, perioperative care, and pain management — using SMART goal frameworks, evidence-based interventions with minimal citations, HIPAA compliance, and professional formatting. Use when drafting a brief, actionable patient treatment or care plan with measurable SMART goals and structured follow-up for any specialty. Part of the AlterLab Academic Skills suite.Other plugins' skills for the same job