survival-analysis-km
Kaplan-Meier survival analysis with log-rank tests, Cox regression, and publication-ready survival curves for clinical and biological research.
Profile →npx skills add majiayu000/claude-skill-registry --skill survival-analysis-km --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Survival Analysis (Kaplan-Meier) Kaplan-Meier survival analysis tool for clinical and biological research. Generates publication-ready survival curves with statistical tests and hazard ratios. ## Quick Check ```bash python -m py_compile scripts/main.py pip install lifelines && python scripts/main.py --help ``` > **Note:** The `lifelines` package is required. Install it before running: `pip install lifelines` ## When to Use - Overall survival (OS) or progression-free survival (PFS) analysis - Comparing survival between treatment groups - Generating KM curves for clinical manuscripts - Cox proportional hazards regression with HR and 95% CI ## Usage ```bash python scripts/main.py \ --input clinical_data.csv \ --time overall_survival_months \ --event death \ --group treatment_arm \ --output ./results/ \ --risk-table ``` ## Parameters | Parameter | Required | Default | Description | |-----------|----------|---------|-------------| | `--input` | Yes | — | Input CSV file path | | `--time` | Yes | — | Column name for survival time | | `--event` | Yes | — | Event indicator column (1=event, 0=censored) | | `--group` | No | — | Grouping variable for stratification | | `--output` | Yes | — |
- Quick Check
- When to Use
- Usage
- Parameters
- Input Format
- Output Files
- Workflow
- Fallback Template
- Statistical Methods
- Output Requirements
- Error Handling
- Input Validation
- Response Template
- Prerequisites
python -m py_compile scripts/main.py pip install lifelines && python scripts/main.py --help python scripts/main.py \ pip install -r requirements.txt
What does the survival-analysis-km skill do?
Kaplan-Meier survival analysis with log-rank tests, Cox regression, and publication-ready survival curves for clinical and biological research.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill survival-analysis-km --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.