Plot Survival — Data skill for Claude Code
Kaplan-Meier curves and Cox models from clinical data.
How to install Plot Survival
Installs to ~/.claude/commands/zamushwani-biomedical-ai-skills-plot-survival.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/zamushwani/biomedical-ai-skills/HEAD/.claude/commands/plot-survival.md -o ~/.claude/commands/zamushwani-biomedical-ai-skills-plot-survival.md Restart Claude Code, or start a new session, for it to be picked up.
What Plot Survival does
description: Kaplan-Meier curves and Cox models from clinical data. Use when the user asks about survival, prognosis, hazard ratios, or wants a KM plot. argument-hint: [clinical-file] [group-column] allowed-tools: Read Grep Glob Bash(Rscript *)
Build survival analysis for `$0`, stratified by `$1`.
Follow the `survival-analysis` skill. The parts that are usually got wrong:
- Check the event coding.
survivalexpects 1 = event, 0 = censored. A flipped indicator silently inverts ev
Alternatives in Data
- Private GPT — Complete API layer for private AI applications on local models: RAG, skills, tools, MCP, text-to-sql, and more 57.5k ★
- Data Contract — This document defines which files belong to the system (auto-updatable) and which belong to the user (never to 32.5k ★
- User Segmentation — Segment users by behavior, JTBD, and needs from feedback data 7.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Fit Dose Response
Fit dose-response curves and compute IC50/AUC. Use when the user has viability data across drug concentrations
Query Tcga
Query TCGA/GDC for projects, mutations, or clinical data. Use when the user asks for TCGA cohorts, mutation co
Cc Analytics
Use when user asks for Claude Code usage stats, weekly analytics, project activity summary, or wants to see wh
Analyze Cohorts
Perform cohort analysis on user data — retention curves, feature adoption, and engagement trends
Programmatic SEO
When the user wants to create SEO-driven pages at scale using templates and data. Also use when the user menti
Analyze Logs
Analyze GPU monitoring data (monitor.csv) and training metrics from a completed compass-app-jasper experiment.
Related Agents
Gad Theory Scout
Researches theoretical context for the analysis -- signal models, branching ratios, existing limits, and relev
Summarize
Gather current session context for compact survival using Aspy data
Baker
mbbb Baker Agent — professional pastry recipe library lookup and Baker's Percentage calculator. Use when the u