← 返回 Skills 市场
harrylabsj

Personal Health Agent

作者 haidong · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
57
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install harry-personal-health-agent
功能描述
Use when collecting personal health logs such as blood pressure, blood lab markers, exercise, and body metrics, then producing weekly or monthly trend summar...
使用说明 (SKILL.md)

Personal Health Agent

Overview

This skill helps an agent collect personal health data, keep it in a local JSONL log, summarize trends, and generate reminders. It is designed for routine self-tracking: blood pressure, blood tests, exercise, and body metrics.

It is not a medical device and does not diagnose, prescribe, or replace a clinician. Treat every result as a tracking aid for better conversations with qualified healthcare professionals.

When to Use

Use this skill when the user wants to:

  • Record daily blood pressure, pulse, and context.
  • Import blood test values such as LDL, HDL, HbA1c, glucose, triglycerides, ALT, AST, creatinine, eGFR, uric acid, or hemoglobin.
  • Track exercise minutes, activity type, distance, and intensity.
  • Produce weekly or monthly trend summaries with text charts.
  • See practical reminders for missing logs, stale lab data, and weekly activity goals.
  • Prepare a clinician-facing summary without turning the agent into a doctor.

Do not use this skill for emergency triage beyond telling the user to seek urgent medical care for red-flag situations. Do not make medication changes, diagnoses, or treatment decisions.

Quick Start

Natural language examples:

今天血压 126/82 心率 68
血检 LDL 142, HDL 52, HbA1c 5.9
record exercise: brisk walk 45 minutes
生成本周健康报告

Structured JSON examples:

{"action":"record","type":"blood_pressure","date":"2026-05-02","systolic":126,"diastolic":82,"pulse":68}
{"action":"record","type":"blood_lab","date":"2026-04-20","markers":{"LDL":142,"HDL":52,"HbA1c":5.9}}
{"action":"report","period":"weekly","end_date":"2026-05-02"}

Data Collection Workflow

  1. Parse the user's entry as structured JSON first.
  2. If it is not JSON, parse common natural-language patterns for blood pressure, exercise, and lab markers.
  3. Normalize units and marker names where supported.
  4. Append the record to the local JSONL store.
  5. Return immediate analysis, safety flags, reminders, and next steps.
  6. For reports, load the local store and summarize the requested weekly or monthly period.

The default store is:

~/.personal-health-agent/health_records.jsonl

Override it for tests or private project storage:

export PERSONAL_HEALTH_AGENT_DATA_DIR=/path/to/private/data

Supported Record Types

Blood Pressure

Fields: date, systolic, diastolic, optional pulse, context, and notes.

The handler groups readings into broad tracking ranges and flags very high readings. If systolic is at least 180 or diastolic is at least 120, the response instructs the user to recheck after quiet rest and seek urgent care if the reading persists or symptoms are present.

Blood Labs

Fields: date and markers.

Common aliases are normalized for LDL, HDL, triglycerides, total cholesterol, HbA1c, glucose, ALT, AST, creatinine, eGFR, uric acid, and hemoglobin. Built-in thresholds are generic reference aids only; official lab ranges and clinician context take precedence.

Exercise

Fields: date, activity, minutes, optional distance_km, intensity, and notes.

Weekly summaries compare logged moderate/vigorous minutes against a general 150-minute adult benchmark. This is a wellness benchmark, not a personalized prescription.

Body Metrics

Fields can include weight_kg, waist_cm, and body_fat_percent.

Body metrics are stored for future trend context. Avoid judgmental or appearance-focused language.

Report Output

Weekly and monthly reports include:

  • Date range and counts by record type.
  • Blood pressure latest reading, averages, trend labels, and ASCII charts.
  • Exercise sessions, period minutes, weekly-equivalent minutes, and goal progress.
  • Latest lab markers and reference flags.
  • Reminders for stale or missing data.
  • Data quality notes explaining weak trend confidence.
  • A medical safety disclaimer.

Safety Rules

  • State that the output is informational wellness support only.
  • Never diagnose, prescribe, or tell the user to start/stop medication.
  • For urgent blood pressure ranges or serious symptoms, recommend urgent medical care.
  • Explain that lab reference ranges vary by lab and person.
  • Encourage clinician review for abnormal, persistent, worsening, or symptomatic findings.
  • Keep privacy local: no network calls and no external APIs.

Verification

From the skill directory:

python3 tests/test_handler.py
python3 handler.py '{"action":"help"}'

The first command runs behavior tests. The second verifies the handler entrypoint returns JSON.

安全使用建议
Install only if you are comfortable keeping personal health records in a local JSONL file. Use a private directory and good file permissions, consider requiring confirmation before recording or clearing entries, and remember that the reports are wellness tracking aids rather than medical advice.
功能分析
Type: OpenClaw Skill Name: harry-personal-health-agent Version: 0.1.0 The skill is a local-first health tracking utility designed to log blood pressure, lab markers, and exercise data into a local JSONL file. Analysis of 'handler.py' and 'SKILL.md' reveals no network activity, no exfiltration of sensitive environment variables or credentials, and no use of dangerous execution functions like eval() or subprocess calls. The code includes robust medical safety disclaimers and focuses entirely on its stated purpose of personal health logging and trend summarization.
能力评估
Purpose & Capability
The stated purpose, metadata, and visible code align around recording blood pressure, labs, exercise, and trend reports. The notable issue is sensitivity: these are personal health records.
Instruction Scope
The instructions include medical safety boundaries and say not to diagnose or prescribe. Recording workflows persist parsed entries, and implicit invocation is allowed, so users may want confirmation before health data is logged.
Install Mechanism
No package install, dependency fetch, or remote script is shown. The static dynamic-code finding is in the test harness loading the local handler. Provenance is limited because the source is listed as unknown and there is no homepage.
Credentials
The skill declares no network, API, credentials, or required environment variables. It does write a local JSONL health log, which is proportionate to the purpose but privacy-sensitive.
Persistence & Privilege
The skill persists health records under a user-local directory and includes a clear-data action. No elevated privileges or account credentials are evidenced.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install harry-personal-health-agent
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /harry-personal-health-agent 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: local health logging, lab/BP/exercise analysis, reminders, and weekly/monthly trend reports.
元数据
Slug harry-personal-health-agent
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Personal Health Agent 是什么?

Use when collecting personal health logs such as blood pressure, blood lab markers, exercise, and body metrics, then producing weekly or monthly trend summar... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 57 次。

如何安装 Personal Health Agent?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install harry-personal-health-agent」即可一键安装,无需额外配置。

Personal Health Agent 是免费的吗?

是的,Personal Health Agent 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Personal Health Agent 支持哪些平台?

Personal Health Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Personal Health Agent?

由 haidong(@harrylabsj)开发并维护,当前版本 v0.1.0。

💬 留言讨论