drugclaw/drugclaw/survival-analysis-tools
Claude Code and agent skill by drugclaw/drugclaw
- community
Checking that the SKILL.md file is still in the repository.
Survival and time-to-event workflow guide for Kaplan-Meier summaries, log-rank tests, and Cox proportional hazards models with reproducible outputs. Use when the user asks for time-to-event analysis, censored data summaries, hazard ratios, or survival-group comparison for research datasets.
Install
npx vskill@latest install drugclaw/drugclaw/survival-analysis-toolsSKILL.md
Survival Analysis Tools
Use this skill when the user needs time-to-event analysis with censoring-aware summaries.
Typical triggers:
- Kaplan-Meier curves or survival probability tables
- log-rank comparison between treatment arms
- Cox proportional hazards regression with hazard ratios
- time-to-event or progression-free survival analysis
- censored cohort summaries for translational or clinical research
Environment Check
The bundled template runs on the stable statsmodels baseline. Advanced machine-learning survival models from scikit-survival remain optional and should only be claimed when the environment actually has them.
Bundled Asset
templates/survival_analysis.py
Preferred Workflow
- Confirm the time and event coding first.
- Generate group-level Kaplan-Meier summaries before fitting adjusted models.
- Add Cox covariates only after checking the columns and coding logic.
- Export both tables and a survival plot.
- Treat hazard ratios as model-based associations, not automatic causal effects.
Kaplan-Meier And Cox Baseline
Use this for:
- group-level median survival summaries
- Kaplan-Meier plots
- log-rank p-values when a group column is present
- Cox proportional hazards coefficients and hazard ratios
Boundary
The bundled baseline does not provide random survival forests, gradient-boosted survival models, or integrated Brier score pipelines out of the box. If the user explicitly needs those, confirm that scikit-survival is available first.
Related Skills
For general hypothesis tests or non-survival regression, activate stat-modeling-tools. For figures beyond the bundled KM plot, activate scientific-visualization-tools. For study-design or endpoint-planning support, activate clinical-research-tools.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/science/survival-analysis-tools/SKILL.md
Popularity
- Repository stars
- 69
- Repository forks
- 2
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/drugclaw/drugclaw/survival-analysis-tools)