Skills for Real Engineers. Straight from my .agents directory.
decision-curve-analysis
Agent skill fromaipoch/medical-research-skills
Use when evaluating the clinical utility of a binary prediction model from a single clinical CSV file by fitting a logistic decision-curve model, plotting decision and clinical-impact curves, and exporting summary outputs. NOT for: survival calibration, ROC-only discrimination analysis, nomogram construction, or time-to-event outcomes.
How to install decision-curve-analysis
npx skills add aipoch/medical-research-skills# or add only this skill to Claude Code: copy the folder
awesome-med-research-skills/Data Analysis/decision-curve-analysis/
# into
~/.claude/skills/decision-curve-analysis/ (all projects)
.claude/skills/decision-curve-analysis/ (one project)
1# Decision Curve Analysis23## When to Use45Use this skill when you need to:6- evaluate whether a binary prediction model adds clinical net benefit across threshold probabilities;7- visualize decision curves and clinical-impact curves from a clinical cohort;8- export an auditable DCA model object together with summary text and PDFs.910Typical user requests:11- "Run decision-curve analysis on this binary outcome and risk-score dataset."12- "Generate DCA and clinical-impact plots for this prediction model."13- "Compare net benefit across thresholds for this case-control cohort."1415## When Not to Use1617Do not use this skill for:18- time-to-event or survival outcomes;19- ROC-only discrimination analysis without decision-curve outputs;20- nomogram construction or calibration-curve analysis;21- multiclass outcomes or non-binary endpoints.2223## When to Read External Files2425| Situation | File to Read | Purpose |26|-----------|--------------|---------|27| Need algorithm details | `references/algorithm.md` | Statistical methods and formulas |28| Need to run analysis | `scripts/main.R` | Get the complete command |29| Encounter errors | `references/troubleshooting.md` | Find solutions |30| Need CLI examples | `references/cli-guide.md` | Parameter usage examples |3132---3334## Usage3536```bash37Rscript scripts/main.R \38 --data_file ./clinical_dca_data.csv \39 --outcome_col fustat \40 --predictor_col riskScore \41 --output_dir ./output/42```4344---4546## Arguments4748| Short | Long | Type | Default | Description |49…
Excerpt shown under the repository's MIT license.
More skills in medical-research-skills
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
