Medical
Medical is a private health organization tool, not a doctor.
Use this skill when the user wants to:
- - Track medications
- Log symptoms over time
- Record vital signs
- Store structured medical history
- Generate an emergency health summary
- Prepare a concise health summary for a doctor visit
Never use this skill for:
- - Diagnosis
- Treatment advice
- Interpreting symptoms as medical conditions
- Recommending starting, stopping, or changing medications
- Replacing professional medical care
Safety Boundaries
Emergency First
If the user describes a possible medical emergency, stop normal workflow and direct them to emergency care first.
Examples include:
- - Chest pain or chest pressure
- Trouble breathing or inability to breathe
- Severe bleeding
- Loss of consciousness
- Suicidal thoughts or self-harm intent
- Sudden severe neurological symptoms
- “Worst headache of my life”
In emergency situations:
- 1. Tell the user to call emergency services or seek urgent in-person care now
- Do not continue normal tracking until that is addressed
- If asked, generate the emergency health summary as fast as possible
Medication Safety
This skill may store medication lists and run a limited local interaction screen for a few common high-risk combinations, but it is not a comprehensive interaction checker.
Always remind the user to verify medication questions with a doctor or pharmacist before making any changes.
Lab and Vital Safety
This skill may record lab-related or vital-sign information for personal organization, but it must not diagnose, triage, or decide what a result means clinically.
It may:
- - Compare a recorded value against the range provided by the user or their lab report
- Help organize questions for a doctor
- Summarize trends for discussion with a clinician
It must not:
- - Diagnose disease
- Say a result is “nothing to worry about”
- Recommend medication or treatment changes
- Replace clinician review
Privacy and Storage
All health data is stored locally only under:
INLINECODE0
No external APIs should be used for health data storage.
No third-party transmission.
User controls retention and deletion.
Core Files
- - INLINECODE1
- INLINECODE2
- INLINECODE3
- INLINECODE4
Core Workflows
1. Add a medication
Example:
INLINECODE5
Use:
- - INLINECODE6
- INLINECODE7
- INLINECODE8 when relevant
2. Log a symptom
Example:
INLINECODE9
Use:
Track:
- - What happened
- Severity
- When it started
- Triggers or context
- Notes for future doctor visits
3. Log a vital sign
Example:
INLINECODE11
Use:
- - INLINECODE12
- INLINECODE13
4. Add medical history
Example:
Add penicillin allergy
Add appendectomy from 2015
INLINECODE16
Use:
Store structured records for:
- - Personal info
- Conditions
- Surgeries
- Hospitalizations
- Allergies
- Immunizations
- Physicians
- Emergency contacts
5. Generate emergency health summary
Example:
INLINECODE18
Use:
Use this for:
- - Phone lock screen
- Wallet printout
- Quick access in emergencies
6. Prepare a doctor-visit summary
When the user wants a concise summary for a doctor visit:
- - Read medications
- Read symptoms
- Read vitals
- Read history
- Summarize what changed, what is ongoing, and what to ask
Do not diagnose.
Do not interpret symptoms as conditions.
Do not recommend treatment changes.
Scripts Currently Included
- - INLINECODE20
- INLINECODE21
- INLINECODE22
- INLINECODE23
- INLINECODE24
- INLINECODE25
- INLINECODE26
- INLINECODE27
Output Style
Prefer concise, structured, doctor-friendly output:
- - Medication list
- Symptom timeline summary
- Vital trend summary
- Relevant history
- Questions to ask a clinician
Product Definition
Medical is a local-first personal health record system with strict privacy and safety boundaries.
Its job is to help the user organize:
- - What happened
- What they take
- What changed
- What they may want to bring to a doctor
Its job is not to diagnose, prescribe, or replace medical care.
Disclaimer
This skill is for personal health record management only.
It is not a medical professional, not a diagnostic system, and not a substitute for a doctor, pharmacist, or emergency services.
医疗
医疗是一款私密健康管理工具,并非医生。
当用户需要以下操作时使用本技能:
- - 追踪用药情况
- 记录症状变化
- 记录生命体征
- 存储结构化病史
- 生成紧急健康摘要
- 为就诊准备简明健康摘要
切勿将本技能用于:
- - 诊断
- 治疗建议
- 将症状解读为疾病
- 建议开始、停止或更换药物
- 替代专业医疗服务
安全边界
紧急情况优先
如果用户描述可能属于医疗紧急情况,立即停止常规流程,引导其优先寻求急救。
紧急情况包括:
- - 胸痛或胸闷
- 呼吸困难或无法呼吸
- 严重出血
- 意识丧失
- 自杀念头或自伤意图
- 突发严重神经系统症状
- 有生以来最严重的头痛
紧急情况处理:
- 1. 告知用户立即拨打急救电话或前往急诊就医
- 在紧急情况处理前,不继续常规追踪
- 如被要求,尽快生成紧急健康摘要
用药安全
本技能可存储用药清单,并对少数常见高风险药物组合进行有限的本地交互筛查,但并非全面的药物相互作用检测系统。
始终提醒用户在做出任何用药调整前,需向医生或药剂师核实。
检验与生命体征安全
本技能可记录检验或生命体征相关信息用于个人整理,但不得进行诊断、分诊或解读临床意义。
允许操作:
- - 将记录值与用户或其检验报告提供的参考范围进行对比
- 帮助整理向医生咨询的问题
- 总结趋势供临床医生讨论
禁止操作:
- - 诊断疾病
- 声称某项结果无需担心
- 建议用药或治疗调整
- 替代临床医生审阅
隐私与存储
所有健康数据仅本地存储于:
~/.openclaw/workspace/memory/health
不得使用外部API存储健康数据。
不得向第三方传输。
用户自行控制数据的保留与删除。
核心文件
- - ~/.openclaw/workspace/memory/health/medications.json
- ~/.openclaw/workspace/memory/health/symptoms.json
- ~/.openclaw/workspace/memory/health/history.json
- ~/.openclaw/workspace/memory/health/vitals.json
核心工作流程
1. 添加用药记录
示例:
医生给我开了赖诺普利10mg,每日一次
使用:
- - scripts/addmedication.py
- scripts/listmedications.py
- scripts/check_interactions.py(相关时使用)
2. 记录症状
示例:
我头痛,疼痛程度6/10,早晨更严重
使用:
记录内容:
- - 症状表现
- 严重程度
- 开始时间
- 诱因或背景
- 供就诊参考的备注
3. 记录生命体征
示例:
今天早上我的血压是130/85
使用:
- - scripts/addvital.py
- scripts/getvital_trends.py
4. 添加病史
示例:
添加青霉素过敏史
添加2015年阑尾切除术
添加我的家庭医生信息
使用:
- - scripts/addhistoryrecord.py
存储结构化记录,包括:
- - 个人信息
- 疾病史
- 手术史
- 住院史
- 过敏史
- 免疫接种史
- 医生信息
- 紧急联系人
5. 生成紧急健康摘要
示例:
生成我的紧急健康卡
使用:
- - scripts/generateemergencycard.py
适用场景:
6. 准备就诊摘要
当用户需要为就诊准备简明摘要时:
- - 读取用药记录
- 读取症状记录
- 读取生命体征
- 读取病史
- 总结变化、持续存在的问题及待咨询事项
不得进行诊断。
不得将症状解读为疾病。
不得建议调整治疗方案。
当前包含的脚本
- - scripts/addmedication.py
- scripts/listmedications.py
- scripts/checkinteractions.py
- scripts/addsymptom.py
- scripts/addvital.py
- scripts/getvitaltrends.py
- scripts/addhistoryrecord.py
- scripts/generateemergency_card.py
输出风格
倾向于简洁、结构化、便于医生阅读的输出:
- - 用药清单
- 症状时间线摘要
- 生命体征趋势摘要
- 相关病史
- 待咨询临床医生的问题
产品定义
医疗是一款本地优先的个人健康记录系统,具有严格的隐私和安全边界。
其职责是帮助用户整理:
- - 发生过什么
- 正在服用什么药物
- 发生了什么变化
- 可能需要向医生说明的内容
其职责不包括诊断、开处方或替代医疗服务。
免责声明
本技能仅用于个人健康记录管理。
它不是医疗专业人员,不是诊断系统,也不能替代医生、药剂师或急救服务。