← 返回 Skills 市场
94
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install dialysis-assistant
功能描述
自动记录和分析透析上下机体重、血压及脱水量,提供趋势、警告和个性化饮水建议。
使用说明 (SKILL.md)
透析记录助手 (dialysis)
自动记录透析数据,提供脱水量计算、趋势分析、超重警告、血压记录等完整功能。
激活关键词
用户发送消息包含以下关键词时自动激活:
透析、下机、上机体重、脱水透析记录、历史下次透析设置干体重、设置舒适体重、设置脱水上限
核心功能
1. 记录下机体重
用户说"下机 59.6"或类似格式时自动记录:
- 提取体重数值(支持:小数、整数)
- 可选血压(如"下机 59.6 血压 140/90")
- 可选备注(如"下机 59.6 备注 有点头晕")
- 自动计算距上次透析天数
- 自动判断是否达到干体重/舒适体重
支持格式:
下机 59.6下机59.6下机 59.6 血压 140/90下机 59.6 备注 头晕
2. 记录上机体重
用户说"上机 63.5"时自动计算:
- 计算体重增长(本次 - 上次下机)
- 计算体重增长百分比
- 计算建议脱水量(不超过上限和体重增长)
- 计算超滤率 (ml/h)
- 预计透析后体重
- 超重警告(超过3400ml时提醒)
- 喝水建议(根据间隔天数)
支持格式:
上机 63.5上机63.5 血压 150/95
3. 查看历史记录
用户说"透析记录"或"历史"时:
- 显示最近10次透析记录表格
- 包含:日期、上机体重、下机体重、脱水量、间隔天数
- 趋势分析:平均脱水量、近3次平均体重增长
- 血压趋势(如果有记录)
4. 下次透析参考
用户说"下次透析"时:
- 显示上次下机体重和脱水量
- 距上次透析天数
- 根据间隔天数给出安全体重增长范围
- 每日喝水建议上限
5. 修改设置
用户可调整个人参数:
设置干体重 60.5- 干体重 (kg)设置舒适体重 59- 舒适体重 (kg)设置脱水上限 3500- 脱水上限 (ml)
6. 查看设置
透析设置或设置- 显示当前所有参数
数据存储
文件位置:/other/透析数据(勿删)/dialysis-data.json(公共空间)
数据格式:
{
"settings": {
"dryWeight": 60.8,
"comfortWeight": 59.5,
"maxRemoval": 3400
},
"records": [
{
"date": "2026-04-13",
"preWeight": 63.5,
"postWeight": 59.6,
"preBp": "150/95",
"postBp": "140/90",
"removal": 3900,
"intervalDays": 1,
"notes": "有点头晕",
"timestamp": "2026-04-13T09:15:00"
}
]
}
响应示例
记录下机
✅ 已记录下机体重: 59.6 kg
🩺 血压: 140/90
🎯 达到舒适体重!
📝 备注: 有点头晕
记录上机
📋 透析设置建议
🖊️ 上机体重: 63.5 kg
💧 体重增长: 3900 ml (6.1%)
💧 建议脱水量: 3400 ml
⏱️ 超滤率: 850 ml/h
🎯 预计下机: 60.1 kg
🩺 上机血压: 150/95
🎯 预计可达干体重
⚠️ 体重增长 3900ml,已达上限!
💧 建议今日饮水: ≤ 1360 ml
━━━━━━━━━━━━━━━━━━━━━━
🏥 目标参考:
干体重: 60.8 kg
舒适体重: 59.5 kg
脱水上限: 3400 ml
祝透析顺利!💪
历史记录
📊 透析历史记录 (最近10次)
━━━━━━━━━━━━━━━━━━━━━━
日期 上机 下机 脱水 间隔
━━━━━━━━━━━━━━━━━━━━━━
2026-04-13 63.5 59.6 3400 1
2026-04-11 64.0 59.8 4200 2
...
📈 平均脱水量: 3500 ml (接近上限)
📊 近3次平均体重增长: 4000 ml
🩺 最近血压: 140/90
默认参数
- 干体重: 60.8 kg
- 舒适体重: 59.5 kg
- 脱水上限: 3400 ml
技术实现
脚本位置:/home/node/.openclaw/workspace/skills/dialysis/dialysis.py
调用方式:通过 Python 脚本处理用户消息,返回格式化结果。
注意事项
- 体重单位为 kg,脱水量单位为 ml
- 血压格式支持:xxx/xx(如 140/90)
- 超滤率按4小时透析计算
- 体重增长超过脱水上限时会发出警告
- 所有记录自动保存到本地 JSON 文件
安全使用建议
This skill appears to perform the dialysis recordkeeping it claims, but it stores identifiable health data in a public/shared folder (/other/透析数据(勿删)/dialysis-data.json) and runs a backup script that also writes there. Before installing or using with real patient data: 1) Do not use with real PHI unless you confirm the directory is private and access-restricted; 2) Prefer encryption or a protected storage location and verify file permissions; 3) Review and, if needed, modify sync-backup.sh to avoid exposing backups to other users; 4) Consider disabling automatic activation keywords or testing in an isolated sandbox first; 5) Review the code for correctness (there are minor logic bugs in message handling) and for any additional I/O you don't expect. If you cannot verify the storage privacy and access controls, treat this skill as unsafe for real patient data.
功能分析
Type: OpenClaw Skill
Name: dialysis-assistant
Version: 1.0.2
The dialysis-assistant skill is a legitimate tool designed to help users track dialysis-related medical data such as weight, blood pressure, and dehydration levels. The bundle consists of a Python logic script (`dialysis.py`), a shell script for data backup (`sync-backup.sh`), and clear instructions in `SKILL.md`. Data is stored locally in a JSON file, and while the Python script uses `os.system` to trigger the backup, the command is hardcoded and does not incorporate unsanitized user input. All functionalities are strictly aligned with the stated purpose, and there are no indicators of data exfiltration, persistence, or malicious intent.
能力评估
Purpose & Capability
Name/description, SKILL.md, and dialysis.py are consistent: parsing user messages, storing dialysis records, computing removals/ufr, and presenting history. No unrelated cloud or admin credentials are requested.
Instruction Scope
SKILL.md and the included Python implementors instruct the agent to save all personal health data to /other/透析数据(勿删)/dialysis-data.json (explicitly labelled '公共空间'). That exposes protected health information (weights, blood pressure, notes) to any process or user who can read that shared path. The skill also auto-activates on many keywords, which increases the chance of recording data unintentionally.
Install Mechanism
No install spec; skill is delivered as files only. This minimizes supply-chain risk. The code does call a local shell script (sync-backup.sh) via os.system, which is included in the bundle (not downloaded from an external URL).
Credentials
The skill requests no credentials or env vars, which is appropriate, but writing sensitive patient data plaintext into a shared filesystem is disproportionate from a privacy perspective. There is no encryption, access control, or opt-in consent indicated for storage/backup.
Persistence & Privilege
Flags are default (always: false); the skill is user-invocable and can be invoked autonomously as platform-default. It does not modify other skills or system-wide settings. It does execute a local backup script on each save via os.system, which writes to the same public area.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install dialysis-assistant - 安装完成后,直接呼叫该 Skill 的名称或使用
/dialysis-assistant触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- 更改数据存储路径为 `/other/透析数据(勿删)/dialysis-data.json`,以取代原有路径
- 其余功能和指令保持不变
v1.0.1
- 更改数据存储位置至 `/other/dialysis-data.json`(公共空间)。
- 更新文档描述以反映新数据存储路径。
- 其余核心功能和用法保持不变。
v1.0.0
Initial release of Dialysis Assistant with full-cycle dialysis data tracking and analysis:
- Automatically records pre- and post-dialysis weight, blood pressure, removal volume, and notes via chat.
- Calculates fluid overload, removal recommendations, ultrafiltration rate, target weights, and sets hydration alerts.
- Provides historical records, trend analysis, and average values for informed self-management.
- Allows users to customize dry weight, comfort weight, and removal upper limit.
- All data securely stored in a local JSON file; quick summary reports and recommendations available in chat.
元数据
常见问题
dialysis-assistant 是什么?
自动记录和分析透析上下机体重、血压及脱水量,提供趋势、警告和个性化饮水建议。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。
如何安装 dialysis-assistant?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install dialysis-assistant」即可一键安装,无需额外配置。
dialysis-assistant 是免费的吗?
是的,dialysis-assistant 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
dialysis-assistant 支持哪些平台?
dialysis-assistant 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 dialysis-assistant?
由 噢福阔斯KANG(@jinkang19940922)开发并维护,当前版本 v1.0.2。
推荐 Skills