garmin-connect
30
总安装量
30
周安装量
#6937
全站排名
安装命令
npx skills add https://github.com/andrejones92/canifi-life-os --skill garmin-connect
Agent 安装分布
claude-code
27
gemini-cli
24
opencode
24
codex
21
cursor
21
Skill 文档
Garmin Connect Skill
Overview
Enables Claude to use Garmin Connect for fitness tracking including viewing activities, health metrics, training status, and data from Garmin wearables.
Quick Install
curl -sSL https://canifi.com/skills/garmin-connect/install.sh | bash
Or manually:
cp -r skills/garmin-connect ~/.canifi/skills/
Setup
Configure via canifi-env:
# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set GARMIN_EMAIL "your-email@example.com"
canifi-env set GARMIN_PASSWORD "your-password"
Privacy & Authentication
Your credentials, your choice. Canifi LifeOS respects your privacy.
Option 1: Manual Browser Login (Recommended)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
Option 2: Environment Variables
If you’re comfortable sharing credentials, you can store them locally:
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
Capabilities
- View activity history
- Check health metrics
- Access training status
- View sleep data
- Check body battery
- Access stress tracking
Usage Examples
Example 1: Check Training Status
User: "What's my Garmin training status?"
Claude: I'll check your training status.
1. Opening Garmin Connect via Playwright MCP
2. Navigating to training section
3. Viewing current status
4. Checking load and recovery
5. Summarizing recommendations
Example 2: View Body Battery
User: "What's my body battery level?"
Claude: I'll check your body battery.
1. Accessing health stats
2. Viewing body battery
3. Checking current level
4. Showing daily pattern
Example 3: Review Activities
User: "Show me my activities from this week"
Claude: I'll review your activities.
1. Opening activities section
2. Filtering to this week
3. Listing all activities
4. Summarizing totals
Authentication Flow
- Navigate to connect.garmin.com via Playwright MCP
- Click “Sign In” and enter email
- Enter password
- Handle 2FA if required (via iMessage)
- Maintain session for data access
Error Handling
- Login Failed: Retry up to 3 times, notify via iMessage
- Session Expired: Re-authenticate automatically
- Rate Limited: Implement exponential backoff
- 2FA Required: Send iMessage notification
- Sync Required: Check device connection
- Data Delayed: Note sync timing
Self-Improvement Instructions
When Garmin Connect updates:
- Document new health metrics
- Update activity type support
- Track training features
- Log device compatibility changes
Notes
- Syncs from Garmin devices
- Comprehensive health tracking
- Training load analysis
- Body battery unique feature
- GPS-based activities