medical-soap-note-creation
What it does
This skill gives the AI a method for converting unstructured clinical encounter summaries into standard SOAP notes. It is for clinicians and medical staff who need organized visit documentation.
When to use it
- ✓When I have rough notes from a patient visit that need to be organized into SOAP format.
- ✓When I want the assessment and plan sections drafted from the visit information.
- ✓When I need a clinical note ready to add to an electronic health record.
Skill link
https://github.com/HKUDS/AgentPilot/blob/main/openspace/benchmarks/gdpval/skills/medical-soap-note-creation/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
“Here are my rough notes from today's patient visit. Please turn them into a complete SOAP note I can add to the record.”
5 new skills a week. 1 minute to read.
How it works
The AI extracts the key details such as demographics, complaint, exam findings, tests and medications, then places them into the four SOAP sections and drafts the assessment and plan.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Medical SOAP Note Creation
This skill provides a systematic approach to converting unstructured clinical encounter summaries into professional, comprehensive SOAP notes ready for electronic health record documentation.
Overview
SOAP notes organize clinical information into four standard sections:
- Subjective: Patient's reported symptoms and history
- Objective: Measurable clinical findings and data
- Assessment: Clinical diagnosis and reasoning
- Plan: Treatment strategy and follow-up
Step-by-Step Instructions
Step 1: Extract Key Information
Review the clinical encounter summary and identify:
- Patient demographics (age, sex, relevant history)
- Chief complaint and history of present illness
- Review of systems findings
- Physical examination results
- Diagnostic test results (labs, imaging)
- Current medications and allergies
- Past medical/surgical history
Step 2: Structure the SOAP Note
Organize information into the four SOAP sections:
Subjective (S):
- Chief complaint in patient's own words
- History of present illness (onset, duration, severity, aggravating/relieving factors)
- Review of systems (pertinent positives and negatives)
- Relevant past medical, family, and social history
Objective (O):
- Vital signs
- Physical examination findings by system
- Laboratory and imaging results
- Current medication list
Assessment (A):
- Primary diagnosis with ICD-10 code(s)
- Differential diagnoses if applicable
- Clinical reasoning connecting findings to diagnosis
Plan (P):
- Medications (new prescriptions, changes, discontinuations)
- Treatments and procedures
- Patient education provided
- Follow-up arrangements
- Return precautions
Step 3: Write the Complete Note
Compose the full SOAP note in a single write_file operation to ensure completeness and efficiency:
from write_file import write_file
soap_note = """SOAP NOTE
Date: [Encounter Date]
Patient: [Patient Name/ID]
SUBJECTIVE:
[Patient's reported symptoms and history in organized paragraphs]
OBJECTIVE:
[Clinical findings and data in organized sections]
ASSESSMENT:
[Diagnosis with clinical reasoning and ICD codes]
PLAN:
[Specific, actionable treatment steps and follow-up]
"""
write_file(path="soap_note.txt", content=soap_note)
Step 4: Quality Checklist
Before finalizing, verify:
- All four SOAP components present and clearly labeled
- ICD-10 codes included for all diagnoses
- Plan contains specific, actionable items with timelines
- Follow-up instructions are clear and specific
- Return precautions included
- Note is comprehensive (typically 3000-10000 characters for complex cases)
Best Practices
- Be Specific: Use quantifiable measurements and precise clinical terminology
- Include ICD Codes: Always pair diagnoses with appropriate ICD-10 codes
- Actionable Plans: Ensure each plan item has clear next steps, dosages, and timelines
- Single Operation: Write the complete note in one
write_fileoperation for efficiency and consistency - Professional Tone: Use clinical language appropriate for medical records
- Patient-Centered: Include patient education and shared decision-making when applicable
Example Structure
SOAP NOTE
Date: 2024-01-15
Patient: [Name], [Age], [Sex]
SUBJECTIVE:
CC: [Chief complaint]
HPI: [History of present illness using OLDCARTS or similar framework -
onset, location, duration, characteristics, aggravating/relieving factors,
timing, severity]
ROS: [Review of systems - pertinent positives and negatives by system]
PMH: [Past medical history]
PSH: [Past surgical history]
Medications: [Current medications with dosages]
Allergies: [Known allergies and reactions]
FH: [Family history]
SH: [Social history]
OBJECTIVE:
VS: T [temp], BP [blood pressure], HR [heart rate], RR [respiratory rate],
SpO2 [oxygen saturation], Wt [weight]
General: [Appearance, distress level]
HEENT: [Head, eyes, ears, nose, throat findings]
CV: [Cardiovascular examination]
Resp: [Respiratory examination]
Abd: [Abdominal examination]
MSK: [Musculoskeletal examination]
Neuro: [Neurological examination]
Skin: [Dermatological findings]
Labs: [Relevant laboratory results with values and reference ranges]
Imaging: [Imaging study results]
ASSESSMENT:
1. [Primary diagnosis] - ICD-10: [code]
[Brief clinical reasoning supporting diagnosis]
2. [Secondary diagnosis if applicable] - ICD-10: [code]
[Brief c
FAQ
What information should I provide?
Patient details, the chief complaint, symptoms, exam results, test results, medications, allergies and history.
Does it include diagnosis codes?
The skill description mentions ICD codes, so the note may include them when the information supports it.
Should a clinician review the note?
Yes, a clinician should check the note for accuracy before using it in the record.
Details
Original description by the author
Transform unstructured clinical encounters into comprehensive SOAP notes with ICD codes and care plans
repo: HKUDS/AgentPilot
Popularity
- GitHub stars
- 7.8k
- Ranking position
- #12897
- 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.