ebm-calculator

Evidence-Based Medicine calculator for sensitivity, specificity, PPV, NPV, NNT, and likelihood ratios. Essential for clinical decision making and biostatistics education.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ebm-calculator" with this command: npx skills add aipoch-ai/ebm-calculator

EBM Calculator

Evidence-Based Medicine diagnostic test calculator.

Features

  • Sensitivity / Specificity calculation
  • PPV / NPV with prevalence adjustment
  • Likelihood ratios (LR+ / LR-)
  • Number Needed to Treat (NNT)
  • Pre/post-test probability conversion

Parameters

ParameterTypeDefaultRequiredDescription
--mode, -mstringdiagnosticNoCalculation mode (diagnostic, nnt, probability)
--tp, --true-posint-*True positives (diagnostic mode)
--fn, --false-negint-*False negatives (diagnostic mode)
--tn, --true-negint-*True negatives (diagnostic mode)
--fp, --false-posint-*False positives (diagnostic mode)
--prevalence, -pfloat-NoDisease prevalence 0-1 (diagnostic mode)
--control-ratefloat-**Control event rate 0-1 (nnt mode)
--experimental-ratefloat-**Experimental event rate 0-1 (nnt mode)
--pretestfloat-***Pre-test probability 0-1 (probability mode)
--lrfloat-***Likelihood ratio (probability mode)
--output, -ostringstdoutNoOutput file path

* Required for diagnostic mode
** Required for nnt mode
*** Required for probability mode

Output Format

{
  "sensitivity": "float",
  "specificity": "float",
  "ppv": "float",
  "npv": "float",
  "lr_positive": "float",
  "lr_negative": "float",
  "interpretation": "string"
}

Risk Assessment

Risk IndicatorAssessmentLevel
Code ExecutionPython/R scripts executed locallyMedium
Network AccessNo external API callsLow
File System AccessRead input files, write output filesMedium
Instruction TamperingStandard prompt guidelinesLow
Data ExposureOutput files saved to workspaceLow

Security Checklist

  • No hardcoded credentials or API keys
  • No unauthorized file system access (../)
  • Output does not expose sensitive information
  • Prompt injection protections in place
  • Input file paths validated (no ../ traversal)
  • Output directory restricted to workspace
  • Script execution in sandboxed environment
  • Error messages sanitized (no stack traces exposed)
  • Dependencies audited

Prerequisites

No additional Python packages required.

Evaluation Criteria

Success Metrics

  • Successfully executes main functionality
  • Output meets quality standards
  • Handles edge cases gracefully
  • Performance is acceptable

Test Cases

  1. Basic Functionality: Standard input → Expected output
  2. Edge Case: Invalid input → Graceful error handling
  3. Performance: Large dataset → Acceptable processing time

Lifecycle Status

  • Current Stage: Draft
  • Next Review Date: 2026-03-06
  • Known Issues: None
  • Planned Improvements:
    • Performance optimization
    • Additional feature support

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

MedSynIQ Lite

Free medical intelligence for AI assistants. 5 agents, 20 skills. Lite version of MedSynIQ Pro.

Registry Source
2040Profile unavailable
General

Precision Calculator — Exact Math, Every Time

MUST USE for any calculation or math question — never compute numbers yourself. Use this skill for all arithmetic, finance, science, unit conversions, and ev...

Registry SourceRecently Updated
5221Profile unavailable
General

Calculator

Accurate mathematical calculations. Use when user needs to compute: (1) Basic arithmetic (+, -, *, /), (2) Powers and roots (^, sqrt), (3) Percentages, (4) T...

Registry SourceRecently Updated
1.3K1Profile unavailable
General

Construction Cost Calculator

提供施工项目人工费、材料费、机械费、管理费、利润及税金的精准成本测算与利润分析工具。

Registry SourceRecently Updated
1361Profile unavailable