fitbit
31
总安装量
31
周安装量
#6570
全站排名
安装命令
npx skills add https://github.com/andrejones92/canifi-life-os --skill fitbit
Agent 安装分布
claude-code
28
gemini-cli
24
opencode
24
antigravity
21
codex
21
cursor
21
Skill 文档
Fitbit Skill
Overview
Enables Claude to use Fitbit for health and wellness tracking including viewing activity data, sleep patterns, heart rate, and other health metrics.
Quick Install
curl -sSL https://canifi.com/skills/fitbit/install.sh | bash
Or manually:
cp -r skills/fitbit ~/.canifi/skills/
Setup
Configure via canifi-env:
# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set FITBIT_EMAIL "your-email@example.com"
canifi-env set FITBIT_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 daily activity stats
- Check sleep patterns and quality
- Access heart rate data
- View step counts and goals
- Check weight and body metrics
- Access exercise history
Usage Examples
Example 1: Check Daily Activity
User: "How many steps have I taken today?"
Claude: I'll check your step count.
1. Opening Fitbit via Playwright MCP
2. Accessing today's dashboard
3. Viewing step total
4. Comparing to daily goal
Example 2: View Sleep Data
User: "How did I sleep last night?"
Claude: I'll check your sleep data.
1. Navigating to sleep section
2. Viewing last night's sleep
3. Checking sleep stages
4. Summarizing sleep quality
Example 3: Check Heart Rate
User: "What's my resting heart rate trend?"
Claude: I'll analyze your heart rate data.
1. Accessing heart rate section
2. Viewing resting HR history
3. Calculating trends
4. Summarizing changes
Authentication Flow
- Navigate to fitbit.com via Playwright MCP
- Click “Log In” and enter email
- Enter password
- Handle Google login if connected
- Complete 2FA if required (via iMessage)
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: Note data may be outdated
- Device Offline: Report last sync time
Self-Improvement Instructions
When Fitbit updates:
- Document new health metrics
- Update dashboard navigation
- Track new device features
- Log Google integration changes
Notes
- Now owned by Google
- Syncs from Fitbit devices
- Premium features available
- Multiple health metrics
- Sleep tracking detailed