Overview
- Skill Key
- godsboy/garmin-connect-fixed
- Author
- godsboy
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/godsboy/garmin-connect-fixed
- Latest Commit SHA
- 118611661fca7491f6f7b1890e56bab3695024d2
Garmin Connect integration for Clawdbot: sync fitness data (steps, HR, calories, workouts, sleep) every 5 minutes using OAuth.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 garmin-connect 技能。 若已安装,则直接安装 garmin-connect 技能。
# Garmin Connect Skill
Sync all your Garmin fitness data to Clawdbot:
- 🚶 **Daily Activity**: Steps, heart rate, calories, active minutes, distance
- 😴 **Sleep**: Duration, quality, deep/REM/light sleep breakdown
- 🏋️ **Workouts**: Recent activities with distance, duration, calories, heart rate
- ⏱️ **Real-time sync**: Every 5 minutes via cron
## Quick Start
### 1. Install Dependencies
```bash
pip install -r requirements.txt
```
### 2. OAuth Authentication (One-time)
```bash
python3 scripts/garmin-auth.py your-email@gmail.com your-password
```
This saves your OAuth session to `~/.garth/session.json` — fully local and secure.
### 3. Test Sync
```bash
python3 scripts/garmin-sync.py
```
You should see JSON output with today's stats.
### 4. Set Up 5-Minute Cron
Add to your crontab:
```bash
*/5 * * * * /home/user/garmin-connect-clawdbot/scripts/garmin-cron.sh
```
Or manually:
```bash
*/5 * * * * python3 /home/user/garmin-connect-clawdbot/scripts/garmin-sync.py ~/.clawdbot/.garmin-cache.json
```
### 5. Use in Clawdbot
Import and use in your scripts:
```python
from scripts.garmin_formatter import format_all, get_as_dict
# Get all formatted data
print(format_all())
# Or get raw dict
data = get_as_dict()
print(f"Steps today: {data['summary']['steps']}")
```
## Features
✅ OAuth-based (secure, no password storage)
✅ All metrics: activity, sleep, workouts
✅ Local caching (fast access)
✅ Cron-friendly (5-minute intervals)
✅ Easy Clawdbot integration
✅ Multi-user support
## Data Captured
### Daily Activity (`summary`)
- `steps`: Daily step count
- `heart_rate_resting`: Resting heart rate (bpm)
- `calories`: Total calories burned
- `active_minutes`: Intensity minutes
- `distance_km`: Distance traveled
### Sleep (`sleep`)
- `duration_hours`: Total sleep time
- `duration_minutes`: Sleep in minutes
- `quality_percent`: Sleep quality score (0-100)
- `deep_sleep_hours`: Deep sleep duration
- `rem_sleep_hours`: REM sleep duration
- `light_sleep_hours`: L...
# Garmin Connect Integration for Clawdbot Sync your Garmin fitness data (steps, HR, calories, workouts, sleep) automatically to Clawdbot every 5 minutes. ## Quick Start ### 1. Install Dependencies ```bash pip install -r requirements.txt ``` ### 2. Authenticate with OAuth Run the authentication script: ```bash python3 scripts/garmin-auth.py your-email@gmail.com your-password ``` This saves your OAuth session to `~/.garth/session.json` (local, secure). ⚠️ **Keep this file safe** — it contains your Garmin OAuth token. ### 3. Test ```bash python3 scripts/garmin-sync.py ``` You should see JSON output with your current Garmin data. ### 4. Set Up Cron (5-minute sync) Add to your crontab: ```bash */5 * * * * python3 /path/to/scripts/garmin-sync.py ``` ### 5. Use in Your Scripts Import Garmin data in any Clawdbot script: ```python from garmin_connect_clawdbot.scripts.garmin_formatter import format_all, get_as_dict # Get all formatted data all_data = format_all() print(all_data) # Or get raw dictionary data = get_as_dict() steps = data['summary']['steps'] sleep_hours = data['sleep']['duration_hours'] ``` ## Features - ✅ OAuth-based authentication (secure) - ✅ Real-time sync every 5 minutes - ✅ Sleep quality tracking (duration, deep/REM/light sleep) - ✅ Daily activity metrics (steps, HR, calories, distance) - ✅ Workout tracking (all activity types) - ✅ Body battery monitoring - ✅ Local caching (JSON) - ✅ Easy Clawdbot integration ## Scripts | Script | Purpose | |--------|---------| | `garmin-auth.py` | OAuth authentication (run once) | | `garmin-sync.py` | Sync all data from Garmin | | `garmin-formatter.py` | Format data for display | | `garmin-cron.sh` | Wrapper for cron jobs | ## Data Caching Data is cached locally in JSON format for quick access without constant API calls. ### Data Structure The cached data contains: - **summary**: Daily activity (steps, heart rate, calories, active minutes, distance) - **sleep**: Sleep metrics (duration...
0xnyk
X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.
heyixuan2
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pipeline: search → generate → analyze → colorize → preview → open BS → user slice → print → monitor. Supports all 9 Bambu Lab printers (A1 Mini, A1, P1S, P2S, X1C, X1E, H2C, H2S, H2D).
jackculpan
Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.
openclaw-trade
openclaw trading assistant| openclaw trading skill | nof1.ai & openclaw [moltbot] collaboration | We get the best practices from alpha arena trading seasons and bring it to clawdbot All top AI agents, realtime monitoring and news research, gather info from private insiders and many other! Using Hyperliquid API.
xquik-dev
X (Twitter) automation skill for AI coding agents. Tweet search, user lookup, follower/following extraction, media download, reply/retweet/quote extraction, 40+ tools, account monitoring & trending topics. REST API, MCP server, HMAC webhooks. Works with Claude Code, Cursor, Codex, Copilot, Windsurf & 40+ agents.
mohsinkhadim59
Step-by-step guides for installing and running OpenClaw, an open-source AI agent, on Mac, Linux VPS, and AWS covering setup, security, messaging channels, Google integration, skills, and monitoring.