Medical case report generator

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

Medical case report generator is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Generates a patient-friendly medical case report tweet from case images and disease name. Use when the user provides a medical case image and wants a structured report or tweet.

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/Others/medical-case-report-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

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

Medical Case Report Generator

Workflow

Follow these steps to generate the report.

1. Image Text Extraction

Input: case image

Action:

Extract printed and handwritten medical text from the image with high accuracy.

Focus on medical terminology, numbers, and units.

Perform image enhancement, correction, and validation.

Output: extracted medical text


2. Patient Info Extraction

Input: extracted medical text

Action:

Extract and anonymize patient information and examination results.

Include:

Rules:

Output format:


## Case Summary
...

## Examination Results
...

Final diagnosis: ...

3. Disease Content Generation

Input: disease name

Action: Generate three sections.

Disease Introduction

Include:


Treatment Options

Include:


Health Reminders

Include:


4. Encouragement Message

Generate 1-2 sentences of professional encouragement based on disease type.

Rules:


5. Title Generation

Generate 3 candidate titles.

Rules:


6. Final Output Compilation

Combine all generated sections into a single Markdown report.

Structure:


## Title Options
...

## Case Summary
...

## Examination Results
...

## Disease Introduction
...

## Treatment Options
...

## Health Reminders
...

## Encouragement
...

Notes for Integration

This skill is designed for:

When Not to Use

Required Inputs

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: medical_case_report_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.