Comprehensive Soap Note logo

Comprehensive Soap Note

OrganizationPopular
HKUDS
comprehensive-soap-note

Generate complete medical SOAP notes with all four sections in a single comprehensive file write operation

Overview

PublisherHKUDS
RepositoryOpenSpace
Skill namecomprehensive-soap-note
Stars
7.7K
Forks
918
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by HKUDS on GitHub. Read the source before you install it.

Installation

Install the Comprehensive Soap Note AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HKUDS/OpenSpace.git /tmp/OpenSpace
mkdir -p .claude/skills
cp -r /tmp/OpenSpace/benchmarks/gdpval/skills/create-soap-note-merged .claude/skills/comprehensive-soap-note
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Comprehensive Soap Note in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Comprehensive Soap Note on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Comprehensive Soap Note is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Comprehensive SOAP Note Creation

This skill defines the workflow for creating structured medical documentation (SOAP notes) by writing all required sections to a file in one comprehensive operation. This ensures completeness, consistency, and efficiency in clinical documentation.

When to Use

Use this skill when you need to create:

  • Medical visit documentation
  • Patient encounter records
  • Clinical meeting notes
  • Healthcare follow-up documentation

that follow the standard SOAP (Subjective, Objective, Assessment, Plan) format.

Objective

Produce a complete medical visit record containing all four SOAP sections without fragmenting the output across multiple files or incomplete drafts. The entire note should be written in a single operation to maintain consistency.

Prerequisites

Before creating the SOAP note, gather:

  • Patient demographics: age, gender, patient ID
  • Visit details: date, provider name, reason for visit
  • Clinical data: vitals, symptoms, exam findings, medical history
  • Diagnostic results: labs, imaging (if available)

Core Technique

Write the entire SOAP note in one comprehensive file write rather than building it incrementally. This ensures:

  • All sections are complete before writing
  • Consistency across the document
  • Reduced overhead from multiple write operations
  • No risk of partial or fragmented notes

Required Sections

Every SOAP note must include these four components:

1. Subjective (S)

Patient-reported information including:

  • Chief Complaint (CC): Patient's primary reason for visit (in their own words when possible)
  • History of Present Illness (HPI): Detailed narrative of current symptoms (use OLDCARTS or similar framework: Onset, Location, Duration, Characteristics, Aggravating/Relieving factors, Timing, Severity)
  • Past Medical History (PMH): Relevant conditions, surgeries, medications, allergies
  • Family History (FH): Pertinent family medical history
  • Social History (SH): Relevant social context (occupation, lifestyle, habits)
  • Review of Systems (ROS): Systematic symptom review if applicable

2. Objective (O)

Clinician-observed and measured data:

  • Vital Signs: BP, HR, RR, Temp, SpO2, weight, height (always include concrete values)
  • Physical Examination: System-by-system findings (HEENT, Cardiovascular, Respiratory, Abdomen, Neurological, Musculoskeletal, Skin, etc.)
  • Diagnostic Data: Lab results, imaging findings, EKG, other test results if available

3. Assessment (A)

Clinical synthesis and diagnosis:

  • Primary Diagnosis: Main clinical diagnosis (include ICD code if applicable)
  • Differential Diagnoses: Alternative considerations (at least 1-2 alternatives)
  • Clinical Reasoning: Brief justification linking subjective and objective findings to the assessment
  • Problem List: Current active problems if applicable

4. Plan (P)

Actionable next steps:

  • Management/Treatment: Specific interventions, procedures, therapies
  • Medications: Prescriptions with dose, frequency, route, duration
  • Follow-up: Timeline and conditions for return visit
  • Patient Education: Instructions, lifestyle modifications, warning signs to watch
  • Referrals: Specialist referrals if needed

Execution Pattern

1. Gather all patient information and clinical data
2. Structure content into the four SOAP sections (do not skip any section)
3. Write the complete note to file in ONE operation
4. Verify all four sections are present and contain substantive content

Template Example

markdown
# SOAP Note - [Patient Name/ID]
## Date: [Visit Date]
## Provider: [Provider Name]

