Tooluck logoTooluck
SKILL.md

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

install decision-curve-analysis
# install the medical-research-skills pack with the skills CLI
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)

awesome-med-research-skills/Data Analysis/decision-curve-analysis/SKILL.md

MITFull file
1# Decision Curve Analysis
2
3## When to Use
4
5Use 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.
9
10Typical 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."
14
15## When Not to Use
16
17Do 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.
22
23## When to Read External Files
24
25| 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 |
31
32---
33
34## Usage
35
36```bash
37Rscript scripts/main.R \
38 --data_file ./clinical_dca_data.csv \
39 --outcome_col fustat \
40 --predictor_col riskScore \
41 --output_dir ./output/
42```
43
44---
45
46## Arguments
47
48| Short | Long | Type | Default | Description |
49…

Excerpt shown under the repository's MIT license.

More skills in medical-research-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

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

CCCXGHGM+135 skills

nexu-io /

open-design
107k

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.

40 skills

tt-a1i /

archify
95k

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

CCCXOC1 skill

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates