Garmin Health Analysis (Maintained Fork)
Actively maintained fork of eversonl's original, which stopped at 1.2.2. Adds the Garmin calendar (races, events, naps, weigh-ins), Jet Lag Adviser trips…
от bolinches107 установок в других каталогах
Установить Garmin Health Analysis (Maintained Fork) в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Garmin Health Analysis
Query health metrics from Garmin Connect and generate interactive HTML charts.
Forked from eversonl/ClawdBot-garmin-health-analysis. The original had gone quiet for over six months (issue 5) and did not cover what was needed here. This fork extends it.
What's Different Here
| Feature | Original | This Fork |
|---|---|---|
| Activity splits (per-km/lap HR + pace) | no | yes |
| Auth resilience (429 retry, token fallback, legacy migration) | no | yes |
| Time-based queries ("what was my HR at 3pm?") | no | yes |
| Extended metrics (VO2max, training readiness, endurance score) | no | yes |
| FIT/GPX file download and analysis | no | yes |
| Per-second activity detail queries | no | yes |
| Interactive HTML dashboards | no | yes |
| Calendar: trips, races/events, naps, weigh-ins | no | yes |
| Jet Lag Adviser trips: create / replace / delete | no | yes |
What's Included
scripts/
├── garmin_auth.py # Login, token refresh, credential resolution
├── garmin_data.py # Core metrics: sleep, HRV, Body Battery, activities
├── garmin_data_extended.py # VO2max, training readiness, endurance score
├── garmin_calendar.py # Calendar: trips, races, events + trip create/update/delete
├── garmin_activity_files.py # FIT/GPX download and analysis
├── garmin_query.py # Time-based queries
└── garmin_chart.py # HTML dashboard generation
Two Installation Paths
This skill supports two different setups:
- OpenClaw Skill (this guide) - Use with OpenClaw for automation and proactive health monitoring
- MCP Server (see MCP setup guide) - Use with standard Claude Desktop as an MCP server
Choose the path that matches your use case. You can also use both simultaneously!
OpenClaw Skill Setup (first time only)
1. Install Dependencies
pip3 install 'garminconnect>=0.3.18' curl_cffi
2. Configure Credentials
You have three options to provide your Garmin Connect credentials:
Option A: OpenClaw Config (Recommended - UI configurable)
Add credentials to ~/.openclaw/openclaw.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 OpenClaw UI in the Skills settings panel.
Option B: Local Config File
Create a config file in the skill directory:
cd ~/.openclaw/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.
Option C: Command Line
Pass credentials directly when authenticating:
python3 scripts/garmin_auth.py login \
--email [email protected] \
--password YOUR_PASSWORD
3. Authenticate
Login to Garmin Connect and save session tokens:
python3 scripts/garmin_auth.py login
This uses credentials from (in priority order):
- Command line arguments (
--email,--password) - Local config file (
config.json) - Environment variables (
GARMIN_EMAIL,GARMIN_PASSWORD) - OpenClaw config (
skills.entries.garmin-health-analysis.env)
Session tokens are stored in ~/.openclaw/garmin/ and auto-refresh on subsequent calls.
If you have existing tokens from a previous version (~/.garminconnect/), they are automatically migrated on first use.
Check authentication status:
python3 scripts/garmin_auth.py status
Fetching Data
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 (now includes activity_id)
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
# Health Snapshots (on-demand 2-minute resting recordings)
python3 scripts/garmin_data.py snapshot --days 7
# User profile
python3 scripts/garmin_data.py profile
Health Snapshot
A Health Snapshot is a short, on-demand recording taken from the watch, usually two minutes, capturing several metrics at once from
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Garmin Health Analysis (Maintained Fork)?
Actively maintained fork of eversonl's original, which stopped at 1.2.2. Adds the Garmin calendar (races, events, naps, weigh-ins), Jet Lag Adviser trips (create, replace, delete, confirmation-gated), and ten extra metric tables (training status, fitness age, intensity minutes, morning readiness, hydration, hill score, calories, lactate threshold, training load balance). Talk to your Garmin data naturally, about sleep, HRV, Body Battery, or your heart rate at any time. Downloads FIT/GPX, generates interactive dashboards.
Как установить скилл Garmin Health Analysis (Maintained Fork)?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Garmin Health Analysis (Maintained Fork) запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…