lose-it
30
总安装量
30
周安装量
#6965
全站排名
安装命令
npx skills add https://github.com/andrejones92/canifi-life-os --skill lose-it
Agent 安装分布
claude-code
27
gemini-cli
24
opencode
24
antigravity
21
codex
21
cursor
21
Skill 文档
Lose It! Skill
Overview
Enables Claude to use Lose It! for calorie and weight tracking including viewing food logs, monitoring weight trends, and checking nutrition goals.
Quick Install
curl -sSL https://canifi.com/skills/lose-it/install.sh | bash
Or manually:
cp -r skills/lose-it ~/.canifi/skills/
Setup
Configure via canifi-env:
# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set LOSEIT_EMAIL "your-email@example.com"
canifi-env set LOSEIT_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 food diary
- Check calorie budget
- Track weight progress
- View nutrition breakdown
- Access meal history
- Check exercise logging
Usage Examples
Example 1: Check Calorie Budget
User: "How many calories do I have left today?"
Claude: I'll check your budget.
1. Opening Lose It! via Playwright MCP
2. Accessing today's diary
3. Viewing calorie total
4. Calculating remaining
5. Reporting budget status
Example 2: View Weight Trend
User: "How's my weight trending this month?"
Claude: I'll analyze your weight trend.
1. Accessing weight section
2. Viewing monthly data
3. Calculating trend
4. Comparing to goal
Example 3: Check Meal Breakdown
User: "What did I eat for lunch this week?"
Claude: I'll review your lunches.
1. Accessing food diary
2. Filtering to lunch meals
3. Listing this week's entries
4. Summarizing patterns
Authentication Flow
- Navigate to loseit.com via Playwright MCP
- Click “Log In” and enter email
- Enter password
- Handle 2FA if required (via iMessage)
- Maintain session for diary 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
- Data Unavailable: Check for logged entries
- Sync Error: Refresh and retry
Self-Improvement Instructions
When Lose It! updates:
- Document new tracking features
- Update food database changes
- Track premium feature updates
- Log interface modifications
Notes
- Calorie-focused approach
- Large food database
- Barcode scanning on mobile
- Premium for detailed nutrients
- Device integrations available