Medical case interpreter

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

Medical case interpreter is an AI agent skill from the GitHub repository aipoch/medical-research-skills. Generates compliant medical case report articles for WeChat.

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-interpreter"
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

Medical Case Interpreter

Description

This skill acts as a Senior Medical Expert to transform raw clinical data into a professional WeChat case report article. It enforces strict privacy, formatting, and style rules without requiring external scripts.

Inputs

Generation Rules

When executing this skill, the Agent must follow these steps and constraints:

Step 1: Privacy & Data Cleaning (Mental Check)

Step 2: Content Generation

Generate the article in a single pass using the following structure:

1. Title
2. Foreword
3. Case Report Body

Example Prompt for User

"Please generate a case report for [Product Name] based on the attached file. The doctor is [Doctor Name]."

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