coursera

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Coursera Skill

Coursera Skill

Overview

概述

Enables Claude to interact with Coursera for browsing courses, tracking learning progress, managing enrolled programs, and accessing certificates and degrees.
让Claude能够与Coursera进行交互,用于浏览课程、跟踪学习进度、管理已报名的项目,以及访问证书和学位。

Quick Install

快速安装

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

Setup

设置

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

First, ensure canifi-env is installed:

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

canifi-env set COURSERA_EMAIL "your-email@example.com"
undefined
canifi-env set COURSERA_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 and enroll in courses
  • Track course progress and deadlines
  • View completed certifications
  • Manage specializations and degrees
  • Access course materials and assignments
  • 浏览并报名课程
  • 跟踪课程进度和截止日期
  • 查看已获取的证书
  • 管理专项课程和学位
  • 访问课程资料和作业

Usage Examples

使用示例

Example 1: Course Progress

示例1:课程进度

User: "What's my progress in the Machine Learning course?"
Claude: I'll check your current progress and upcoming assignments in the ML course.
用户:“我的机器学习课程进度如何?”
Claude:我将查看您在机器学习课程中的当前进度和即将到来的作业。

Example 2: Find Courses

示例2:查找课程

User: "Find me courses on data science"
Claude: I'll search Coursera for highly-rated data science courses.
用户:“帮我找数据科学相关的课程”
Claude:我将在Coursera上搜索高评分的数据科学课程。

Example 3: Check Certificates

示例3:查看证书

User: "What certificates have I earned on Coursera?"
Claude: I'll list all your completed Coursera certifications.
用户:“我在Coursera上获得了哪些证书?”
Claude:我将列出您所有已完成的Coursera证书。

Authentication Flow

认证流程

  1. Navigate to coursera.org via Playwright MCP
  2. Click "Log In" button
  3. Enter Coursera credentials
  4. Handle verification if required
  5. Maintain session for subsequent requests
  1. 通过Playwright MCP导航至coursera.org
  2. 点击“登录”按钮
  3. 输入Coursera凭据
  4. 如有需要,完成验证步骤
  5. 维持会话以用于后续请求

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
  • Course Access: Check subscription or enrollment status
  • 登录失败:最多重试3次认证,然后通过iMessage通知
  • 会话过期:自动重新认证
  • 需要验证:完成邮件验证
  • 速率限制:实现指数退避机制
  • 课程访问:检查订阅或报名状态

Self-Improvement Instructions

自我改进说明

When encountering new UI patterns:
  1. Document Coursera interface changes
  2. Update selectors for new layouts
  3. Track new course offerings
  4. Monitor certification requirements
遇到新的UI模式时:
  1. 记录Coursera界面的变化
  2. 更新针对新布局的选择器
  3. 跟踪新的课程发布
  4. 监控证书要求的变化

Notes

注意事项

  • Coursera Plus for unlimited access
  • University-backed certificates
  • Specializations and degrees available
  • Audit mode for free access
  • Coursera Plus可提供无限制访问权限
  • 由大学背书的证书
  • 提供专项课程和学位
  • 可使用旁听模式免费访问