Token导航 LogoToken导航TokenDH.com
开发需要联网clawhub未标认证来源可访问clear审计提醒

amazfit-health-logamazfit 健康日志

Agent Skill

amazfit-health-log 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,210

周安装

93

GitHub Stars

1

下载量

774
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:amazfit-health-log(amazfit 健康日志)
来源仓库:https://github.com/sanwebgit/amazfit-health-log
安装命令:
openclaw skills install amazfit-health-log
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install amazfit-health-log

简介

从Amazfit GTR3智能手表整理健康数据并写入本地日志文件。

  • 适合个人健康管理、睡眠监测或运动习惯追踪等用途。
  • 通过HCGateway协议连接设备,自动解析心率、步数等指标。
  • 需确保设备处于可连接状态,并授权访问本地文件系统权限。
  • 日志格式采用每日黑曜石模板,便于后续分析与可视化展示。

SKILL.md

name
amazfit-health-log
version
1.0.0
description
Fetches Amazfit GTR3 health data from HCGateway and writes a daily Obsidian log note. Use when user says "health log", "GTR3 data", "write health data", "fetch health data", or when the daily cron triggers health logging.

Amazfit GTR3 Health Log Skill

Automatically fetches Amazfit GTR3 health data from HCGateway and writes a structured daily Obsidian note.

When Triggered

  • User says: "health log", "fetch GTR3 data", "write health data", "health log for yesterday/today/[date]"
  • Daily cron job runs at 06:00 (configurable)

Prerequisites

  • HCGateway is running at http://127.0.0.1:6644
  • Docker containers hcgateway_api + hcgateway_db are active
  • HCGateway Android app has completed at least one sync (auto-syncs every 2h)
  • Credentials stored in skills/amazfit-health-log/config.json

Execution

Step 1: Verify container status

docker ps --filter "name=hcgateway" --format "{{.Names}}: {{.Status}}"

If containers are not running:

sudo docker compose -f /home/docker/hcgateway/docker-compose.yml up -d

Step 2: Run the Python script

For yesterday (default):

python3 ~/.openclaw/workspace/skills/amazfit-health-log/scripts/fetch-health.py

For a specific date:

python3 ~/.openclaw/workspace/skills/amazfit-health-log/scripts/fetch-health.py 2026-04-06

Step 3: Confirm output

The script prints a summary and writes the note to:

<VAULT_ROOT>/30 Bereiche/Gesundheit/Logs/GTR3/YYYY-MM-DD.md

Output Format (Note)

The generated note contains:

  • Frontmatter: date, weekday, tags, source, created timestamp
  • Summary table: steps, distance, sleep duration, resting HR, SpO2
  • Sleep section: period, duration, stage breakdown table (Deep / REM / Light / Awake)
  • Heart rate section: avg, min, max, resting HR
  • SpO2 section: daily average
  • Navigation links to previous and next day

Sleep Stage Decoding

CodeStage
1Awake
4Light
5Deep
6REM

Troubleshooting

No data for date:

  • Check that Zepp App → Health Connect sync is enabled
  • Open the HCGateway Android app and trigger a manual sync
  • Data is only available for the last 30 days

Containers unreachable:

sudo docker compose -f /home/docker/hcgateway/docker-compose.yml logs --tail=20

Changing credentials:

  • Edit skills/amazfit-health-log/config.json
  • Password changes invalidate all existing tokens (re-login required)

Cron Configuration (daily at 06:00)

For automatic daily execution:

0 6 * * * python3 /home/openclaw/.openclaw/workspace/skills/amazfit-health-log/scripts/fetch-health.py

Data Sources

TypeHCGateway EndpointSource
Steps/fetch/stepscom.huami.watch.hmwatchmanager
Sleep/fetch/sleepSessioncom.huami.watch.hmwatchmanager
Heart Rate/fetch/heartRatecom.huami.watch.hmwatchmanager
Resting HR/fetch/restingHeartRatecom.huami.watch.hmwatchmanager
SpO2/fetch/oxygenSaturationcom.huami.watch.hmwatchmanager
Distance/fetch/distancecom.huami.watch.hmwatchmanager

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.46%
按下载量换算692

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills