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

garmin-connect-proGarmin 连接专业版

Agent Skill

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

总安装

13,660

周安装

558

GitHub Stars

1

下载量

4,375
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install garmin-connect-pro

简介

专业版 Garmin 数据接入方案,实现步数、心率、卡路里等全量数据的 OpenClaw 同步。

  • 适合高级用户深度挖掘个人运动档案,支持自定义报表与趋势预测模型。
  • 通过标准 RESTful API 交互,返回 JSON 格式原始数据便于后续处理。
  • 部署前请评估服务器资源消耗,长时间运行可能增加带宽与存储开销。
  • 涉及跨境数据传输时需遵循 GDPR 或其他区域隐私法规要求。

SKILL.md

name
garmin-connect-pro
version
1.4.0
description
|
metadata
openclaw
emoji
requires
bins
[python3]
pips
[garminconnect>=0.2.38]
config
environment
GARMIN_EMAIL
description
Garmin Connect email (RECOMMENDED - more secure than file)
required
false
secret
true
GARMIN_PASSWORD
description
Garmin Connect password (RECOMMENDED - more secure than file)
required
false
secret
true
files
description
Fallback: Credentials file if env vars not set. WARNING: Plaintext - use env vars instead.
required
false
permissions
600
containsSecrets
true
description
OAuth tokens (auto-generated after login, 600 permissions)
required
false
containsSecrets
true
security

Garmin Connect Pro

The most comprehensive Garmin Connect skill for OpenClaw. Retrieve activities, health data, sleep analysis, heart rate, stress, body battery, training readiness, VO2 max, and more from your Fenix, Forerunner, Index scales, or other Garmin devices.

Security & Privacy

⚠️ Important Security Information:

Credential Options

Option 1: Environment Variables (Recommended for cron jobs)

export GARMIN_EMAIL="your-email@example.com"
export GARMIN_PASSWORD="your-password"
  • More secure for automated/scheduled usage
  • Not stored on disk
  • Works with cron jobs without leaving plaintext files

Option 2: Credentials File

mkdir -p ~/.config/garmin-connect
echo '{"email": "your-email@example.com", "password": "your-password"}' > ~/.config/garmin-connect/credentials.json
chmod 600 ~/.config/garmin-connect/credentials.json
  • Stored in plaintext (any process with file access can read it)
  • File permissions set to 600 (owner read/write only)
  • Consider excluding from backups

Third-Party Library

This skill uses the garminconnect Python library for all Garmin API communication.

  • Source code: https://github.com/cyberjunkie/garminconnect
  • Trust boundary: All API calls go through this library
  • Recommendation: Audit the library if you have strict security requirements

Data Flow

Your Credentials → garminconnect library → Garmin API servers
                     ↓
              OAuth tokens cached locally

No data is transmitted to any third parties other than Garmin via the official garminconnect library.

Setup

First-time Login

# Install dependency
pip3 install garminconnect

# Option A: Use environment variables (recommended)
export GARMIN_EMAIL="your-email@example.com"
export GARMIN_PASSWORD="your-password"

# Option B: Use credentials file
mkdir -p ~/.config/garmin-connect
echo '{"email": "your-email@example.com", "password": "your-password"}' > ~/.config/garmin-connect/credentials.json
chmod 600 ~/.config/garmin-connect/credentials.json

# Login (generates OAuth tokens)
python3 ~/.agents/skills/garmin-connect-pro/scripts/garmin.py login

Features

FeatureDescription
Natural Language Queries"how did I sleep?", "what's my body battery?", "should I train today?"
ASCII ChartsVisual trends for steps, HR, stress, battery
Week-over-Week ComparisonTrack progress vs last week
Race Predictions5K, 10K, half marathon, marathon
Body CompositionWeight, muscle mass, fat percentage
VO2 Max TrackingCardio fitness from activities
FIT/GPX DownloadsExport activity files
Training EffectAerobic + anaerobic impact
HR Zones per ActivityTime in each zone
Emoji-Powered OutputQuick visual scanning

Quick Start

# Ask questions naturally
python3 scripts/garmin.py ask "how did I sleep?"
python3 scripts/garmin.py ask "what's my training readiness?"

# Daily summary
python3 scripts/garmin.py summary

# Trends with charts
python3 scripts/garmin.py trends --days 7
python3 scripts/garmin.py chart steps --days 14

# Compare weeks
python3 scripts/garmin.py compare

# Download activities
python3 scripts/garmin.py download --id 123456 --format fit

Commands

Natural Language

python3 scripts/garmin.py ask "how did I sleep?"
python3 scripts/garmin.py ask "am I stressed?"
python3 scripts/garmin.py ask "how many steps today?"

Daily Metrics

python3 scripts/garmin.py summary              # Full daily summary
python3 scripts/garmin.py stats --today        # Steps, HR, calories
python3 scripts/garmin.py sleep --today        # Sleep stages
python3 scripts/garmin.py hr --today           # Heart rate data
python3 scripts/garmin.py hrv --today          # HRV
python3 scripts/garmin.py stress --today       # Stress levels
python3 scripts/garmin.py body-battery --today # Energy level

