Clinical case report

From skeletorflet/opencode-supreme-setup · View interactive version

Clinical case report is an AI agent skill from the GitHub repository skeletorflet/opencode-supreme-setup. Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case"

How to use this skill

Skill file

Clinical Case Report Skill

Generate a structured medical case presentation for clinical rounds,

conferences, or documentation. The output follows standard medical

formatting conventions used in hospital settings worldwide.

What you will produce

A single-page HTML case report (index.html). Content varies by format

(see references/case-formats.md — selected in Step 0):

SOAP / Conference format:

pertinent positives and negatives

with clinical reasoning for each

Brief Rounds format (daily review, ward round, handover, ICU, post-call):


Step-by-step workflow

Step 0 — Load reference files

Before starting, read both reference files:

  1. references/case-formats.md — use this to choose the correct output

format (SOAP, Conference, or Brief Rounds) based on the user's context

  1. references/checklist.md — keep P0 gates in mind throughout; you

must pass all P0 items before emitting the final artifact

Step 1 — Parse the brief

Read the user's prompt and extract:

If the chief complaint or presenting problem is missing:

Step 2 — Build the clinical narrative

For SOAP / Conference outputs: write the HPI as a continuous prose

narrative in standard clinical style:

"This is a [age]-year-old [sex] with a history of [relevant PMH] who

presents with [chief complaint]. Symptoms began [timeline] and are

characterised by [quality, severity, radiation]. Associated symptoms

include [list]. Pertinent negatives include [list]."

The HPI must be chronological. Include timeline markers

("2 hours prior to presentation", "onset yesterday morning").

For Brief Rounds outputs (daily review, ward round, handover, ICU,

post-call): skip the full HPI and examination. Instead produce:

Step 3 — Generate physiologically consistent clinical data

If the user has not provided specific values, generate values that are

internally consistent with the diagnosis:

Consistency checks (typical patterns):

impaired capillary refill — but medications (beta-blockers), age, or

shock type (neurogenic, spinal) can alter this pattern

temperature >38°C — but afebrile pneumonia exists, especially in

the elderly or immunocompromised

high-sensitivity troponin — but early presentations may have initially

normal troponin; CK-MB is not universally required

temperature abnormality — but compensated early sepsis may present

with normal vitals

(state which), glucose in mmol/L, haemoglobin in g/dL

Critical rule — preserve user-provided data:

note the atypical presentation in the assessment rather than

forcing canonical numbers

Step 4 — Write the assessment

The assessment section must contain:

  1. Primary diagnosis stated clearly on the first line
  2. Clinical reasoning — one sentence explaining why this is the

most likely diagnosis

  1. Differential diagnosis — exactly 3 to 5 items, each with one

sentence of supporting or refuting evidence

  1. Risk stratification — include a validated clinical score where

applicable (TIMI for ACS, GRACE for ACS, Killip class + Shock Index

for STEMI/cardiogenic shock, CURB-65 for pneumonia, qSOFA for sepsis,

Wells for PE, etc.). Killip class and Shock Index together are

accepted as sufficient risk stratification for STEMI/cardiogenic shock cases.

Step 5 — Write the management plan

The plan must be:

Do not write "start antibiotics" — write

"Piperacillin-Tazobactam 4.5g IV q8h for 5 days"

for the diagnosis

consults to request, and disposition

If you are uncertain about a specific dose, write

"[drug name] — dose per local formulary/protocol" rather than

inventing a dose.

Important — Prescribing Safety

Generated plans must:

(weight, renal function, allergies) are missing from the brief

when relevant patient data has not been provided

patient context (allergy status, renal/hepatic function, pregnancy

status, weight, anticoagulation/bleeding risk)

educational and documentation purposes only

Step 6 — Write `index.html`

Requirements for the HTML output:

(Georgia or system serif font preferred)

highlighted in a visually distinct callout box with red left border

<section data-od-id="hpi">...</section>
<section data-od-id="vitals">...</section>
<section data-od-id="pmh">...</section>
<section data-od-id="examination">...</section>
<section data-od-id="investigations">...</section>
<section data-od-id="assessment">...</section>
<section data-od-id="plan">...</section>

Step 7 — Self-check against `references/checklist.md`

Before emitting <artifact>, run every P0 item in references/checklist.md.

All P0 items must pass. Fix any failures before emitting.

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.