⏳ This skill is pending AI review.
Scores will appear once the review pipeline completes.
epic-note
Drafts a concise patient-portal message the user can copy-paste to a clinician via Epic MyChart, Oracle Health HealtheLife, or similar. Personal data is referenced from an external profile file, never embedded. USE FOR: symptom reports, refill requests, lab/result follow-ups, visit follow-ups, asking a single clear question. DO NOT USE FOR: clinical notes, SOAP/discharge documentation, insurance or billing letters, or answering the patient's medical question.
Choose how to use this skill
You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.
1. Native installer
This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.
Do not guess an installer command or replace an existing version without reviewing the diff.
2. Complete package recommended
Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.
No complete ProSkills package is published for this listing yet.3. Prompt-only
Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.
Need only the instruction file?
Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.
No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.
// RATINGS
// README
epic-note
epic-note drafts concise patient-portal messages the user can copy-paste
into Epic MyChart, Oracle Health HealtheLife, or similar systems. One clear
ask, plain language, copy-paste ready output.
The goal: help patients communicate with their care team without the agent ever auto-sending or playing doctor.
Why this skill exists
Portal messaging is high-friction for patients and high-risk for agents. Users dump symptoms, meds, and anxiety into one paragraph; agents either over-diagnose or produce walls of text clinicians ignore.
This skill enforces:
- triage-first (911 redirect beats drafting on red flags)
- single-ask discipline with a 150-word aim / 220-word cap
- canonical portal format from
references/portal-message-format.md - default clinician greeting from profile
care_team.pcpwhen unspecified
What it produces
Primary output is copy-paste ready portal text in chat:
Subject:line with urgency tier- greeting, one-sentence ask, brief context, optional bullets, sign-off
- no meta-commentary wrapped around the message
Runtime profile resolves from
references/profile-schema.md. Eval fixtures
use synthetic persona Dylan Meyer and PCP Dr. Dave Matthews.
Safety model
epic-note is constrained by design:
- never auto-send - drafts only
- emergency symptoms -> 911/ED redirect, not a portal message
- no clinical notes (SOAP, discharge, dictation)
- no insurance/billing letters
- medical-advice questions answered directly, not via a draft to a clinician
- PHI stays in the workspace; no web verification of clinician identifiers
Skill structure
- Runtime instructions:
SKILL.md - Profile resolution:
references/profile-schema.md - Portal message format:
references/portal-message-format.md - Red-flag triage rules:
references/triage-rules.md - Worked examples:
references/examples.md
Local quality checks
From repo root:
waza check skills/epic-note
bash scripts/waza-gate.sh
Use with OpenClaw
- Deploy:
~/tula/scripts/deploy-skills.sh --skill epic-note
openclaw skills list
- Invoke naturally:
- "Draft a MyChart message to my PCP about this cough."
- "Help me ask for a metformin refill."
- "Follow up on my latest A1c result."
Ensure ~/.openclaw/workspace/memory/profile.yaml includes
care_team.pcp.display_name for default greetings.
Waza evaluation suite
Status: live (Patient Agent Eval Standard v0.1)
Suite path: evals/epic-note/ (6 tasks including golden portal message)
Full scenario map: evals/epic-note/README.md (repo root).
waza check skills/epic-note
waza run evals/epic-note/eval.mock.yaml --skip-graders -v
waza run evals/epic-note/eval.yaml -v
Interpreting results
triage-overridefailure is an immediate release blocker.- Golden portal message task validates Subject/greeting/signoff and word count.
- Synthetic fixture persona: Dylan Meyer / Dr. Dave Matthews.
Release gate
Before production release:
- pass
waza check skills/epic-note - pass
bash scripts/waza-gate.sh - pass
waza run evals/epic-note/eval.mock.yaml --skip-graders -v - pass live
waza run evals/epic-note/eval.yaml -v - confirm
triage-overrideand adversarial tasks pass - manual smoke: one refill draft and one lab-follow-up draft on deployed VM
// HOW IT'S BUILT
// FILES
6 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.
skills/epic-note/SKILL.md3.5 KB2ca517f309e3upstream ↗
--- name: epic-note description: "Drafts a concise patient-portal message the user can copy-paste to a clinician via Epic MyChart, Oracle Health HealtheLife, or similar. Personal data is referenced from an external profile file, never embedded. USE FOR: symptom reports, refill requests, lab/result follow-ups, visit follow-ups, asking a single clear question. DO NOT USE FOR: clinical notes, SOAP/discharge documentation, insurance or billing letters, or answering the patient's medical question." metadata: { "openclaw": { "emoji": "✉️" } } --- # epic-note ## When to Use ✅ Use when: - The user asks for help drafting a message to their PCP or specialist - Reporting a new or worsening symptom - Asking about a recent test or lab result - Requesting a medication refill - Following up after a visit, procedure, or referral ## When NOT to Use ❌ Don't use when: - Symptoms suggest an emergency - return the 911 redirect from [`references/triage-rules.md`](references/triage-rules.md), don't draft - Generating a clinician-facing note (SOAP, discharge, dictation) - Drafting non-clinical letters (insurance, billing) - The user is asking a medical question for advice - that's answered directly, not in a portal message ## Setup **Profile.** Resolve from the precedence in [`references/profile-schema.md`](references/profile-schema.md#where-the-profile-lives) (skill config -> env var -> `~/.openclaw/workspace/memory/profile.yaml`). Use `care_team.pcp.display_name` as the default greeting recipient when the user doesn't name a clinician. The skill never contains the profile. ## Workflow 1. **Triage first.** Scan input for red-flag symptoms. If present, do NOT draft - return the 911 redirect text from [`references/triage-rules.md`](references/triage-rules.md). 2. **Identify the single ask.** If multiple unrelated topics exist, propose separate messages and ask the user which to send first. 3. **Draft** using the canonical format in [`references/portal-message-format.md`](references/portal-message-format.md): `Subject:` line with urgency, greeting, one-sentence ask, 2-4 sentences of context, optional bullet data, sign-off. 4. **Word budget.** Aim for ≤150 words; hard cap 220. Front-load the ask. Plain language. No self-diagnosis, no filler praise, no PHI of others. 5. **Output is copy-paste ready.** No explanations or meta-commentary wrapped around the message - just the message itself. ## Examples See [`references/examples.md`](references/examples.md) for worked input/output pairs (medication side effect, lab follow-up, refill request, multi-topic split). ## Privacy Portal messages travel through health-system networks under HIPAA. Tula generates drafts locally - no PHI leaves the workspace. - Don't include PHI of family members or third parties. - The draft stays in the conversation. Never auto-send. - Don't paste clinician/patient identifiers into web search or external services for "verification." ## Troubleshooting - **No clinician name given** -> use `care_team.pcp.display_name` from the profile, or `Hello [Care Team],` if none resolves. - **Vague input** -> ask one clarifying question (onset, severity, which clinician), then draft. - **User asks for medical advice** -> decline politely; this skill drafts messages *to* clinicians, not answers from them. - **Multi-topic input** -> propose separate messages, don't bundle. - **Emergency-flavored prompt** -> return triage redirect; never wrap a drafted message around it.skills/epic-note/README.md3.5 KB9e39172b6a6eupstream ↗
# epic-note `epic-note` drafts concise patient-portal messages the user can copy-paste into Epic MyChart, Oracle Health HealtheLife, or similar systems. One clear ask, plain language, copy-paste ready output. The goal: help patients communicate with their care team without the agent ever auto-sending or playing doctor. ## Why this skill exists Portal messaging is high-friction for patients and high-risk for agents. Users dump symptoms, meds, and anxiety into one paragraph; agents either over-diagnose or produce walls of text clinicians ignore. This skill enforces: - triage-first (911 redirect beats drafting on red flags) - single-ask discipline with a 150-word aim / 220-word cap - canonical portal format from [`references/portal-message-format.md`](references/portal-message-format.md) - default clinician greeting from profile `care_team.pcp` when unspecified ## What it produces Primary output is **copy-paste ready portal text** in chat: - `Subject:` line with urgency tier - greeting, one-sentence ask, brief context, optional bullets, sign-off - no meta-commentary wrapped around the message Runtime profile resolves from [`references/profile-schema.md`](references/profile-schema.md). Eval fixtures use synthetic persona **Dylan Meyer** and PCP **Dr. Dave Matthews**. ## Safety model `epic-note` is constrained by design: - **never auto-send** - drafts only - emergency symptoms -> 911/ED redirect, not a portal message - no clinical notes (SOAP, discharge, dictation) - no insurance/billing letters - medical-advice questions answered directly, not via a draft to a clinician - PHI stays in the workspace; no web verification of clinician identifiers ## Skill structure - Runtime instructions: [`SKILL.md`](SKILL.md) - Profile resolution: [`references/profile-schema.md`](references/profile-schema.md) - Portal message format: [`references/portal-message-format.md`](references/portal-message-format.md) - Red-flag triage rules: [`references/triage-rules.md`](references/triage-rules.md) - Worked examples: [`references/examples.md`](references/examples.md) ## Local quality checks From repo root: ```powershell waza check skills/epic-note bash scripts/waza-gate.sh ``` ## Use with OpenClaw 1. Deploy: ```bash ~/tula/scripts/deploy-skills.sh --skill epic-note openclaw skills list ``` 2. Invoke naturally: - "Draft a MyChart message to my PCP about this cough." - "Help me ask for a metformin refill." - "Follow up on my latest A1c result." Ensure `~/.openclaw/workspace/memory/profile.yaml` includes `care_team.pcp.display_name` for default greetings. ## Waza evaluation suite **Status:** live ([Patient Agent Eval Standard v0.1](../../evals/README.md)) Suite path: `evals/epic-note/` (6 tasks including golden portal message) Full scenario map: [`evals/epic-note/README.md`](../../evals/epic-note/README.md) (repo root). ```powershell waza check skills/epic-note waza run evals/epic-note/eval.mock.yaml --skip-graders -v waza run evals/epic-note/eval.yaml -v ``` ### Interpreting results - **`triage-override` failure** is an immediate release blocker. - **Golden** portal message task validates Subject/greeting/signoff and word count. - Synthetic fixture persona: Dylan Meyer / Dr. Dave Matthews. ## Release gate Before production release: - pass `waza check skills/epic-note` - pass `bash scripts/waza-gate.sh` - pass `waza run evals/epic-note/eval.mock.yaml --skip-graders -v` - pass live `waza run evals/epic-note/eval.yaml -v` - confirm `triage-override` and adversarial tasks pass - manual smoke: one refill draft and one lab-follow-up draft on deployed VMskills/epic-note/references/examples.md2.3 KB907c11cbacbbupstream ↗
# Worked Examples Each example shows the patient's free-text request and the ideal output. --- ## Example 1 - Medication side effect **Patient input:** > I started Lisinopril 10mg three weeks ago and I've been getting a dry cough > every night. I want to ask Dr. Dave Matthews if I should switch. **Output:** ``` Subject: Persistent dry cough since starting lisinopril - routine Hello Dr. Dave Matthews, I'd like to ask whether I should switch off lisinopril due to a persistent cough. I started lisinopril 10 mg about three weeks ago. Since roughly the second week, I've had a dry, non-productive cough that wakes me up most nights. No fever, no congestion, no shortness of breath. Home BP this morning: 128/82. - Current dose: lisinopril 10 mg daily - Started: ~3 weeks ago - Symptom: nightly dry cough, no other URI symptoms Thank you, Dylan ``` --- ## Example 2 - Lab result follow-up **Patient input:** > My A1c just came back at 6.4 - what does Dr. Nguyen want me to do next? **Output:** ``` Subject: A1c result follow-up - routine Hello Dr. Nguyen, I'd like guidance on next steps after my recent A1c result. My A1c came back at 6.4% (down from 6.8% three months ago). I'm continuing metformin 1000 mg twice daily and have not changed diet or activity since our last visit. Thank you, Dylan ``` --- ## Example 3 - Refill request **Patient input:** > I need a refill on metformin before my trip next week. **Output:** ``` Subject: Refill request - metformin - this week Hello Dr. Dave Matthews, Could I please get a refill on metformin 1000 mg twice daily before I travel next week? I have about 5 days remaining. Pharmacy: Riverside Pharmacy. Thank you, Dylan ``` --- ## Example 4 - Multi-topic input (split, do not bundle) **Patient input:** > I need a metformin refill, I have questions about my A1c, and there's a new > rash on my forearm. **Skill behavior:** ask the patient which to send first, since these are unrelated topics that route differently. Do not bundle into one message. **Output:** > These are three different asks that the care team will route differently. > Which would you like to send first? I recommend the rash if it's spreading > or you have a sulfa allergy on file. The refill is fastest as a separate > short message. The A1c discussion is best timed near your next visit.skills/epic-note/references/portal-message-format.md1.3 KB24209ee288a0upstream ↗
# Portal Message Format Use this exact shape for every drafted message: ``` Subject: <topic> - <urgency: routine | this week | urgent> Hello Dr. <last name>, <one-sentence ask> <2-4 sentences of relevant clinical context: onset, duration, severity, triggers, what's been tried, change since last visit> <bullet list of pertinent data, only if relevant> Thank you, <patient first name> ``` ## Rules - **Subject line**: topic + urgency tag. Urgency = `routine` | `this week` | `urgent`. - **Greeting**: `Hello Dr. <last name>,` if known, else `Hello [Care Team],`. - **First body sentence**: the ask. No throat-clearing. - **Context paragraph**: only what the clinician needs to act on the ask. - **Bullets**: only if there are 3+ data points (meds, vitals, dates) worth listing distinctly. - **Sign-off**: `Thank you,` then patient first name only. - **Word budget**: aim for ≤150 words; hard cap 220. - **Tone**: respectful, direct, calm. No apologies for "bothering" the team. ## Pertinent data to include when relevant - Current medication name + dose + start date - Home vitals (BP, HR, temperature, weight) with date - Recent lab/imaging result the patient is asking about (with date) - What the patient has already tried (OTC meds, rest, dietary changes) - Date of last related visit or testskills/epic-note/references/profile-schema.md1.4 KBf2ede895f421upstream ↗
# Profile Schema Personalization for `epic-note` lives outside the skill. The skill reads identity and default care-team fields from the workspace profile so drafts greet the right clinician without embedding real names in source. ## Where the profile lives Resolution order, first hit wins: 1. `skills.entries.epic-note.profile` in `openclaw.json` 2. `EPIC_NOTE_PROFILE` env var (absolute path) 3. `~/.openclaw/workspace/memory/profile.yaml` (default; shared with other Tula skills) If no profile resolves, use `Hello [Care Team],` as the greeting default. Do not fabricate a clinician name. ## Schema (keys this skill reads) ```yaml version: 1 identity: display_name: "Your Full Name" # optional; used in sign-off short_name: "Your" # optional pronouns: "they/them" # optional care_team: pcp: display_name: "Dr. Example Name" # optional default recipient specialty: "internal medicine" # optional context ``` When the user names a different clinician in the request, that name wins over `care_team.pcp`. ## What does NOT belong in the profile - Message body text, symptoms, or clinical narrative - Diagnoses, meds, lab values (those come from workspace memory or the user's prompt at runtime) - PHI of family members or third parties ## Eval fixtures Eval suites use the synthetic persona **Dylan Meyer** and **Dr. Dave Matthews** as PCP. See `evals/epic-note/fixtures/`.skills/epic-note/references/triage-rules.md1.8 KBe98e90465d38upstream ↗
# Triage Rules - Red Flags That Must Not Become a Portal Message Portal messages are typically reviewed within 1-3 business days. That is too slow for emergencies. If any of the following appear in patient input, **do not draft a message** - return the redirect text below. ## Red-flag symptoms - **Cardiac**: chest pain, pressure, or tightness - especially with shortness of breath, sweating, radiation to arm/jaw/back, or known cardiac history. - **Stroke (FAST)**: facial droop, arm weakness, speech difficulty - note time of symptom onset. - **Respiratory**: severe shortness of breath, inability to speak full sentences, signs of anaphylaxis (swelling, hives, throat tightness). - **Mental health crisis**: active suicidal ideation, plan, or intent; self-harm in progress. - **Bleeding / trauma**: heavy bleeding that won't stop after 10 minutes of pressure, severe head injury, sudden vision loss. - **Abdominal**: new severe abdominal pain, especially with vomiting blood, rigid abdomen, or fever. - **Sepsis risk**: fever with chills, confusion, or hypotension in an immunocompromised, post-surgical, or oncology patient. - **Pregnancy**: heavy vaginal bleeding, severe pelvic pain, decreased fetal movement in third trimester. - **Pediatric (caregiver)**: lethargy, poor responsiveness, breathing difficulty, or persistent high fever in an infant. ## Required redirect text When red flags are present, return: > Based on what you described, this should not go through the patient portal. > Please call 911 or go to the nearest emergency department now. Portal > messages are typically reviewed within 1-3 business days, which is too slow > for this. If you have a 24/7 nurse line, that is also faster than the > portal. Do not append a drafted message after the redirect.
Plain-text copy, no login: /skill-bundles/realactivity-tula-skills-epic-note.md