skills/science/scientific-visualization-tools/SKILL.md
Scientific visualization workflow guide for publication-ready static figures with seaborn or matplotlib and interactive figures with Plotly. Use when the user asks for scientific plots, cohort or assay figures, publication graphics, dashboards, or reusable plotting scripts for research datasets.
npx skillsauth add drugclaw/drugclaw scientific-visualization-toolsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user needs a figure artifact rather than only a numeric summary.
Typical triggers:
which python3 || true
python3 - <<'PY'
mods = ["pandas", "matplotlib", "seaborn", "plotly"]
for name in mods:
try:
__import__(name)
print(f"{name}: ok")
except Exception as exc:
print(f"{name}: missing ({exc})")
PY
If key plotting modules are missing, recommend the optional drug-sandbox image documented in docs/operations/science-runtime.md.
templates/publication_plot.pytemplates/interactive_plot.pypython3 templates/publication_plot.py \
--input figures/assay.csv \
--kind box \
--x-column arm \
--y-column response \
--color-column arm \
--output figures/assay_box.png \
--summary figures/assay_box.json
Supported baseline kinds:
scatterlineboxviolinbarheatmappython3 templates/interactive_plot.py \
--input figures/cohort.csv \
--kind scatter \
--x-column age \
--y-column biomarker \
--color-column response \
--output figures/cohort_scatter.html \
--summary figures/cohort_scatter.json
Use this for exploratory review, dashboards, and lightweight sharing.
For statistical inference behind a plot, activate stat-modeling-tools.
For Kaplan-Meier and time-to-event figures, activate survival-analysis-tools.
For broader scientific-writing and manuscript-structure work, activate scientific-workflow-tools.
tools
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.
tools
Statistical modeling workflow guide for hypothesis tests, effect-size reporting, statsmodels regression, diagnostics, and structured result export. Use when the user asks for statistical test selection, OLS or logistic regression, coefficient tables, inference, or reproducible statistical summaries for scientific datasets.
tools
Research-method workflow guide for hypothesis framing, peer-review style critique, reproducibility planning, study-design checks, and scientific-writing structure. Use when the user asks for manuscript critique, research-gap framing, hypothesis generation, reproducibility checklists, or study-planning support that should stay on the research side rather than patient-care decisions.
tools
Drug-patent landscape workflow guide for searching US patents via the PatentsView API, classifying pharmaceutical claim types (NCE, formulation, method-of-use, polymorph, combination, biologic, process), grouping by patent family and assignee, estimating expiry timelines, and cross-referencing the FDA Orange Book for marketed-drug exclusivity windows. Use when the user asks about patent coverage, IP white-space, patent cliffs, or competitive filing activity around a drug, target, or compound class without asking for legal counsel.