ea-play
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseEA Play Skill
EA Play Skill
Overview
概述
Enables Claude to interact with EA Play for accessing subscription game library, tracking game trials, managing EA account, and discovering new EA titles.
让Claude能够与EA Play交互,以访问订阅游戏库、跟踪游戏试玩、管理EA账户并发现新的EA游戏。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/ea-play/install.sh | bashOr manually:
bash
cp -r skills/ea-play ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/ea-play/install.sh | bash或手动安装:
bash
cp -r skills/ea-play ~/.canifi/skills/Setup
设置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set EA_EMAIL "your-email@example.com"
undefinedcanifi-env set EA_EMAIL "your-email@example.com"
undefinedPrivacy & 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:
- 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
如果你不想与Claude Code共享凭据:
- 使用CDP模式完成浏览器自动化设置
- 在Playwright控制的Chrome窗口中手动登录该服务
- 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 EA Play game catalog
- Access 10-hour game trials
- View play history and stats
- Claim member rewards and discounts
- Track upcoming EA releases
- 浏览EA Play游戏目录
- 访问10小时游戏试玩
- 查看游戏历史记录和统计数据
- 领取会员奖励和折扣
- 跟踪即将推出的EA游戏
Usage Examples
使用示例
Example 1: Game Catalog
示例1:游戏目录
User: "What games are included in EA Play?"
Claude: I'll browse the EA Play vault and list available games.用户:"EA Play包含哪些游戏?"
Claude:我将浏览EA Play游戏库并列出可用游戏。Example 2: Game Trial
示例2:游戏试玩
User: "Can I try the new FIFA before buying?"
Claude: I'll check if a 10-hour trial is available for the latest FIFA.用户:"我可以在购买前试玩新的FIFA吗?"
Claude:我将检查最新版FIFA是否提供10小时试玩。Example 3: Member Benefits
示例3:会员福利
User: "What discounts do I get with EA Play?"
Claude: I'll check your EA Play member benefits and current discounts.用户:"EA Play会员有哪些折扣?"
Claude:我将查看你的EA Play会员福利及当前折扣。Authentication Flow
认证流程
- Navigate to ea.com via Playwright MCP
- Click "Sign In" button
- Enter EA account credentials
- Handle 2FA if enabled
- Maintain session for subsequent requests
- 通过Playwright MCP导航至ea.com
- 点击“登录”按钮
- 输入EA账户凭据
- 若启用则处理双因素认证(2FA)
- 维持会话以用于后续请求
Error Handling
错误处理
- Login Failed: Retry authentication up to 3 times, then notify via iMessage
- Session Expired: Re-authenticate with EA
- 2FA Required: Wait for code via email
- Rate Limited: Implement exponential backoff
- Subscription Status: Verify EA Play membership
- 登录失败:最多重试认证3次,随后通过iMessage通知
- 会话过期:重新向EA认证
- 需要2FA:等待邮件发送的验证码
- 速率限制:实现指数退避策略
- 订阅状态:验证EA Play会员资格
Self-Improvement Instructions
自我改进说明
When encountering new UI patterns:
- Document EA app and web changes
- Update selectors for new layouts
- Track vault additions
- Monitor trial availability
遇到新的UI模式时:
- 记录EA应用及网页的变更
- 更新针对新布局的选择器
- 跟踪游戏库新增内容
- 监控试玩可用性
Notes
注意事项
- EA Play included with Game Pass Ultimate
- Pro tier offers more games
- 10-hour trials for new releases
- 10% discount on EA purchases
- EA Play包含在Game Pass Ultimate中
- Pro tier提供更多游戏
- 新游戏提供10小时试玩
- EA购买可享10%折扣