{"id":49038825,"url":"https://github.com/JuneYaooo/mediwise-health-suite","last_synced_at":"2026-04-19T14:01:09.582Z","repository":{"id":343052428,"uuid":"1176012398","full_name":"JuneYaooo/mediwise-health-suite","owner":"JuneYaooo","description":"Family health management skill for OpenClaw – health records, diet tracking     家庭健康管理助手 for OpenClaw | 健康档案、饮食追踪、体重管理、就医摘要 | 本地 SQLite 存储，隐私优先","archived":false,"fork":false,"pushed_at":"2026-03-28T17:07:03.000Z","size":683,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-04T07:44:18.594Z","etag":null,"topics":["diet-tracker","family-health","health-management","health-tracker","openclaw","weight-tracker"],"latest_commit_sha":null,"homepage":"https://clawhub.ai/JuneYaooo/mediwise-health-suite","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JuneYaooo.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-08T13:53:40.000Z","updated_at":"2026-03-28T17:07:07.000Z","dependencies_parsed_at":"2026-03-08T20:03:03.702Z","dependency_job_id":null,"html_url":"https://github.com/JuneYaooo/mediwise-health-suite","commit_stats":null,"previous_names":["juneyaooo/mediwise-health-suite"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/JuneYaooo/mediwise-health-suite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneYaooo%2Fmediwise-health-suite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneYaooo%2Fmediwise-health-suite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneYaooo%2Fmediwise-health-suite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneYaooo%2Fmediwise-health-suite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JuneYaooo","download_url":"https://codeload.github.com/JuneYaooo/mediwise-health-suite/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JuneYaooo%2Fmediwise-health-suite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009239,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["diet-tracker","family-health","health-management","health-tracker","openclaw","weight-tracker"],"created_at":"2026-04-19T14:00:38.744Z","updated_at":"2026-04-19T14:01:09.575Z","avatar_url":"https://github.com/JuneYaooo.png","language":"Python","funding_links":[],"categories":["Skills \u0026 Plugins","临床决策支持","Clinical Skills \u0026 Knowledge Bases"],"sub_categories":["Notable Skills"],"readme":"# MediWise Health Suite - 家庭健康管理套件\n\n\u003cdiv align=\"center\"\u003e\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![OpenClaw](https://img.shields.io/badge/OpenClaw-Compatible-blue.svg)](https://openclaw.ai)\n[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)\n[![Status](https://img.shields.io/badge/Status-Active%20Development-green.svg)]()\n\n**家庭健康管理助手**\n\n从日常记录到健康追踪的完整解决方案\n\n[快速开始](#快速开始) • [功能介绍](#功能介绍) • [安装方法](#安装方法) • [使用示例](#使用示例)\n\n\u003c/div\u003e\n\n---\n\n## 📋 简介\n\nMediWise Health Suite 是一个为 OpenClaw AI 设计的家庭健康管理助手。帮助你记录和管理健康数据，追踪饮食和体重，为家庭健康保驾护航。\n\n**核心价值**：平时能记、能查、能追踪；数据本地存储，保护隐私。默认数据库拆分为医疗与生活方式两库，便于隔离与权限控制。\n\n## 🏗 项目架构图（技术设计）\n\n```text\n┌──────────────────────────────────────────────────────────────────────────────┐\n│                           用户 / 聊天入口（OpenClaw）                        │\n└───────────────────────────────┬──────────────────────────────────────────────┘\n                                │ action + params + owner_id\n                                ▼\n┌──────────────────────────────────────────────────────────────────────────────┐\n│                 Node.js 技能路由层（各 skill 的 index.js）                  │\n│  - 路由 action -\u003e script(args)                                               │\n│  - 统一 subprocess 调 python3                                                │\n│  - 注入 MEDIWISE_OWNER_ID 做多用户隔离                                       │\n└───────────────┬───────────────────────────────────────────────┬──────────────┘\n                │                                               │\n                ▼                                               ▼\n   ┌─────────────────────────────┐                 ┌─────────────────────────────┐\n   │  Health Tracker (Python)    │                 │  其他领域技能 (Python)      │\n   │  - member / medical_record  │                 │  - diet-tracker             │\n   │  - health_metric / reminder │                 │  - weight-manager           │\n   │  - visit_lifecycle / notes  │                 │  - wearable-sync            │\n   │  - checkup/doctor report    │                 │  - health-monitor           │\n   └───────────────┬─────────────┘                 └───────────────┬─────────────┘\n                   │                                               │\n                   └──────────────────────┬────────────────────────┘\n                                          ▼\n                         ┌─────────────────────────────────┐\n                         │      shared 公共层              │\n                         │  - path_setup.py                │\n                         │  - metric_utils.py              │\n                         └─────────────────┬───────────────┘\n                                           ▼\n                   ┌────────────────────────────────────────────────────┐\n                   │         数据访问层：health_db.py（SQLite）          │\n                   │  Domain 路由：medical / lifestyle                  │\n                   │  事务、审计、owner 校验                             │\n                   └───────────────┬──────────────────────┬─────────────┘\n                                   │                      │\n                                   ▼                      ▼\n                     ┌──────────────────────┐   ┌──────────────────────┐\n                     │ medical.db           │   │ lifestyle.db         │\n                     │ members/visits/...   │   │ diet/weight/wearable │\n                     │ health_metrics/...   │   │ sync_log/...         │\n                     └──────────────────────┘   └──────────────────────┘\n\n外部集成（可选）：\n  - Wearable Provider: gadgetbridge / apple_health / garmin / huawei / zepp / openwearables\n  - 视觉识别模型：图片/PDF 走外部模型（通过 setup 配置）\n  - Backend API 模式（可切换）\n```\n\n## 🗺 项目使用图\n\n```text\n[用户发起请求]\n      │\n      ▼\n[确定 owner_id]\n      │\n      ▼\n[先列成员并确认“为哪位成员操作”]\n      │\n      ├──────────────┐\n      │              │\n      ▼              ▼\n[文本录入]      [图片/PDF录入]\n(就诊/症状/用药/指标)  (外部视觉模型识别后写入)\n      │              │\n      └───────┬──────┘\n              ▼\n         [落库到 SQLite]\n              │\n              ├───────────────────────────────┐\n              │                               │\n              ▼                               ▼\n      [饮食/体重管理]                    [可穿戴同步]\n      - food_lookup先查再记餐            - 拉取设备数据\n      - 热量/营养统计                     - 去重写入 health_metrics\n                                          - 自动触发 monitor 检查\n              │                               │\n              └───────────────┬───────────────┘\n                              ▼\n                       [监测与提醒/告警]\n                              │\n                              ▼\n                 [健康简报 / 就医前摘要 / 导出]\n```\n\n---\n\n## ✨ 功能状态\n\n### ✅ 已实现功能\n\n#### 🏥 健康档案管理\n- 家庭成员信息管理\n- 病程记录（门诊、住院、急诊）\n- 用药追踪与提醒\n- 日常健康指标（血压、血糖、心率等）\n- 图片识别（化验单、体检报告、处方）\n- 就医前摘要生成（文本/图片/PDF）\n\n#### 🍎 饮食追踪\n- 饮食记录与营养分析\n- 热量计算\n- 营养素统计\n\n#### ⚖ 体重管理\n- 体重记录与趋势分析\n- BMI/BMR/TDEE 计算\n- 目标设定与进度追踪\n\n### ⚠ 部分实现功能（待完善）\n\n#### 📊 智能监测与提醒（待完善）\n- 多级健康告警\n- 趋势分析与异常检测\n- 用药提醒、复查提醒\n\n#### ⌚ 可穿戴设备同步\n- ✅ **佳明（Garmin）**：Garmin Connect 账号直连，支持心率、睡眠分期、HRV、身体电量（Body Battery）、压力、步数、血氧、活动记录\n- ✅ **Apple Watch / iPhone**：Health App 导出 export.xml/zip，支持心率、步数、血氧、睡眠、体重、血糖、血压等\n- ✅ **小米手环 / Amazfit**：Gadgetbridge 本地 SQLite 导出，支持心率、步数、血氧、睡眠\n- 🔜 华为手表、高驰（COROS）等（开发中）\n\n---\n\n## 🚀 快速开始\n\n### 安装\n\n**方式 1：从 GitHub 安装（推荐）**\n```bash\ngit clone https://github.com/JuneYaooo/mediwise-health-suite.git \\\n  ~/.openclaw/skills/mediwise-health-suite\n```\n\n**方式 2：通过 ClawdHub 安装**\n```bash\n# 从 GitHub 直接安装\nclawdhub install JuneYaooo/mediwise-health-suite\n\n# 或从市场安装（审核通过后）\nclawdhub install mediwise-health-suite\n```\n\n### 基本使用\n\n安装后，直接与 OpenClaw 对话即可：\n\n```\n\"帮我添加一个家庭成员，叫张三，是我爸爸\"\n\"帮我记录今天血压 130/85，心率 72\"\n\"帮我看看最近的健康情况\"\n\"记录今天吃了一碗米饭和一份青菜\"\n\"记录今天体重 65kg\"\n\"我准备去看医生，帮我整理一下最近的情况\"\n```\n\n---\n\n## 💡 使用示例\n\n### 添加家庭成员\n```\n用户：\"帮我添加一个家庭成员，叫张三，是我爸爸，65岁\"\n助手：好的，我来帮您添加...\n```\n\n### 记录健康指标\n```\n用户：\"帮我记录今天血压 130/85，心率 72\"\n助手：已为您记录今天的健康指标...\n```\n\n### 饮食追踪\n```\n用户：\"记录今天吃了一碗米饭和一份青菜\"\n助手：已为您记录今天的饮食...\n```\n\n### 体重管理\n```\n用户：\"记录今天体重 65kg\"\n助手：已记录体重，您的 BMI 是...\n```\n\n### 就医前准备\n```\n用户：\"我准备去看医生，帮我整理一下最近的情况\"\n助手：好的，我先为您生成一份就医前摘要...\n```\n\n### 绑定佳明手表\n```\n用户：\"帮我绑定佳明手表\"\n助手：好的，请问您的手表型号是？（如 Fenix 7、Forerunner 965 等）\n用户：\"Fenix 7\"\n助手：需要您的 Garmin Connect 登录邮箱和密码，凭据仅保存在本地...\n用户：\"邮箱 xxx@gmail.com 密码 xxx\"\n助手：正在连接 Garmin Connect，验证成功！正在同步近 7 天数据...\n       已同步：心率 1240 条、睡眠 7 条、身体电量 2016 条、HRV 7 条\n```\n\n---\n\n## 👪 家庭共用场景\n\n### 一家人在同一个群里使用\n\n在 QQ 群、飞书群等群聊中，多个家庭成员可以共同使用同一个健康助手。系统通过发送者身份（如 QQ 号）自动隔离数据，**每个人只能看到和管理自己添加的记录**。\n\n```\n张三: @健康 帮我记录今天血压 135/88\n助手: 已为您记录血压 135/88。\n\n李四: @健康 帮我看看最近的健康情况\n助手: [只显示李四自己的数据，看不到张三的]\n```\n\n### 为家人代管健康\n\n每个用户可以为自己和家人创建独立的健康档案：\n\n```\n张三: @健康 帮我添加一个家庭成员，叫张爸爸，是我爸爸，65岁\n助手: 好的，已添加家庭成员\"张爸爸\"\n\n张三: @健康 帮张爸爸记录今天血压 150/95\n助手: 已为张爸爸记录血压 150/95。收缩压偏高，建议关注。\n```\n\n### 隔离机制\n\n| 场景 | 隔离方式 |\n|------|---------|\n| 不同用户在同一群里 | 自动按发送者身份隔离，互不可见 |\n| 同一用户的多个家庭成员 | 通过成员管理区分，用户可切换查看 |\n| 不同群聊 | 可配置为同一或不同 Agent，数据独立 |\n\n详细配置方法参见 [Agent 配置指南](docs/AGENT_SETUP.md)。\n\n---\n\n## 📦 包含的功能模块\n\n| 模块 | 状态 | 功能 |\n|------|------|------|\n| 健康档案 | ✅ 已实现 | 成员管理、病程记录、用药追踪、健康指标 |\n| 饮食追踪 | ✅ 已实现 | 饮食记录、营养分析、热量计算 |\n| 体重管理 | ✅ 已实现 | 体重记录、BMI/BMR/TDEE 计算、趋势分析 |\n| 健康监测 | ⚠ 待完善 | 智能告警、趋势分析 |\n| 可穿戴设备 | ✅ 已实现 | 佳明/Apple Watch/Gadgetbridge 数据同步；HRV、身体电量、睡眠分期 |\n\n---\n\n## 🔒 数据隐私\n\n- ✅ **默认本地存储**：所有数据存储在本地 SQLite 数据库（`medical.db` 与 `lifestyle.db`）\n- ✅ **不上传云端**：默认配置下，不上传任何个人健康信息\n- ✅ **可选功能**：后端 API、向量搜索等高级功能需用户主动配置启用\n- ✅ **多租户隔离**：支持共享实例场景的数据隔离\n- ✅ **发布安全**：数据库、附件、导出文件默认被 `.gitignore` / `.clawdhubignore` 排除\n\n**重要**：项目包含可选的后端 API 和向量搜索功能，但默认关闭。所有云端功能需用户主动配置才会启用。\n\n---\n\n## 📋 系统要求\n\n- Python 3.8+\n- SQLite 3.x\n- OpenClaw 2026.3.0+\n- 操作系统：Linux / macOS / Windows\n\n---\n\n## 📄 许可证\n\n本项目采用 MIT 许可证 - 详见 [LICENSE](LICENSE) 文件\n\n---\n\n## ⚠ 免责声明\n\n本工具仅供健康信息记录和参考，不构成医疗建议。任何健康问题请咨询专业医生。\n\n---\n\n\u003cdiv align=\"center\"\u003e\n\n**⭐ 如果这个项目对你有帮助，请给个 Star！**\n\nMade with ❤ by MediWise Team\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJuneYaooo%2Fmediwise-health-suite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJuneYaooo%2Fmediwise-health-suite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJuneYaooo%2Fmediwise-health-suite/lists"}