This is your go-to when you need survival analysis in Python and have censored time-to-event data. It wraps scikit-survival with clear guidance on choosing between Cox models, Random Survival Forests, Gradient Boosting, and SVMs depending on your dataset size and whether you need interpretability. The skill includes a helpful decision tree for model selection and covers the metrics that actually matter for censored data, like Uno's C-index for high censoring rates and time-dependent AUC. It also handles competing risks when you have multiple mutually exclusive events. The references break down Cox models, ensemble methods, SVMs, and evaluation metrics separately, which is useful when you're knee-deep in a specific modeling approach.

skills.sh installs
2.1K
GitHub stars
56.6K
last updated
Aug 21, 2026

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill scikit-survival --agent claude-code

Installs into .claude/skills of the current project.

Files

scikit-survival

Scope

Use this skill for scikit-survival 0.28.0 workflows involving:

  • right-censored structured outcomes;
  • Cox PH, Coxnet, IPC ridge, survival trees, forests, boosting, and SVMs;
  • discrimination, prediction error, calibration-oriented checks, and time-dependent prediction;
  • nonparametric cumulative incidence with competing risks;
  • scikit-learn pipelines, nested model selection, and reproducible reports.

scikit-survival primarily models right-censored outcomes. Its built-in competing-risk support is nonparametric cumulative incidence; it does not provide Fine-Gray regression. Do not present model output as clinical advice, causal evidence, or proof of clinical utility.

Python snippets using study-defined variables such as X_train, y_train, frame, or times are illustrative integration templates. The native regression tests and local CLI smoke runs use small synthetic fixtures; they do not validate an unprovided study, clinical dataset, or every optional dataframe backend.

Current release and installation

Verified 2026-10-01:

Sponsors

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
DevOps & CI/CD, AI & Agent Building, Data Science & ML
First seen
Jun 3, 2026

More from k-dense-ai/scientific-agent-skills

All 137
1nvidia avatardali-dynamic-modenvidia/skillsDALI imperative dynamic mode (`nvidia.dali.experimental.dynamic`, ndd): use when working on ndd code or migrating pipelines; skip pipeline-only tasks.2.1Kskills.sh installs
2jezweb avatargoogle-apps-scriptjezweb/claude-skillsBuild Google Apps Script automation for Sheets and Workspace. Custom menus, triggers (onEdit / time-driven / form submit), dialogs, sidebars, email batches, PDF2Kskills.sh installs
3calm-north avatarfix-linkingcalm-north/seojuice-skillsDesign or audit internal link structure for a website. Use when the user asks about internal linking, link architecture, orphan pages, PageRank flow, anchor tex2Kskills.sh installs
4k-dense-ai avatarscanpyk-dense-ai/scientific-agent-skillsStandard single-cell RNA-seq analysis pipeline. Use for QC, normalization, dimensionality reduction (PCA/UMAP/t-SNE), clustering, differential expression, visua2Kskills.sh installs
5k-dense-ai avatarvaexk-dense-ai/scientific-agent-skillsUse this skill for processing and analyzing large tabular datasets (billions of rows) that exceed available RAM. Vaex excels at out-of-core DataFrame operations2Kskills.sh installs
6madteacher avatarflutter-adaptive-uimadteacher/mad-agents-skillsBuild, fix, review, and validate adaptive or responsive Flutter UIs for mobile, tablet, desktop, web, large screens, foldables, and mixed input devices. Use whe2Kskills.sh installs