xint
X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.
Garmin Connect integration for Clawdbot: sync fitness data (steps, HR, calories, workouts, sleep) every 5 minutes using OAuth.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install godsboy/garmin-connect-fixed打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Sync all your Garmin fitness data to Clawdbot:
pip install -r requirements.txt
python3 scripts/garmin-auth.py your-email@gmail.com your-password
This saves your OAuth session to ~/.garth/session.json — fully local and secure.
python3 scripts/garmin-sync.py
You should see JSON output with today's stats.
Add to your crontab:
*/5 * * * * /home/user/garmin-connect-clawdbot/scripts/garmin-cron.sh
Or manually:
*/5 * * * * python3 /home/user/garmin-connect-clawdbot/scripts/garmin-sync.py ~/.clawdbot/.garmin-cache.json
Import and use in your scripts:
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']}")
✅ 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
summary)steps: Daily step countheart_rate_resting: Resting heart rate (bpm)calories: Total calories burnedactive_minutes: Intensity minutesdistance_km: Distance traveledsleep)duration_hours: Total sleep timeduration_minutes: Sleep in minutesquality_percent: Sleep quality score (0-100)deep_sleep_hours: Deep sleep durationrem_sleep_hours: REM sleep durationlight_sleep_hours: L...这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
Sync your Garmin fitness data (steps, HR, calories, workouts, sleep) automatically to Clawdbot every 5 minutes.
pip install -r requirements.txt
Run the authentication script:
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.
python3 scripts/garmin-sync.py
You should see JSON output with your current Garmin data.
Add to your crontab:
*/5 * * * * python3 /path/to/scripts/garmin-sync.py
Import Garmin data in any Clawdbot script:
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']
| 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 is cached locally in JSON format for quick access without constant API calls.
The cached data contains:
# 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...
X Intelligence CLI — search, monitor, analyze, and engage on X/Twitter. TypeScript + Bun. AI agent skill.
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 pi...
Track flight prices from Google Flights with this OpenClaw skill. Search routes, monitor prices, and get alerts when prices drop.
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...