Skills ebm-calculator
Evidence-Based Medicine calculator for sensitivity, specificity, PPV,
install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/aipoch-ai/ebm-calculator" ~/.claude/skills/openclaw-skills-ebm-calculator && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/aipoch-ai/ebm-calculator" ~/.openclaw/skills/openclaw-skills-ebm-calculator && rm -rf "$T"
manifest:
skills/aipoch-ai/ebm-calculator/SKILL.mdsource content
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
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
, | string | diagnostic | No | Calculation mode (diagnostic, nnt, probability) |
, | int | - | * | True positives (diagnostic mode) |
, | int | - | * | False negatives (diagnostic mode) |
, | int | - | * | True negatives (diagnostic mode) |
, | int | - | * | False positives (diagnostic mode) |
, | float | - | No | Disease prevalence 0-1 (diagnostic mode) |
| float | - | ** | Control event rate 0-1 (nnt mode) |
| float | - | ** | Experimental event rate 0-1 (nnt mode) |
| float | - | *** | Pre-test probability 0-1 (probability mode) |
| float | - | *** | Likelihood ratio (probability mode) |
, | string | stdout | No | Output 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 Indicator | Assessment | Level |
|---|---|---|
| Code Execution | Python/R scripts executed locally | Medium |
| Network Access | No external API calls | Low |
| File System Access | Read input files, write output files | Medium |
| Instruction Tampering | Standard prompt guidelines | Low |
| Data Exposure | Output files saved to workspace | Low |
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
- Basic Functionality: Standard input → Expected output
- Edge Case: Invalid input → Graceful error handling
- 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