ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified productivity Safety 3/5

referral-letter-generator

Generate medical referral letters with patient summary, reason for referral.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/aipoch-ai/referral-letter-generator
Or

What This Skill Does

The referral-letter-generator is a specialized OpenClaw AI agent skill designed to streamline the creation of professional medical referral letters. It leverages structured data to synthesize patient summaries and clinical rationales into formal documentation. By utilizing predefined templates and logic-bound scripts, the tool ensures consistency, accuracy, and adherence to medical correspondence standards, reducing the administrative burden on healthcare providers and staff.

Installation

To integrate this skill into your OpenClaw environment, execute the following command in your terminal: clawhub install openclaw/skills/skills/aipoch-ai/referral-letter-generator Ensure that your system meets the Python 3.10+ requirement and that the necessary dependencies (such as docx, reportlab, and dataclasses) listed in the requirements.txt file are installed within your active virtual environment. You can verify the installation by running the provided py_compile check to ensure all scripts are parseable.

Use Cases

This skill is ideal for clinical administrative workflows where medical providers need to generate high-quality, reproducible referral letters quickly. It is particularly effective for:

  1. Generating standardized letters based on electronic health record (EHR) exports or structured summaries.
  2. Maintaining academic or institutional rigor in documentation by applying consistent formatting and constraint-based generation.
  3. Assisting healthcare offices in creating audit-ready, structured output that maintains a consistent tone and clinical depth across different patient scenarios.

Example Prompts

  1. "Generate a referral letter for patient John Doe, DOB 12/05/1978, for an cardiology consultation regarding recurring palpitations, using the standard template in assets/sample_referral.json."
  2. "Draft a referral summary for Sarah Jenkins to an orthopedic surgeon based on the attached patient history, emphasizing the chronic lower back pain and recent MRI findings."
  3. "Create a referral letter for an emergency ophthalmology consult for patient Mark Thompson; please ensure the summary includes the recent visual acuity decline as noted in the provided input data."

Tips & Limitations

To maximize the utility of this skill, ensure that your input data is clean and well-structured. Because this tool generates formal medical documents, always verify the generated text against the original clinical source material. If the tool encounters missing data points, the structured fallback path will attempt to alert you; however, manual review of the output is mandatory before any letter is transmitted to external providers. Always keep your local assets and references updated to match current facility policies.

Metadata

Author@aipoch-ai
Stars4473
Views1
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-aipoch-ai-referral-letter-generator": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#medical#healthcare#documentation#productivity#automation
Safety Score: 3/5

Flags: file-read, file-write, code-execution