Clinical note summarization

From swaruplab/operon · View interactive version

Clinical note summarization is an AI agent skill from the GitHub repository swaruplab/operon. Structure raw clinical notes into SOAP-format summaries with explicit contradictions, missing data, and ICD-linked assessments using the provided prompt + usage script.

How to use this skill

Skill file

At-a-Glance

Inputs

Outputs

  1. Structured SOAP summary with Subjective/Objective/Assessment/Plan bulleting.
  2. Alerts plus missing-information checklist.
  3. Optional JSON payload using schema from README.

Workflow

  1. Load system prompt: prompt.md enforces no hallucinations + data gap surfacing.
  2. Normalize input: Pre-clean vitals, labs, and timeline context when available.
  3. Generate summary: Call preferred LLM (OpenAI, Anthropic, Gemini, OSS) using usage.py as a template.
  4. Validate: Cross-check extracted values vs. source text and ensure contradictions/missing data are spelled out.
  5. Deliver output: Provide markdown + JSON as required and log PHI handling steps.

Guardrails

References

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.