Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计通过

garmin-connect-healthGarmin 连接健康

Agent Skill

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

总安装

6,680

周安装

284

GitHub Stars

公开资料未说明

下载量

2,340
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install garmin-connect-health

简介

从 Garmin Connect 平台提取深度健康指标,包括 SpO2、VO2 Max 与训练负荷分析。

  • 适用于开发者构建健康仪表盘或集成第三方应用的数据可视化模块。
  • 支持定时拉取与事件驱动两种数据获取模式,适配多种编程语言环境。
  • 调用前需完成 OAuth 认证流程,确保用户授权范围包含所需数据类型。
  • 注意高频请求可能被限流,建议合理设置轮询间隔防止服务中断。

SKILL.md

name
garmin-connect-health
version
1.0.8
description
Fetch health and fitness data from Garmin Connect -- 40+ metrics including sleep, HRV, stress, body battery, SpO2, VO2 Max, training status, and activities. Stores data locally as JSON.

Garmin Connect Health Data Skill

Fetch comprehensive health & fitness data from Garmin Connect for your AI agent.

Data Coverage

CategoryFields
ActivitySteps, distance, calories (active + BMR), floors, intensity minutes
Heart RateMin/max/resting heart rate
SleepDuration, score, deep/light/REM/awake breakdown, stress during sleep
HRVLast night avg, 5min peak, weekly avg, status (balanced/unbalanced), baseline
Body BatteryCurrent level, daily min/max
SpO2Average and minimum blood oxygen
RespirationWaking and sleep breathing rate
StressAverage/max, rest/low/medium/high duration breakdown
Training StatusOverreaching/Highly Active/Productive/Maintaining/Recovery/Detraining + acute/chronic load ratio
Training ReadinessScore (0-100)
Fitness MetricsVO2 Max, fitness age, endurance score, hill score
Race Predictions5K/10K/Half/Marathon predicted times
Weight/Body CompWeight (kg), body fat %, BMI (requires Garmin Index scale)
HydrationIntake (ml) vs goal
ActivitiesIndividual workouts with HR, duration, calories, elevation, training effect
Weekly SummaryTotal/avg steps for the week

Setup

1. Install dependency

pip install garminconnect

2. Set credentials (choose one method)

Option A -- Environment variables:

export GARMIN_EMAIL="you@example.com"
export GARMIN_PASSWORD="yourpassword"

Option B -- CLI args:

python3 garmin_health.py --email you@example.com --password yourpassword

Option C -- macOS Keychain:

security add-generic-password -a "you@example.com" -s "garmin_connect" -w "yourpassword"

Option D -- Credentials file:

echo -e "email=you@example.com\
password=yourpassword" > ~/.garmin_credentials
chmod 600 ~/.garmin_credentials

3. Set region (China accounts only)

If your Garmin account was registered in China, add this to your shell profile (~/.zshrc / ~/.bashrc) once:

export GARMIN_IS_CN=true

This tells the skill to use connect.garmin.com.cn instead of the global endpoint -- more reliable for mainland China IPs and prevents 429 rate-limit errors. Skip this step if you have a global Garmin account.

4. First run

First login may require MFA verification. You'll be prompted to enter a code sent to your email.

5. Use with OpenClaw

Ask your AI agent:

  • "Show my health data"
  • "How did I sleep last night?"
  • "What's my HRV?"
  • "Am I overtraining?"

Usage

# Fetch today's data (default)
python3 garmin_health.py

# Fetch specific date
python3 garmin_health.py --date 2026-03-16

# Show latest cached data
python3 garmin_health.py --show

# Use Garmin Connect CN endpoint (Chinese accounts / mainland China IP)
python3 garmin_health.py --cn

# With credentials
python3 garmin_health.py --email you@example.com --password pass

Data Storage

  • ~/.garmin_health/YYYY-MM-DD.json -- Daily snapshots
  • ~/.garmin_health/latest.json -- Most recent fetch
  • ~/.garminconnect/ -- OAuth token cache

Override with env vars:

  • GARMIN_DATA_DIR -- Change data directory
  • GARMIN_TOKENSTORE -- Change token cache directory
  • GARMIN_IS_CN=true -- Use Garmin Connect CN endpoint (set once in shell profile)

Supported Languages

All labels and output in English. JSON field names are English by design.

Security & Privacy

  • Your credentials only -- this skill authenticates with Garmin Connect using your own account credentials. No credentials are shared with or stored by this skill.
  • Local storage only -- all fetched health data is saved as JSON files on your own machine. No data is sent to any third party.
  • Token caching -- after first login, an OAuth token is cached locally (~/.garminconnect/). Subsequent runs reuse this token and do not re-send your password.
  • Recommended auth -- use macOS Keychain or environment variables rather than --password CLI flag to avoid password exposure in shell history.
  • Official API only -- all requests go directly to connect.garmin.com (or connect.garmin.com.cn for CN accounts). No proxies or intermediaries.

Requirements

  • Python 3.10+
  • garminconnect library
  • A Garmin Connect account
  • Device: Any Garmin watch/fitness tracker synced to Garmin Connect

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

84.88%
按下载量换算1,986

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills