Meta results forest plot analyzer

From aipoch/medical-research-skills · View interactive version

Meta results forest plot analyzer is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Analyzes forest plots for meta-analysis, generating detailed descriptions and formatting figure legends in Chinese or English. Use when the user wants to interpret a forest plot image, describe its statistical significance (heterogeneity, p-value), and format the output with s...

How to use this skill

Skill file

Source: https://github.com/aipoch/medical-research-skills

When to Use

Key Features

Dependencies

Example Usage

See ## Usage above for related details.

cd "20260316/scientific-skills/Academic Writing/meta-results-forest-plot-analyzer"
python -m py_compile scripts/format_result.py
python scripts/format_result.py --help

Example run plan:

  1. Confirm the user input, output path, and any required config values.
  2. Edit the in-file CONFIG block or documented parameters if the script uses fixed settings.
  3. Run python scripts/format_result.py with the validated inputs.
  4. Review the generated output and return the final artifact with any assumptions called out.

Implementation Details

See ## Workflow above for related details.

Validation Shortcut

Run this minimal command first to verify the supported execution path:

python scripts/validate_skill.py --help

Usage

  1. Analyze Image: The skill first uses a Vision LLM to describe the forest plot.
  2. Format Output: The skill then runs a script to insert citation markers and append figure legends.

Workflow

1. Image Analysis (Vision LLM)

The model analyzes the provided forest plot image along with optional metadata (title, statistics, outcome name).

Prompt Guidelines:

2. Output Formatting (Script)

Run scripts/format_result.py to finalize the text.

Formatting Rules:

Examples

User Input:

"Analyze this forest plot. Title: 'Effect of X on Y'. Statistics: I2=50%. Language: English."

Process:

  1. LLM generates description: "... The heterogeneity was moderate (I²=50%). .. The results were significant."
  2. Script formats it:

> Forest Plot

>

> ... The results were significant(Figure 2).

>

> {insert your image here}

>

> Figure 2 Forest plot of the pooled effect size

When Not to Use

Required Inputs

Output Contract

Validation and Safety Rules

Failure Handling

Input Validation

This skill accepts requests that match the documented purpose of meta-results-forest-plot-analyzer and include enough context to complete the workflow safely.

Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:

meta-results-forest-plot-analyzer only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

Quick Validation

Run this minimal verification path before full execution when possible:

python scripts/format_result.py --help

Expected output format:

Result file: meta_results_forest_plot_analyzer_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any

Deterministic Output Rules

Completion Checklist

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.