Garmin Sync Cn To Global
/install garmin-sync-cn-to-global
garmin-sync-cn-to-global
Sync activities from Garmin China (garmin.cn) to Garmin Global/International (garmin.com).
Usage
# Install dependencies
pip install garth
# Set credentials (once, stored in ~/.config/garmin-sync/credentials.json)
garmin-sync set-credentials --email your_email --password your_password
# Sync new activities from CN to Global
garmin-sync sync --new-only
Options
--new-only- Only sync records newer than last sync time (recommended for cron jobs)
Behavior
- Silent when no new activities: If there are no activities to sync (and no failed retries), the script exits silently with no output. This is useful for cron jobs where you only want to be notified when there's actual work to do.
- English output: All output is in English for consistency.
Requirements
- Python 3.x
- garth library (
pip install garth)
Notes
- One-way sync: CN → Global (not bidirectional)
- Uses startTimeLocal + distance to detect duplicates (activity IDs differ between servers)
- Skips conflicts automatically
- Same email/password works for both Garmin CN and Garmin Global accounts
Security Considerations
- Credentials are stored in plaintext at
~/.config/garmin-sync/credentials.json - Set restrictive file permissions after first run:
chmod 600 ~/.config/garmin-sync/credentials.json - Consider using a dedicated/sandbox account for testing
- Review the code before running with your primary credentials
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install garmin-sync-cn-to-global - After installation, invoke the skill by name or use
/garmin-sync-cn-to-global - Provide required inputs per the skill's parameter spec and get structured output
What is Garmin Sync Cn To Global?
Sync activities from Garmin China to Garmin Global using local timestamps and distance to avoid duplicates in a one-way sync process. It is an AI Agent Skill for Claude Code / OpenClaw, with 215 downloads so far.
How do I install Garmin Sync Cn To Global?
Run "/install garmin-sync-cn-to-global" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Garmin Sync Cn To Global free?
Yes, Garmin Sync Cn To Global is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Garmin Sync Cn To Global support?
Garmin Sync Cn To Global is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Garmin Sync Cn To Global?
It is built and maintained by IamTonyZHOU (@iamtonyzhou); the current version is v1.1.0.