zamushwani

Plot Survival — Data skill for Claude Code

Data community

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

Terminal
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:

  1. Check the event coding. survival expects 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 Repository