comprehensive-soap-note
What it does
This skill guides the AI in writing a structured medical visit record with Subjective, Objective, Assessment and Plan sections. It is for clinicians and staff who document patient visits.
When to use it
- ✓When I need to write up a patient visit in the standard SOAP format.
- ✓When I have visit details, vitals and exam findings to turn into a clinical record.
- ✓When I want a complete note written at once, instead of in separate pieces.
Skill link
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/create-soap-note-merged/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Please turn my visit notes and vitals into a complete SOAP note for the patient file.”
5 new skills a week. 1 minute to read.
How it works
The AI gathers the visit details and clinical data, then writes all four SOAP sections into one file. Sections with little data are marked as not applicable or deferred.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
# 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,
FAQ
Does the note replace clinical review?
No, the skill helps write the note, and the clinician should still check it for accuracy.
What information is needed first?
Patient age, gender and ID, the visit date and provider, the reason for the visit, and clinical data such as vitals.
Are missing details left out?
No, the guide says to note that a section is not applicable or deferred instead of leaving it out.
Details
Original description by the author
Generate complete medical SOAP notes with all four sections in a single comprehensive file write operation
repo: HKUDS/AgentPilot
Popularity
- GitHub stars
- 7.8k
- Ranking position
- #12848
- License
- MIT
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
agentpilot
7.8kHelps your agent improve a project step by step by preparing a task and running the AgentPilot loop that proposes, tests and scores changes.
openspace
7.8kHelps your agent set up OpenSpace, a tool that stores and fetches agent skills, and connect it to your AI app through MCP.
rsi-arena
7.8kHelps your agent set up and run standard AI benchmark tests, such as AIME and Terminal-Bench, to compare different improvement methods.
experiment-guide
7.8kHelps your agent plan small experiments, read their results and record findings while it investigates how to improve a program.
Similar skills
obsidian-vault-maintainer
394kHelps your agent keep an Obsidian-friendly memory vault tidy, with working wiki links, consistent properties, and safe generated sections.
wiki-maintainer
394kHelps your agent maintain an OpenClaw memory wiki with repeatable pages, safe managed blocks, and checks for contradictions or gaps.
obsidian
394kLets your agent read, search, create, and edit Obsidian notes, tasks, links, and properties using the official Obsidian command line.