peacock
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChinesePeacock Skill
Peacock Skill
Overview
概述
Enables Claude to interact with Peacock for streaming NBCUniversal content, live sports, news, and managing watchlist with access to free and premium tiers.
让Claude能够与Peacock交互,以流式播放NBC环球内容、直播体育赛事、新闻,并管理观看列表,同时支持免费版和高级版内容访问。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/peacock/install.sh | bashOr manually:
bash
cp -r skills/peacock ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/peacock/install.sh | bash或手动安装:
bash
cp -r skills/peacock ~/.canifi/skills/Setup
设置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
First, ensure canifi-env is installed:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set PEACOCK_EMAIL "your-email@example.com"
undefinedcanifi-env set PEACOCK_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 movies, TV shows, and originals
- Access live sports and news channels
- Manage "My Stuff" watchlist
- View watch history and continue watching
- Explore free vs premium content
- 浏览电影、剧集及原创内容
- 访问直播体育赛事和新闻频道
- 管理“我的收藏”观看列表
- 查看观看历史并续播内容
- 探索免费版与高级版内容差异
Usage Examples
使用示例
Example 1: Add to Watchlist
示例1:添加到观看列表
User: "Add The Office to my Peacock watchlist"
Claude: I'll add The Office to your My Stuff list on Peacock.用户:“将《办公室》添加到我的Peacock观看列表”
Claude:我会把《办公室》添加到您Peacock的“我的收藏”列表中。Example 2: Live Sports
示例2:直播体育赛事
User: "What sports are live on Peacock right now?"
Claude: I'll check the live section for currently airing sports events.用户:“现在Peacock上有哪些直播体育赛事?”
Claude:我会查看直播板块,了解当前正在播出的体育赛事。Example 3: Free Content
示例3:免费内容
User: "What can I watch free on Peacock?"
Claude: I'll browse the free tier content available without Premium subscription.用户:“Peacock上有哪些免费内容可以观看?”
Claude:我会浏览无需Premium订阅即可观看的免费版内容。Authentication Flow
认证流程
- Navigate to peacocktv.com via Playwright MCP
- Click "Sign In" button
- Enter email and password
- Select profile if applicable
- Maintain session for subsequent requests
- 通过Playwright MCP导航至peacocktv.com
- 点击“登录”按钮
- 输入邮箱和密码
- 如有需要,选择个人资料
- 维持会话以用于后续请求
Error Handling
错误处理
- Login Failed: Retry authentication up to 3 times, then notify via iMessage
- Session Expired: Re-authenticate automatically
- Rate Limited: Implement exponential backoff
- Content Unavailable: Check subscription tier (Free vs Premium)
- Live Content: Verify scheduling and availability
- 登录失败:最多重试3次认证,随后通过iMessage通知用户
- 会话过期:自动重新认证
- 请求受限:实现指数退避机制
- 内容不可用:检查订阅等级(免费版vs高级版)
- 直播内容:核实排期和可用性
Self-Improvement Instructions
自我优化说明
When encountering new UI patterns:
- Document Peacock interface changes
- Update selectors for new layouts
- Track free vs premium content changes
- Monitor live event scheduling
遇到新的UI模式时:
- 记录Peacock界面的变化
- 更新适配新布局的选择器
- 跟踪免费版与高级版内容的变化
- 监控直播赛事的排期情况
Notes
注意事项
- Free tier available with ads
- Premium and Premium Plus tiers
- Live sports require Premium
- Some content has next-day availability
- 免费版含广告
- 提供Premium和Premium Plus两个付费等级
- 直播体育赛事需要Premium订阅
- 部分内容需次日方可观看