install
source · Clone the upstream repo
git clone https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/clinical-note-summarization" ~/.claude/skills/freedomintelligence-openclaw-medical-skills-clinical-note-summarization && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/clinical-note-summarization" ~/.openclaw/skills/freedomintelligence-openclaw-medical-skills-clinical-note-summarization && rm -rf "$T"
manifest:
skills/clinical-note-summarization/SKILL.mdsource content
<!--
# COPYRIGHT NOTICE
# This file is part of the "Universal Biomedical Skills" project.
# Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>
# All Rights Reserved.
#
# This code is proprietary and confidential.
# Unauthorized copying of this file, via any medium is strictly prohibited.
#
# Provenance: Authenticated by MD BABU MIA
-->
name: clinical-note-summarization description: Structure raw clinical notes into SOAP-format summaries with explicit contradictions, missing data, and ICD-linked assessments using the provided prompt + usage script. allowed-tools:
- read_file
- run_shell_command
At-a-Glance
- description (10-20 chars): SOAP builder
- keywords: clinical-notes, SOAP, guardrails, ICD10, gaps
- measurable_outcome: Produce SOAP markdown + JSON (when requested) covering all four sections with ≥95% note coverage and explicit missing info in ≤2 minutes per note.
Inputs
(dictation, OCR, or EHR export) and optionalnote_text
metadata.patient_context
(output_format
default,markdown
when downstream validators need schema).json
Outputs
- Structured SOAP summary with Subjective/Objective/Assessment/Plan bulleting.
- Alerts plus missing-information checklist.
- Optional JSON payload using schema from README.
Workflow
- Load system prompt:
enforces no hallucinations + data gap surfacing.prompt.md - Normalize input: Pre-clean vitals, labs, and timeline context when available.
- Generate summary: Call preferred LLM (OpenAI, Anthropic, Gemini, OSS) using
as a template.usage.py - Validate: Cross-check extracted values vs. source text and ensure contradictions/missing data are spelled out.
- Deliver output: Provide markdown + JSON as required and log PHI handling steps.
Guardrails
- Never invent findings; state "not provided" explicitly.
- Mark outputs as documentation support only—not clinical decisions.
- Strip/re-mask PHI before storing prompts/responses.
References
- For detailed schema, guardrails, and integration snippets see
,README.md
, andprompt.md
.usage.py