xbox
Manage Xbox account, achievements, Game Pass, and gaming activity
SKILL.md
Full skill instructions
Xbox Skill
Overview
Enables Claude to interact with Xbox for viewing game library, tracking achievements, managing Game Pass subscription, and connecting with Xbox Live friends.
Quick Install
curl -sSL https://canifi.com/skills/xbox/install.sh | bash
Or manually:
cp -r skills/xbox ~/.canifi/skills/
Setup
Configure via canifi-env:
# First, ensure canifi-env is installed:
# curl -sSL https://canifi.com/install.sh | bash
canifi-env set XBOX_EMAIL "[email protected]"
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 game library and purchases
- Track achievements and Gamerscore
- Browse Game Pass catalog
- Manage friends and clubs
- Access Xbox Store deals
Usage Examples
Example 1: Achievement Progress
User: "What achievements am I missing in Halo Infinite?"
Claude: I'll check your Halo Infinite achievements and show remaining ones.
Example 2: Game Pass Browse
User: "What new games are on Game Pass?"
Claude: I'll check the latest additions to Xbox Game Pass.
Example 3: Gamerscore
User: "What's my total Gamerscore?"
Claude: I'll check your Xbox profile for your current Gamerscore total.
Authentication Flow
- Navigate to xbox.com via Playwright MCP
- Click "Sign In" button
- Enter Microsoft account credentials
- Handle 2FA if enabled
- Maintain session for subsequent requests
Error Handling
- Login Failed: Retry authentication up to 3 times, then notify via iMessage
- Session Expired: Re-authenticate with Microsoft
- 2FA Required: Wait for code via authenticator or email
- Rate Limited: Implement exponential backoff
- Game Pass: Verify subscription status
Self-Improvement Instructions
When encountering new UI patterns:
- Document Xbox interface changes
- Update selectors for new layouts
- Track Game Pass catalog changes
- Monitor achievement system updates
Notes
- Uses Microsoft account for login
- Game Pass includes PC and cloud gaming
- Smart Delivery provides cross-gen versions
- Play Anywhere enables PC and Xbox play
