Garminskill
/install garmin-pulse
Garmin Connect
This skill syncs your daily health data from Garmin Connect into readable markdown files.
Setup
Authentication is required before the first sync. This only needs to happen once — tokens are cached for approximately one year.
If the sync command fails with "No cached tokens found", tell the user to run the setup command in their terminal:
uv run {baseDir}/scripts/sync_garmin.py --setup --email [email protected]
The password is prompted interactively via getpass — it is never echoed to screen, stored in shell history, or passed as a command argument. On success the user will see Success! Tokens cached in ~/.garminconnect. After that, all syncs use cached tokens only — no credentials are needed.
Do not ask the user for their password in chat and do not pass passwords as command-line arguments or via stdin piping, as these methods can expose credentials in process listings or conversation history.
Syncing Data
Sync today's data:
uv run {baseDir}/scripts/sync_garmin.py
Sync a specific date:
uv run {baseDir}/scripts/sync_garmin.py --date 2026-02-07
Sync the last N days:
uv run {baseDir}/scripts/sync_garmin.py --days 7
Reading Health Data
Health files are stored at {baseDir}/health/YYYY-MM-DD.md — one file per day.
To answer health or fitness questions, read the relevant date's file from the {baseDir}/health/ directory. If the file doesn't exist for the requested date, run the sync command for that date first.
Dependencies
This skill uses uv to run the sync script. uv is a fast Python package manager by Astral that reads inline script metadata (PEP 723) and automatically installs dependencies (garminconnect, cloudscraper) in an isolated environment — no manual pip install needed.
Credentials & Stored Data
Garmin Connect does not offer a public OAuth API, so a one-time email/password login is required. During setup, the password is used once to obtain OAuth tokens, then discarded. The tokens are cached locally in ~/.garminconnect/ for approximately one year. At runtime, only the cached tokens are used — no email or password is needed. If tokens expire, re-run the setup command.
Paths written by this skill:
~/.garminconnect/— cached OAuth tokens (sensitive; grants access to the user's Garmin account){baseDir}/health/— daily health markdown files (contains personal health data)
Cron Setup
Schedule the sync script to run every morning using OpenClaw's cron tool so your health data stays up to date automatically. No environment variables or credentials are needed — the sync uses cached tokens from the one-time setup.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install garmin-pulse - 安装完成后,直接呼叫该 Skill 的名称或使用
/garmin-pulse触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1682 次。
如何安装 Garminskill?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install garmin-pulse」即可一键安装,无需额外配置。
Garminskill 是免费的吗?
是的,Garminskill 完全免费(开源免费),可自由下载、安装和使用。
Garminskill 支持哪些平台?
Garminskill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Garminskill?
由 freakyflow(@freakyflow)开发并维护,当前版本 v1.3.1。