Meta picos generator

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

Meta picos generator is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Generates PI(E)COS structure (Population, Intervention, Comparator, Outcomes, Study Design) from Meta-analysis or study titles. Use when the user wants to extract these elements from a title.

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/Data Analytics/meta-picos-generator"
python -m py_compile scripts/validate_skill.py
python scripts/validate_skill.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/validate_skill.py with the validated inputs.
  4. Review the generated output and return the final artifact with any assumptions called out.

Implementation Details

Validation Shortcut

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

python scripts/validate_skill.py --help

Meta PICOS Generator

This skill extracts PI(E)COS (Population, Intervention, Comparator, Outcomes, Study Design) elements from a clinical study or meta-analysis title.

Usage

When the user provides a study title, follow this two-step process to extract the information.

Step 1: Clean Title

First, remove any characters related to the type of research from the input title (e.g., "systematic review", "meta-analyses"), which are typically found at the end of the title.

Example:

Step 2: Extract PICOS

Based on the cleaned title from Step 1, act as a clinical research expert and extract the following information:

  1. P: Population/Participants with a certain disease.
  2. I(E): Intervention/Exposure.
  3. C: Comparator/Context.
  4. O: Outcomes.
  5. S: Study Characteristics/Design.
  1. Other: Keep empty if not applicable.

Constraint:

Output Format

Return the result in the following JSON format (no XML tags):

{
  "P": "...",
  "I(E)": "...",
  "C": "...",
  "O": "...",
  "S": "...",
  "Other": "..."
}

When Not to Use

Required Inputs

Recommended Workflow

  1. Validate the request against the skill boundary and confirm all required inputs are present.
  2. Select the documented execution path and prefer the simplest supported command or procedure.
  3. Produce the expected output using the documented file format, schema, or narrative structure.
  4. Run a final validation pass for completeness, consistency, and safety before returning the result.

Output Contract

Validation and Safety Rules

Failure Handling

Quick Validation

Run this minimal verification path before full execution when possible:

No local script validation step is required for this skill.

Expected output format:

Result file: meta_picos_generator_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.