analyze-stats
Installation
SKILL.md
Statistical Analysis Skill
Generate reproducible code (Python preferred, R when necessary) for medical research analyses, run it, and produce publication-ready tables and figures from its output.
Data Privacy Check
Before reading any data file, check whether it might contain Protected Health Information (PHI):
- If
*_deidentified.*files exist in the working directory, use those. - If only raw CSV/Excel files exist, ask the user whether the data contain patient identifiers
(names, national ID / RRN, contact details); if so, have them de-identify it first with
/deidentify. - Proceed once the user confirms the data are de-identified or contain no PHI.
- NEVER display raw PHI values (names, phone numbers, RRN) in your output, because console
output is copied into transcripts and drafts. If you encounter them, warn the user and suggest
/deidentify.