Scikit Survival
A comprehensive toolkit for survival analysis and time-to-event modeling in Python using scikit-survival; use it when you need to model censored time-to-event outcomes, fit Cox/RSF/GB models or Survival SVMs, evaluate with C-index/Brier score, or handle competing risks.
Install
npx skills add aipoch/medical-research-skills --skill scikit-survivalgit clone --depth 1 https://github.com/aipoch/medical-research-skills.git /tmp/medical-research-skills
mkdir -p ~/.claude/skills
cp -r /tmp/medical-research-skills/scientific-skills/Data Analysis/scikit-survival ~/.claude/skills/scikit-survivalPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills) ## When to Use Use this skill when you need to: 1. Model **time-to-event outcomes with censoring** (right/left/interval censored observations). 2. Fit and interpret **Cox Proportional Hazards** models (including **penalized** Cox for high-dimensional data). 3. Train **non-linear survival models** such as **Random Survival Forests** or **Gradient Boosting** survival models. 4. Use **Survival SVMs** for margin-based survival prediction (linear or kernel). 5. Evaluate survival predictions with **censoring-aware metrics** (Uno/Harrell C-index, time-dependent AUC, Brier/Integrated Brier Score) and/or perform **competing risks** analysis. ## Key Features - **Survival target construction** via `sksurv.util.Surv` (arrays or DataFrame). - **Model families** - Cox models: `CoxPHSurvivalAnalysis`, `CoxnetSurvivalAnalysis` - Ensembles: `RandomSurvivalForest`, `GradientBoostingSurvivalAnalysis`, `ExtraSurvivalTrees` - SVM-based: `FastSurvivalSVM`, `FastKernelSurvivalSVM` - **Non-parametric estimators**: Kaplan–Meier and Nelson–Aalen. - **Competing risks**: cumulative incidence estimation. - **scikit-learn compatibility**: pipelines, cross-validation, and `GridSearchCV` with survival scorers. - **Evaluation utilities**: IPCW-based metrics (e.g., Uno’s C-index) and calibration-aware scores (IBS). > Additional topic guides may exist under:
Details
- Skill name
scikit-survival- Repository
- aipoch/medical-research-skills
- Path
scientific-skills/Data Analysis/scikit-survival/SKILL.md- License
- MIT
- Repo updated
- 17 September 2026
FAQ
What does the Scikit Survival skill do?
A comprehensive toolkit for survival analysis and time-to-event modeling in Python using scikit-survival; use it when you need to model censored time-to-event outcomes, fit Cox/RSF/GB models or Survival SVMs, evaluate with C-index/Brier score, or handle competing risks.
How do I install the Scikit Survival skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add aipoch/medical-research-skills --skill scikit-survival. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Scikit Survival popular?
It lives in aipoch/medical-research-skills, which has 2,068 GitHub stars and 206 forks.
Related skills
Clinicaltrials Database
2.1kaipoch/medical-research-skills
Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.
Abstract Summarizer
2.1kaipoch/medical-research-skills
Transform lengthy academic papers into concise, structured 250-word abstracts.
Abstract Trimmer
2.1kaipoch/medical-research-skills
Precision editing tool that reduces abstract word count through intelligent compression techniques, maintaining scientific rigor while meeting strict journal and conference requirements.
Scrna Cell Type Annotator
2.1kaipoch/medical-research-skills
Auto-annotate cell clusters from single-cell RNA data using marker genes.
Scikit Bio
2.1kaipoch/medical-research-skills
A Python bioinformatics toolkit for sequence, phylogeny, and microbiome/community-ecology analysis; use it when you need to compute diversity/ordination/statistics from biological data and standard formats (FASTA/FASTQ/Newick/BIOM).
Scvi Tools
2.1kaipoch/medical-research-skills
Deep generative models for single-cell omics; use when you need probabilistic batch correction (scVI), transfer learning, uncertainty-aware differential expression, or multimodal integration (totalVI/MultiVI).
Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.