calm
Practice wellness with Calm - track meditation and sleep sessions, view progress, and access content library
SKILL.md
Full skill instructions
Calm Skill
Overview
Enables Claude to use Calm for wellness tracking including viewing meditation history, sleep story usage, and accessing the mindfulness content library.
Quick Install
curl -sSL https://canifi.com/skills/calm/install.sh | bash
Or manually:
cp -r skills/calm ~/.canifi/skills/
Setup
Configure via canifi-env:
# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set CALM_EMAIL "[email protected]"
canifi-env set CALM_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 session history
- Check practice streaks
- Access meditation library
- Browse sleep stories
- View progress stats
- Check completed programs
Usage Examples
Example 1: Check Session History
User: "What Calm sessions have I done this month?"
Claude: I'll review your session history.
1. Opening Calm via Playwright MCP
2. Accessing session history
3. Filtering to this month
4. Listing completed sessions
5. Summarizing usage patterns
Example 2: View Streak
User: "How's my Daily Calm streak?"
Claude: I'll check your streak.
1. Accessing profile section
2. Viewing streak status
3. Checking consecutive days
4. Reporting current streak
Example 3: Check Sleep Content
User: "What sleep stories are available?"
Claude: I'll browse sleep stories.
1. Navigating to sleep section
2. Viewing story library
3. Listing available stories
4. Noting narrators and themes
Authentication Flow
- Navigate to calm.com via Playwright MCP
- Click "Log In" and enter email
- Enter password
- Handle Apple/Google SSO if configured
- 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
- Content Locked: Check subscription status
- Playback Error: Retry or check connection
Self-Improvement Instructions
When Calm updates:
- Document new content additions
- Update navigation patterns
- Track new feature releases
- Log library organization changes
Notes
- Subscription for full library
- Daily Calm feature
- Sleep Stories popular feature
- Music and nature sounds
- Programs for specific goals