Activities

python3 scripts/garmin.py activities --limit 5
python3 scripts/garmin.py activity --id 123456 --full
python3 scripts/garmin.py download --id 123456 --format fit

Training & Performance

python3 scripts/garmin.py training --today     # Readiness + intensity
python3 scripts/garmin.py vo2max              # VO2 max + predictions
python3 scripts/garmin.py body                 # Body composition
python3 scripts/garmin.py race                 # Race predictions

Trends

python3 scripts/garmin.py week --days 7
python3 scripts/garmin.py trends --days 14
python3 scripts/garmin.py compare              # Week vs week
python3 scripts/garmin.py chart steps --days 30

Example Output

Natural Language Response

🔋 Body Battery:
   Current: 45%
   ⚠️ Moderate - lighter activity recommended

Weekly Comparison

📊 WEEK VS WEEK
─────────────────────────────────────────────────
Metric          This Week   Last Week   Change
─────────────────────────────────────────────────
Steps              42,500      38,200    ↑ 11.3%
Distance (km)         35.2        28.9   ↑ 21.8%
Calories            18,500      17,200     ↑ 7.6%
Resting HR            56.0        57.5     ↓ 2.6%

ASCII Chart

📈 STEPS - Last 7 Days
──────────────────────────────────────────────
10000 │       █           █
 8000 │   █   █   █       █
 6000 │   █   █   █   █   █
 4000 │   █   █   █   █   █   █
 2000 │   █   █   █   █   █   █   █
    0 └────────────────────────────────
      Mon  Tue  Wed  Thu  Fri  Sat  Sun

Cron Job Setup

⚠️ Security Note: Using environment variables is more secure than storing credentials on disk.

Option A: Environment Variables (Recommended)

# In your crontab or OpenClaw cron config:
GARMIN_EMAIL="your-email@example.com" GARMIN_PASSWORD="your-password" python3 ~/.agents/skills/garmin-connect-pro/scripts/garmin.py summary

Option B: Credentials File

# Morning briefing at 6:30
openclaw cron add --name "Morning Fitness" --cron "30 6 * * *" \
  --message "python3 ~/.agents/skills/garmin-connect-pro/scripts/garmin.py summary"

# Midday check at 12:00
openclaw cron add --name "Midday Check" --cron "0 12 * * *" \
  --message "python3 ~/.agents/skills/garmin-connect-pro/scripts/garmin.py ask 'body battery'"

# Evening summary at 20:00
openclaw cron add --name "Evening Summary" --cron "0 20 * * *" \
  --message "python3 ~/.agents/skills/garmin-connect-pro/scripts/garmin.py week --days 1"

Note: Cron jobs that run scripts with access to stored credentials increase the attack surface. Consider:

  • Using a dedicated Garmin account with limited permissions
  • Using environment variables instead of credential files
  • Running on a secure, isolated system

Data Available

CategoryMetrics
ActivitiesName, type, duration, distance, calories, HR zones, training effect, elevation, splits, steps
Daily StatsSteps, distance, floors, calories (total/active/BMR), HR (resting/min/max), stress, body battery
SleepTotal, deep, light, REM, awake, sleep score
HeartResting HR, min/max HR, HR zones, HRV (heart rate variability)
TrainingReadiness score, intensity minutes (moderate/vigorous), aerobic/anaerobic effect
BodyWeight, muscle mass, fat percentage, BMI (with Index scale)
PerformanceVO2 max, race predictions (5K-marathon), FTP (cycling)
HealthSpO2, respiration rate, hydration, stress timeline
DevicesFenix, Forerunner, Index scales, firmware, battery level

JSON Output

Add --json to any command for scripting:

python3 scripts/garmin.py summary --json | jq '.totalSteps'
python3 scripts/garmin.py activities --json | jq '.[0].averageHR'
python3 scripts/garmin.py export --days 30 --json > monthly_export.json

Requirements

  • Python 3.7+
  • garminconnect library (pip install garminconnect)
  • Garmin Connect account with devices synced

Troubleshooting

"Authentication failed"

  • Verify email and password in credentials file or environment variables
  • Delete tokens: rm -rf ~/.config/garmin-connect/tokens/
  • Re-run login

"No data for date"

  • Device may not have synced yet
  • Sleep data appears after morning sync
  • Some metrics (HRV, training readiness) require overnight processing

Rate Limits

  • Garmin may rate-limit excessive API calls
  • Add delays between bulk requests

The Honest Truth

This won't make you fitter. But it will make it harder to ignore the data. Your Garmin already knows you skipped leg day—now OpenClaw can remind you too.


*Want to be fit like @steipete? Well, now you can track every step of your journey—literally.*

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

88.7%
按下载量换算3,881

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills