gamepass

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Xbox Game Pass Skill

Xbox Game Pass Skill

Overview

概述

Enables Claude to interact with Xbox Game Pass for browsing game catalog, tracking leaving/arriving games, accessing perks, and managing subscription across PC and console.
让Claude能够与Xbox Game Pass交互,包括浏览游戏目录、追踪即将移除/新增的游戏、获取福利,以及管理PC和主机端的订阅。

Quick Install

快速安装

bash
curl -sSL https://canifi.com/skills/gamepass/install.sh | bash
Or manually:
bash
cp -r skills/gamepass ~/.canifi/skills/
bash
curl -sSL https://canifi.com/skills/gamepass/install.sh | bash
或者手动安装:
bash
cp -r skills/gamepass ~/.canifi/skills/

Setup

设置

Configure via canifi-env:
bash
undefined
通过canifi-env进行配置:
bash
undefined

First, ensure canifi-env is installed:

首先,确保已安装canifi-env:

canifi-env set XBOX_EMAIL "your-email@example.com"
undefined
canifi-env set XBOX_EMAIL "your-email@example.com"
undefined

Privacy & Authentication

隐私与认证

Your credentials, your choice. Canifi LifeOS respects your privacy.
你的凭据,由你掌控。 Canifi LifeOS尊重你的隐私。

Option 1: Manual Browser Login (Recommended)

选项1:手动浏览器登录(推荐)

If you prefer not to share credentials with Claude Code:
  1. Complete the Browser Automation Setup using CDP mode
  2. Login to the service manually in the Playwright-controlled Chrome window
  3. Claude will use your authenticated session without ever seeing your password
如果你不想与Claude Code共享凭据:
  1. 使用CDP模式完成浏览器自动化设置
  2. 在Playwright控制的Chrome窗口中手动登录该服务
  3. Claude将使用你的已认证会话,全程不会获取你的密码

Option 2: Environment Variables

选项2:环境变量

If you're comfortable sharing credentials, you can store them locally:
bash
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.
如果你愿意共享凭据,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"
注意:存储在canifi-env中的凭据仅能在你的本地设备上访问,绝不会被传输。

Capabilities

功能

  • Browse Game Pass catalog
  • Track games leaving soon
  • Access Game Pass perks and rewards
  • View recently added games
  • Manage subscription tier
  • 浏览Game Pass游戏目录
  • 追踪即将移除的游戏
  • 获取Game Pass福利与奖励
  • 查看近期新增的游戏
  • 管理订阅等级

Usage Examples

使用示例

Example 1: New Additions

示例1:新增游戏

User: "What new games are on Game Pass?"
Claude: I'll check the recently added games to Game Pass.
用户:“Game Pass上有什么新游戏?”
Claude:我将查看Game Pass近期新增的游戏。

Example 2: Leaving Soon

示例2:即将移除的游戏

User: "What games are leaving Game Pass soon?"
Claude: I'll check which games are scheduled to leave Game Pass.
用户:“哪些游戏即将从Game Pass移除?”
Claude:我将查看计划从Game Pass移除的游戏。

Example 3: Claim Perks

示例3:领取福利

User: "What Game Pass perks are available?"
Claude: I'll check for available Game Pass Ultimate perks to claim.
用户:“有哪些可用的Game Pass福利?”
Claude:我将查看可领取的Game Pass Ultimate福利。

Authentication Flow

认证流程

  1. Navigate to xbox.com/gamepass via Playwright MCP
  2. Click "Sign In" button
  3. Enter Microsoft credentials
  4. Handle 2FA if enabled
  5. Maintain session for subsequent requests
  1. 通过Playwright MCP导航至xbox.com/gamepass
  2. 点击“登录”按钮
  3. 输入Microsoft凭据
  4. 若启用双因素认证则完成验证
  5. 维持会话以用于后续请求

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
  • Rate Limited: Implement exponential backoff
  • Tier Restrictions: Note PC vs Console vs Ultimate
  • 登录失败:最多重试3次认证,随后通过iMessage通知
  • 会话过期:重新通过Microsoft认证
  • 需要双因素认证:等待验证器发送的验证码
  • 速率限制:实现指数退避机制
  • 等级限制:区分PC、主机与Ultimate等级

Self-Improvement Instructions

自我优化说明

When encountering new UI patterns:
  1. Document Game Pass interface changes
  2. Update selectors for new layouts
  3. Track catalog rotation patterns
  4. Monitor perk availability
当遇到新的UI模式时:
  1. 记录Game Pass界面的变化
  2. 更新针对新布局的选择器
  3. 追踪游戏目录的轮换模式
  4. 监控福利的可用情况

Notes

注意事项

  • PC, Console, and Ultimate tiers
  • EA Play included with Ultimate
  • Cloud gaming with Ultimate
  • Day one Xbox Game Studios releases
  • 支持PC、主机和Ultimate三种订阅等级
  • Ultimate等级包含EA Play
  • Ultimate等级支持云游戏
  • Xbox Game Studios的首发游戏可直接加入