garmin-connect-fixedGarmin Connect integration for Clawdbot: sync fitness data (steps, HR, calories, workouts, sleep) every 5 minutes using OAuth.
Install via ClawdBot CLI:
clawdbot install GodsBoy/garmin-connect-fixedSync 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: Light sleep durationawake_minutes: Time awake during sleepworkouts)For each recent workout:
type: Activity type (Running, Cycling, etc.)name: Activity namedistance_km: Distance traveledduration_minutes: Duration of activitycalories: Calories burnedheart_rate_avg: Average heart rateheart_rate_max: Max heart rateBy default, data is cached at: ~/.clawdbot/.garmin-cache.json
Customize with:
python3 scripts/garmin-sync.py /custom/path/cache.json
| File | Purpose |
|------|---------|
| garmin-auth.py | OAuth setup (run once) |
| garmin-sync.py | Main sync logic (run every 5 min) |
| garmin-formatter.py | Format data for display |
| garmin-cron.sh | Cron wrapper script |
| requirements.txt | Python dependencies |
garmin-sync.py againchmod +x scripts/garmin-cron.sh
chmod +x scripts/garmin-sync.py
chmod +x scripts/garmin-auth.py
Run garmin-sync.py at least once to create cache:
python3 scripts/garmin-sync.py
from scripts.garmin_formatter import format_all, get_as_dict
# Get formatted output
print(format_all())
# Get raw data
data = get_as_dict()
if data:
print(f"Sleep: {data['sleep']['duration_hours']}h")
print(f"Steps: {data['summary']['steps']:,}")
MIT β Use, fork, modify freely.
Made for Clawdbot | Available on ClawdHub
Generated Mar 1, 2026
Individuals use this skill to automatically sync their Garmin fitness data into a Clawdbot-powered personal dashboard, enabling real-time monitoring of daily activity, sleep quality, and workout performance. It helps users track health goals without manual logging, providing insights every 5 minutes for timely adjustments.
Companies integrate this skill into employee wellness platforms to collect aggregated, anonymized fitness data from Garmin devices, promoting healthy competition and rewards. It automates data sync for metrics like steps and active minutes, reducing administrative overhead and encouraging employee engagement.
Healthcare providers use this skill to remotely monitor patients' physical activity and sleep patterns via Garmin devices, syncing data into Clawdbot for analysis. It supports chronic disease management by providing real-time updates on metrics such as heart rate and sleep quality, aiding in personalized care plans.
Developers of fitness applications integrate this skill to enrich their platforms with detailed Garmin data, including workout specifics and sleep breakdowns. It automates data retrieval every 5 minutes, enhancing user profiles with accurate metrics for better recommendations and social features.
Academic researchers employ this skill to automatically collect fitness data from study participants using Garmin devices, syncing it into Clawdbot for analysis. It streamlines data aggregation on activity, sleep, and heart rate, supporting longitudinal health studies with minimal manual intervention.
Offer a paid platform where users subscribe to access advanced analytics and insights derived from their Garmin data synced via this skill. Revenue is generated through monthly or annual fees, with tiers based on features like detailed reports, trend analysis, and integration with other health tools.
Provide consulting and integration services to businesses looking to incorporate Garmin data into their existing systems using this skill. Revenue comes from one-time setup fees, ongoing maintenance contracts, and custom development for specific use cases like corporate wellness or telehealth.
Develop a free basic dashboard that uses this skill to display Garmin data, with premium features such as AI-driven insights, historical trend visualization, and export capabilities available for a fee. Revenue is generated through upgrades, in-app purchases, or advertising on the free tier.
π¬ Integration Tip
Ensure OAuth authentication is set up correctly by running the provided script and disable 2FA on Garmin accounts if needed; test the sync manually before configuring cron jobs to verify data flow.
Plan, focus, and complete work with energy management, time blocking, and context-specific productivity systems.
Build habits with streaks, reminders, and progress visualization
Comprehensive AI-assisted therapeutic support framework with CBT, ACT, DBT, MI, session notes CLI, and crisis protocols.
iOS HealthKit data sync CLI commands and patterns. Use when working with healthsync CLI, fetching Apple Health data (steps, heart rate, sleep, workouts), pairing iOS devices over local network, or understanding the iOS Health Sync project architecture including mTLS certificate pinning, Keychain storage, and audit logging.
Retrieve and summarize health, sleep, activity, readiness, and biometric data from the Oura Ring API via a command-line interface.
Load and analyze Strava activities, stats, and workouts using the Strava API