Medical-research-skills meta-results-funnel-plot-generator
Generates a Meta-analysis results section description for funnel plots, including statistical tables (Egger's, Begg's, Trim & Fill) and figure legends. Supports English and Chinese outputs. Use when user provides a funnel plot image and statistics and wants a formatted report.
install
source · Clone the upstream repo
git clone https://github.com/aipoch/medical-research-skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/aipoch/medical-research-skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/scientific-skills/Academic Writing/meta-results-funnel-plot-generator" ~/.claude/skills/aipoch-medical-research-skills-meta-results-funnel-plot-generator && rm -rf "$T"
manifest:
scientific-skills/Academic Writing/meta-results-funnel-plot-generator/SKILL.mdsource content
Meta-Analysis Funnel Plot Generator
This skill generates a standardized meta-analysis result section based on a funnel plot image, statistical data, and a title. It orchestrates LLM generation for descriptions and tables, then uses a Python script to assemble the final report.
When to Use
- Use this skill when you need generates a meta-analysis results section description for funnel plots, including statistical tables (egger's, begg's, trim & fill) and figure legends. supports english and chinese outputs. use when user provides a funnel plot image and statistics and wants a formatted report in a reproducible workflow.
- Use this skill when a academic writing task needs a packaged method instead of ad-hoc freeform output.
- Use this skill when the user expects a concrete deliverable, validation step, or file-based result.
- Use this skill when
is the most direct path to complete the request.scripts/main.py - Use this skill when you need the
package behavior rather than a generic answer.meta-results-funnel-plot-generator
Key Features
- Scope-focused workflow aligned to: Generates a Meta-analysis results section description for funnel plots, including statistical tables (Egger's, Begg's, Trim & Fill) and figure legends. Supports English and Chinese outputs. Use when user provides a funnel plot image and statistics and wants a formatted report.
- Packaged executable path(s):
.scripts/main.py - Reference material available in
for task-specific guidance.references/ - Structured execution path designed to keep outputs consistent and reviewable.
Dependencies
:Python
. Repository baseline for current packaged skills.3.10+
:Third-party packages
. Add pinned versions if this skill needs stricter environment control.not explicitly version-pinned in this skill package
Example Usage
See
## Usage above for related details.
cd "20260316/scientific-skills/Academic Writing/meta-results-funnel-plot-generator" python -m py_compile scripts/main.py python scripts/main.py --help
Example run plan:
- Confirm the user input, output path, and any required config values.
- Edit the in-file
block or documented parameters if the script uses fixed settings.CONFIG - Run
with the validated inputs.python scripts/main.py - Review the generated output and return the final artifact with any assumptions called out.
Implementation Details
See
## Workflow above for related details.
- Execution model: validate the request, choose the packaged workflow, and produce a bounded deliverable.
- Input controls: confirm the source files, scope limits, output format, and acceptance criteria before running any script.
- Primary implementation surface:
.scripts/main.py - Reference guidance:
contains supporting rules, prompts, or checklists.references/ - Parameters to clarify first: input path, output path, scope filters, thresholds, and any domain-specific constraints.
- Output discipline: keep results reproducible, identify assumptions explicitly, and avoid undocumented side effects.
Usage
Trigger this skill when the user provides:
- Funnel Plot Image: The visual plot.
- Statistics: Text containing statistical data (Egger's test, Begg's test, Trim & Fill).
- Title/Outcome: Context for the analysis.
- Language: "Chinese" or "English".
Workflow
- Generate Description: Use LLM to describe the funnel plot (symmetry, outliers) based on the image and stats.
- Generate Tables: Use LLM to format the provided statistics into three specific Markdown tables:
- Egger's test (Bias assessment)
- Begg's test
- Trim and Fill method
- Assemble Report: Run
to:scripts/main.py- Clean LLM outputs (remove markdown fences).
- Insert figure reference "(Figure 3)" or "(Figure 3)" into the description. * Combine Description, Image Placeholder, Figure Legend, and Tables into the final output.
Quality Rules
- Language: Output must match the requested language (Chinese/English).
- Structure: The final output must strictly follow the order: Description -> Figure -> Legend -> Tables.
- Formatting: Tables must be standard Markdown.
Reference
See prompts.md for the LLM prompts used in this workflow.