Agent Skills
Data-analysisMeta-analysisClinical

Meta-Analysis Forest Plotter

AIPOCH-AI

Input the Odds Ratio (OR) and Confidence Interval (CI) from multiple studies, and automatically generate Forest Plot code (Python) for Meta-analysis.

49
1
FILES
meta-analysis-forest-plotter/
skill.md
scripts
main.py

SKILL.md

Meta-Analysis Forest Plotter

Create publication-quality forest plots for meta-analyses.

Use Cases

  • Systematic review visualization
  • Meta-analysis publication
  • Evidence synthesis reporting

Parameters

ParameterTypeRequiredDefaultDescription
studiesstrYes-Path to study data file with OR/RR and CI
effect_measurestrNo"OR"Effect measure: "OR", "RR", or "MD"
subgroupstrNo-Subgroup analysis variable (optional)

Returns

  • Forest plot code (R meta package)
  • Funnel plot for publication bias
  • Heterogeneity statistics (I²)

Example

Input: 15 studies with OR and 95% CI Output: Publication-ready forest plot with pooled estimate

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

# Python dependencies
pip install -r requirements.txt

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