## SUBJECTIVE
### Chief Complaint
[Patient's reason for visit in their own words]

### History of Present Illness
[Detailed symptom narrative using OLDCARTS framework]

### Past Medical History
[Relevant conditions, surgeries, medications, allergies]

### Family History
[Relevant family medical history]

### Social History
[Occupation, lifestyle, habits, social context]

## OBJECTIVE
### Vital Signs
- BP: [value] mmHg
- HR: [value] bpm
- RR: [value] breaths/min
- Temp: [value] °F/°C
- SpO2: [value]%
- Weight: [value] kg/lbs
- Height: [value] cm/ft

### Physical Examination
- **HEENT**: [findings]
- **Cardiovascular**: [findings]
- **Respiratory**: [findings]
- **Abdomen**: [findings]
- **Neurological**: [findings]
- **Musculoskeletal**: [findings]
- **Skin**: [findings]

### Diagnostic Data
[Labs, imaging, other test results with dates and values]

## ASSESSMENT
### Primary Diagnosis
[Diagnosis with ICD code if applicable]

### Differential Diagnoses
1. [Alternative diagnosis 1]
2. [Alternative diagnosis 2]

### Clinical Reasoning
[Brief explanation linking findings to diagnosis]

## PLAN
### Management
- [Medications with dose/frequency/duration]
- [Procedures/interventions]
- [Referrals if needed]

### Follow-up
[Timeline and conditions for return visit]

### Patient Education
[Instructions, lifestyle modifications, warning signs to watch]

File Naming

Save the complete note using a consistent naming convention:

  • soap_note_<patient_id>_<date>.md or
  • soap_note_<patient_id>_<date>.txt

Best Practices

  1. Completeness First: Include all four sections before writing—do not build incrementally
  2. Specificity: Use concrete values (vitals, dates, doses) rather than placeholders
  3. Clinical Accuracy: Ensure assessment logically follows from subjective and objective data
  4. Actionable Plan: Plan items should be specific and implementable
  5. No Section Omission: If data is genuinely missing, explicitly state "Information not provided" or "Not applicable" rather than skipping the section
  6. Privacy: Ensure no real PHI (Protected Health Information) is exposed in public logs if not authorized
  7. Clarity: Use medical terminology appropriately but keep patient instructions clear and understandable
  8. Single Write Operation: Aim to generate the full document in one iteration to reduce overhead and maintain consistency

Common Mistakes to Avoid

  • Writing sections separately across multiple iterations or files
  • Leaving sections incomplete or with placeholder text like [insert here]
  • Omitting differential diagnoses in the Assessment section
  • Creating vague, non-actionable Plan items
  • Missing vital signs or key physical exam findings in Objective
  • Skipping sections entirely when data is sparse (instead mark as "not applicable")

Troubleshooting

Missing Data

If specific clinical data is missing, explicitly state "Information not provided" or "Deferred" in the relevant section rather than skipping the section entirely.

File Size Issues

Comprehensive SOAP notes typically range 3,000-10,000+ characters depending on complexity. If the note is exceptionally long:

  • Ensure the file write command supports the content length
  • Consider using markdown format for better structure
  • Verify the complete content was written (check file size after write)

Incomplete Sections

After writing, verify all four headers (Subjective, Objective, Assessment, Plan) exist and contain substantive content. If any section is incomplete, rewrite the entire note in one operation.

Quality Checklist

Before considering the SOAP note complete, verify:

  • All four SOAP sections are present
  • Subjective includes CC, HPI, and relevant history
  • Objective includes vitals with concrete values
  • Objective includes physical exam findings by system
  • Assessment includes primary diagnosis AND at least one differential
  • Plan includes specific, actionable items (medications, follow-up, education)
  • No placeholder text like [insert here] unless genuinely unavailable
  • File was written in a single operation
  • File naming follows the convention

Example File Size Reference

  • Minimal SOAP note: ~2,000-3,000 characters
  • Standard SOAP note: ~4,000-7,000 characters
  • Complex SOAP note: ~8,000-12,000+ characters

Frequently asked questions

What does the Comprehensive Soap Note AI skill do?

Generate complete medical SOAP notes with all four sections in a single comprehensive file write operation

Why use Comprehensive Soap Note on TypingMind?

Because you install it once and use it with any model. Comprehensive Soap Note is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Comprehensive Soap Note in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HKUDS/OpenSpace/tree/main/benchmarks/gdpval/skills/create-soap-note-merged. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Comprehensive Soap Note?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Comprehensive Soap Note?

As many as you like. As long as a model supports skills, you can use Comprehensive Soap Note with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Comprehensive Soap Note AI skill free?

Yes. It is published on GitHub by HKUDS under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