Talk to your Garmin data naturally - "what was my fastest speed snowboarding?", "how did I sleep last night?", "what was my heart rate at 3pm?". Access 20+ metrics (sleep stages, Body Battery, HRV, VO2 max, training readiness, body composition, SPO2), download FIT/GPX files for route analysis, query elevation/pace at any point, and generate interactive health dashboards. From casual "show me this week's workouts" to deep "analyze my recovery vs training load".
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install garmin-health-analysis或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install garmin-health-analysis⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/garmin-health-analysis/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: garmin-health-analysis description: Talk to your Garmin data naturally - "what was my fastest speed snowboarding?", "how did I sleep last night?", "what was my heart rate at 3pm?". Access 20+ metrics (sleep stages, Body Battery, HRV, VO2 max, training readiness, body composition, SPO2), download FIT/GPX files for route analysis, query elevation/pace at any point, and generate interactive health dashboards. From casual "show me this week's workouts" to deep "analyze my recovery vs training load". version: 1.2.2 author: EversonL & Claude homepage: https://github.com/eversonl/ClawdBot-garmin-health-analysis metadata: {"clawdbot":{"emoji":"⌚","requires":{"env":["GARMIN_EMAIL","GARMIN_PASSWORD"]},"install":[{"id":"garminconnect","kind":"python","package":"garminconnect","label":"Install garminconnect (pip)"},{"id":"fitparse","kind":"python","package":"fitparse","label":"Install fitparse (pip)"},{"id":"gpxpy","kind":"python","package":"gpxpy","label":"Install gpxpy (pip)"}]}} ---
Query health metrics from Garmin Connect and generate interactive HTML charts.
This skill supports two different setups:
Choose the path that matches your use case. You can also use both simultaneously!
---
pip3 install garminconnect
You have three options to provide your Garmin Connect credentials:
Add credentials to ~/.clawdbot/clawdbot.json:
{
"skills": {
"entries": {
"garmin-health-analysis": {
"enabled": true,
"env": {
"GARMIN_EMAIL": "[email protected]",
"GARMIN_PASSWORD": "your-password"
}
}
}
}
}
Tip: You can also set these through the Clawdbot UI in the Skills settings panel.
Create a config file in the skill directory:
cd ~/.clawdbot/skills/garmin-health-analysis
# or: cd <workspace>/skills/garmin-health-analysis
cp config.example.json config.json
# Edit config.json and add your email and password
config.json:
{
"email": "[email protected]",
"password": "your-password"
}
Note: config.json is gitignored to keep your credentials secure.
Pass credentials directly when authenticating:
python3 scripts/garmin_auth.py login \
--email [email protected] \
--password YOUR_PASSWORD
Login to Garmin Connect and save session tokens:
python3 scripts/garmin_auth.py login
This uses credentials from (in priority order):
--email, --password)config.json)GARMIN_EMAIL, GARMIN_PASSWORD)skills.entries.garmin-health-analysis.env)Session tokens are stored in ~/.clawdbot/garmin-tokens.json and auto-refresh.
Check authentication status:
python3 scripts/garmin_auth.py status
Use scripts/garmin_data.py to get JSON data:
# Sleep (last 7 days default)
python3 scripts/garmin_data.py sleep --days 14
# Body Battery (Garmin's recovery metric)
python3 scripts/garmin_data.py body_battery --days 30
# HRV data
python3 scripts/garmin_data.py hrv --days 30
# Heart rate (resting, max, min)
python3 scripts/garmin_data.py heart_rate --days 7
# Activities/workouts
python3 scripts/garmin_data.py activities --days 30
# Stress levels
python3 scripts/garmin_data.py stress --days 7
# Combined summary with averages
python3 scripts/garmin_data.py summary --days 7
# Custom date range
python3 scripts/garmin_data.py sleep --start 2026-01-01 --end 2026-01-15
# User profile
python3 scripts/garmin_data.py profile
Output is JSON to stdout. Parse it to answer user questions.
Use scripts/garmin_chart.py for interactive HTML visualizations:
# Sleep analysis (hours + scores)
python3 scripts/garmin_chart.py sleep --days 30
# Body Battery recovery chart (color-coded)
python3 scripts/garmin_chart.py body_battery --days 30
# HRV & resting heart rate trends
python3 scripts/garmin_chart.py hrv --days 90
# Activities summary (by type, calories)
python3 scripts/garmin_chart.py activities --days 30
# Full dashboard (all 4 charts)
python3 scripts/garmin_chart.py dashboard --days 30
# Save to specific file
python3 scripts/garmin_chart.py dashboard --days 90 --output ~/Desktop/garmin-health.html
Charts open automatically in the default browser. They use Chart.js with a modern gradient design, stat cards, and interactive tooltips.
| User asks | Action | |-----------|--------| | "How did I sleep last night?" | garmin_data.py summary --days 1, report sleep hours + score | | "How's my recovery this week?" | garmin_data.py body_battery --days 7, report average + trend | | "Show me my health for the last month" | garmin_chart.py dashboard --days 30 | | "Is my HRV improving?" | garmin_data.py hrv --days 30, analyze trend | | "What workouts did I do this week?" | garmin_data.py activities --days 7, list activities with details | | "How's my resting heart rate?" | garmin_data.py heart_rate --days 7, report average + trend |
Garmin's proprietary recovery metric based on HRV, stress, sleep, and activity:
Overall sleep quality based on duration, stages, and disturbances:
Measured in milliseconds, higher is generally better:
Lower generally indicates better cardiovascular fitness:
Based on HRV analysis throughout the day:
When users ask for insights or want to understand their trends, use references/health_analysis.md for:
python3 scripts/garmin_data.py summary --days Nreferences/health_analysis.md for interpretation framework...
安装 Garmin Health Analysis 后,可以对 AI 说这些话来触发它
Help me get started with Garmin Health Analysis
Explains what Garmin Health Analysis does, walks through the setup, and runs a quick demo based on your current project
Use Garmin Health Analysis to talk to your Garmin data naturally - "what was my fastest speed sno...
Invokes Garmin Health Analysis with the right parameters and returns the result directly in the conversation
What can I do with Garmin Health Analysis in my data & analytics workflow?
Lists the top use cases for Garmin Health Analysis, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/garmin-health-analysis/ 目录(个人级,所有项目可用),或 .claude/skills/garmin-health-analysis/(项目级)。重启 AI 客户端后,用 /garmin-health-analysis 主动调用,或让 AI 根据上下文自动发现并使用。
Garmin Health Analysis 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Garmin Health Analysis 可免费安装使用。请查阅仓库了解许可证信息。
Talk to your Garmin data naturally - "what was my fastest speed snowboarding?", "how did I sleep last night?", "what was my heart rate at 3pm?". Access 20+ metrics (sleep stages, Body Battery, HRV, VO2 max, training readiness, body composition, SPO2), download FIT/GPX files for route analysis, query elevation/pace at any point, and generate interactive health dashboards. From casual "show me this week's workouts" to deep "analyze my recovery vs training load".
Automate my data & analytics tasks using Garmin Health Analysis
Identifies repetitive steps in your workflow and sets up Garmin Health Analysis to handle them automatically
Garmin Health Analysis 属于「Data & Analytics」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。