Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add DrugClaw/DrugClaw --skill survival-analysis-toolsgit clone --depth 1 https://github.com/DrugClaw/DrugClawWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/drugclaw/drugclaw/survival-analysis-tools)<a href="https://agentmods.dev/skills/drugclaw/drugclaw/survival-analysis-tools"><img src="https://agentmods.dev/badge/skills/drugclaw/drugclaw/survival-analysis-tools/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/drugclaw/drugclaw/survival-analysis-tools"><img src="https://agentmods.dev/badge/skills/drugclaw/drugclaw/survival-analysis-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.00663 |
| Opus 5 | $0.00030 | $0.00331 |
| Sonnet 5 | $0.00012 | $0.00133 |
| Haiku 4.5 | $0.00006 | $0.00066 |
Grade A, and why
survival-analysis-tools scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
which python3 || true
python3 - <<'PY'
mods = ["numpy", "pandas", "statsmodels", "matplotlib"]
for name in mods:
try:
__import__(name)
print(f"{name}: ok")
except Exception as exc:
print(f"{name}: missing ({exc})")
try:
import sksurv
print("sksurv: optional-ok")
except Exception as exc:
print(f"sksurv: optional-missing ({exc})")
PY
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
python3 templates/survival_analysis.py \
--input survival/nsclc.csv \
--time-column pfs_days \
--event-column progressed \
--group-column arm \
--covariate age \
--covariate stage_numeric \
--covariate biomarker_score \
--plot-output survival/nsclc_km.png \
--km-output survival/nsclc_km.csv \
--cox-output survival/nsclc_cox.csv \
--summary survival/nsclc_summary.json
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
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 85 lines · 61 tokens per session scan A 368d1c33c3f1
survival-analysis-tools is a skill published in the GitHub repository DrugClaw/DrugClaw (125 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 61 tokens to every session and 663 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
drug-repurposing
Systematic drug repurposing via signature matching, target-based analysis, network proximity, genetic evidence scoring, and clinical evidence mining.
drug-design
End-to-end drug discovery pipeline orchestration. Deterministic Python script that auto-chains structure prediction, pocket detection, de novo design, docking, scoring, and ADMET filtering into reproducible workflows.
statistical-modeling
Statistical modeling and machine learning for biomarker discovery, survival analysis, classification, regression, and model interpretation.
chromatin-regulation
Chromatin regulation analysis from called peaks and count matrices — differential binding, signal summarisation, peak annotation, and scATAC-seq.
genomic-variants
Analysis of called genomic variants — filtering, annotation, GWAS, and population-genetics summaries from VCF and PLINK-format data.
bulk-transcriptomics
Bulk RNA-seq and microarray differential expression analysis including method selection, batch correction, and complex experimental designs.