garmin-connect

读取 Garmin Connect 手表/设备数据。 触发场景: - "今天走了多少步" - "昨晚睡眠怎么样" - "最近有什么运动" - "心率怎么样" - "这周跑了多少次" - 查询任意日期的运动、睡眠、心率等健康数据

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "garmin-connect" with this command: npx skills add tcyxk/garmin-connect-cn

Garmin Connect 数据查询

前置要求

  • JWT Token(从浏览器获取,有效期约1个月)
  • Python 3.8+

快速查询

python3 scripts/query.py <jwt_token> [日期 YYYY-MM-DD]

不传日期默认查今天。

数据类型

查询字段
步数totalSteps
距离(km)totalDistance / 1000
卡路里activeKilocalories
爬楼层数totalFloorsAscending
睡眠时长sleepingDuration

API 端点

详见 references/api.md

Token 获取

  1. 浏览器打开 https://connect.garmin.cn 并登录
  2. F12 → Application → Cookies → connect.garmin.cn
  3. 找到 JWT_WEB,复制 Value(eyJ... 开头)

注意

JWT 过期后需重新获取。每次查询前检查 Token 有效性。

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Garminskill

Syncs daily health and fitness data from Garmin Connect into markdown files. Provides sleep, activity, heart rate, stress, body battery, HRV, SpO2, and weight data.

Registry Source
1.7K3Profile unavailable
General

Ouraskill

Syncs daily health and fitness data from Oura Ring into markdown files. Provides sleep, readiness, activity, heart rate, stress, SpO2, and workout data.

Registry SourceRecently Updated
1.5K0Profile unavailable
General

Garmin

Integrate with Garmin Connect to fetch and analyze deep fitness metrics including sleep, body battery, resting heart rate, stress, and training status. Use t...

Registry Source
4930Profile unavailable
Research

Garmin Health Report

Generate comprehensive daily health reports from Garmin Connect data with professional running analysis (Heart Rate Zones, TRIMP, Jack Daniels VDOT).

Registry Source
3310Profile unavailable