masterclass
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseMasterClass Skill
MasterClass Skill
Overview
概述
Enables Claude to interact with MasterClass for accessing expert-led video lessons, tracking progress through classes, exploring different categories, and discovering new instructors.
让Claude能够与MasterClass交互,从而访问专家授课的视频课程、追踪课程学习进度、浏览不同分类以及发现新讲师。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/masterclass/install.sh | bashOr manually:
bash
cp -r skills/masterclass ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/masterclass/install.sh | bash或手动安装:
bash
cp -r skills/masterclass ~/.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 MASTERCLASS_EMAIL "your-email@example.com"
undefinedcanifi-env set MASTERCLASS_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 classes by category and instructor
- Track lesson completion progress
- Access class workbooks and materials
- View instructor filmographies
- Discover recommended classes
- 按分类和讲师浏览课程
- 追踪课程完成进度
- 访问课程练习册和资料
- 查看讲师作品履历
- 发现推荐课程
Usage Examples
使用示例
Example 1: Browse Classes
示例1:浏览课程
User: "What cooking classes are on MasterClass?"
Claude: I'll browse the culinary arts section for cooking classes.用户:"MasterClass上有哪些烹饪课程?"
Claude:我将浏览烹饪艺术板块的课程。Example 2: Progress Check
示例2:进度查询
User: "How far am I in Gordon Ramsay's class?"
Claude: I'll check your progress in Gordon Ramsay's cooking MasterClass.用户:"我在Gordon Ramsay的课程中学到哪了?"
Claude:我将查询你在Gordon Ramsay的MasterClass烹饪课程中的进度。Example 3: New Classes
示例3:新课程查询
User: "What new MasterClasses were added recently?"
Claude: I'll check for recently added classes and instructors.用户:"最近新增了哪些MasterClass课程?"
Claude:我将查询最近新增的课程和讲师。Authentication Flow
认证流程
- Navigate to masterclass.com via Playwright MCP
- Click "Log In" button
- Enter MasterClass credentials
- Handle verification if required
- Maintain session for subsequent requests
- 通过Playwright MCP导航至masterclass.com
- 点击"登录"按钮
- 输入MasterClass凭证
- 如需验证则完成验证步骤
- 维持会话以处理后续请求
Error Handling
错误处理
- Login Failed: Retry authentication up to 3 times, then notify via iMessage
- Session Expired: Re-authenticate automatically
- Verification Required: Complete email verification
- Rate Limited: Implement exponential backoff
- Subscription Required: Check membership status
- 登录失败:最多重试3次认证,随后通过iMessage通知
- 会话过期:自动重新认证
- 需要验证:完成邮件验证
- 速率限制:实现指数退避策略
- 需要订阅:检查会员状态
Self-Improvement Instructions
自我改进说明
When encountering new UI patterns:
- Document MasterClass interface changes
- Update selectors for new layouts
- Track new instructor additions
- Monitor class category updates
遇到新UI模式时:
- 记录MasterClass界面变更
- 更新针对新布局的选择器
- 追踪新讲师的加入
- 监控课程分类的更新
Notes
说明
- Celebrity and expert instructors
- High production quality videos
- Downloadable workbooks
- Annual subscription model
- 名人与专家讲师
- 高制作质量视频
- 可下载练习册
- 年度订阅模式