Meta baseline generator

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

Meta baseline generator is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Generates a meta-analysis baseline characteristics section (text + table) from raw data. Supports Chinese and English. Use when the user provides baseline data and wants a formatted results section.

How to use this skill

Skill file

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

Meta-Analysis Baseline Generator

This skill generates a standardized "Baseline Characteristics" section for meta-analysis papers, including a descriptive text summary and a formatted Markdown table.

When to Use

Key Features

Dependencies

Example Usage

cd "20260316/scientific-skills/Academic Writing/meta-baseline-generator"
python -m py_compile scripts/text_processor.py
python scripts/text_processor.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/text_processor.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.

Workflow

  1. Gather Inputs: Ensure you have the following from the user:
  1. Generate Text Description (LLM):
  1. Generate Markdown Table (LLM):
  1. Process and Combine (Script):

```python

import sys

sys.path.append('scripts')

from text_processor import process_content

final_result = process_content(

text_description=step2_output,

raw_table=step3_output,

language=language

)

print(final_result)

```

  1. Output: Present the final_result to the user.

Rules

Testing Guidelines

When testing this skill:

  1. Verify UTF-8 encoding: Ensure the output displays Chinese characters correctly (e.g., 【Results】 not ��Results��).
  2. Check citation placement: The citation tag should appear immediately before the final punctuation mark.
  3. Test edge cases:
  1. Validate table structure: Ensure markdown table has proper column alignment (|:---|).

Error Handling

Input Validation

This skill accepts requests that match the documented purpose of meta-baseline-generator 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-baseline-generator only handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.

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.