Meta results risk of bias

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

Meta results risk of bias is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Generates the "Risk of Bias" results section for a meta-analysis based on assessment tables and statistics. Use when the user wants to draft the risk of bias analysis text from provided data tables.

How to use this skill

Skill file

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

When to Use

Key Features

Dependencies

Example Usage

cd "20260316/scientific-skills/Academic Writing/meta-results-risk-of-bias"
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/format_result.py --help

Risk of Bias Results Generator

This skill generates a professional, academic "Risk of Bias" results section for a meta-analysis. It analyzes the provided statistics and detailed assessment table, drafts the text using a clinical expert persona, and automatically formats the output with necessary figure citations.

When to Use This Skill

Use this skill when the user provides:

  1. Title: The title of the meta-analysis.
  2. Language: Target language (Chinese or English).
  3. Statistics: A summary table of bias risk assessment.
  4. Detailed Assessment Table: Detailed scores for each study across domains (D1-D5).

And asks for:

Workflow

  1. Draft Text: Analyze the input tables and draft an academic summary (>300 words).
  1. Format Output: Automatically insert the figure citation (Figure 1) before the last punctuation and append the figure caption.

Usage Instructions

1. Draft the Content

Use the following prompt to generate the initial text:

Role: Clinical Medical Expert

Task: Write an academic "Results" section based on the following inputs:

Requirements:

  1. Explicitly state the total number of studies evaluated.
  2. First, summarize the Overall bias risk (High, Some concerns, Low).
  3. Then, analyze each domain (D1-D5) specifically.
  4. Use specific numbers from the statistics table.
  5. Maintain a professional, objective, academic style.
  6. Length: >300 words.
  7. Language: {{language}}

2. Format the Result

Run the formatting script to insert the figure citation and caption.

python scripts/format_result.py --text "<generated_text>" --language "{{language}}"

Tools and Scripts

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-risk-of-bias 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-risk-of-bias 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_risk_of_bias_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.