← Back to Skills Marketplace
199
Downloads
1
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install learn-courses-enhanced
Description
MOOC自动化学习工具 - 自动完成课程视频学习、检测章节状态、等待视频播放完成
README (SKILL.md)
\r \r
MOOC自动化学习工具 (增强版)\r
\r 本Skill提供基于Playwright的MOOC平台自动化学习功能。\r \r
何时使用本Skill\r
\r 当用户请求以下操作时使用本Skill:\r
- 自动学习MOOC课程视频\r
- 批量完成课程章节学习\r
- 自动化视频播放和完成检测\r \r
功能特性\r
\r
- 多课程支持 - 支持配置多个课程,自动逐个学习\r
- 自动章节检测 - 识别"开始学习"、"继续学习"、"复习"状态的章节\r
- 视频播放监控 - 等待视频播放完成,支持进度检测和完成状态识别\r
- 弹窗智能处理 - 自动关闭学习过程中的确认弹窗\r
- 防休眠机制 - 随机点击防止屏幕休眠\r
- 进度保存 - 意外中断后可恢复学习进度\r
- 异常自动恢复 - 网络异常时自动刷新重试\r
- 学习统计报告 - 生成详细的学习报告\r \r
使用方法\r
\r
环境要求\r
\r
- Node.js 18+\r
- 已安装Playwright:
npm install playwright\r - Chrome浏览器\r \r
安装依赖\r
\r
cd \x3Cskill目录>\r
npm install playwright\r
```\r
\r
### 配置课程\r
\r
编辑 `scripts/learn-courses.js`,在 `CONFIG.COURSES` 数组中添加目标课程:\r
\r
```javascript\r
COURSES: [\r
{\r
id: 'course-1',\r
name: '课程名称',\r
url: 'https://mooc.ctt.cn/#/study/subject/detail/...'\r
}\r
],\r
```\r
\r
### 运行脚本\r
\r
```bash\r
node scripts/learn-courses.js\r
```\r
\r
## 配置文件说明\r
\r
| 配置项 | 说明 |\r
|--------|------|\r
| `CONFIG.COURSES` | 课程列表,支持多个 |\r
| `CONFIG.VIDEO.MAX_WAIT_SECONDS` | 视频最大等待时间 |\r
| `CONFIG.BROWSER.HEADLESS` | 是否无头模式 |\r
\r
## 输出文件\r
\r
- `learning-progress.json` - 学习进度保存\r
- `learning-report.json` - 学习统计报告\r
\r
## 注意事项\r
\r
1. 本工具仅用于个人学习辅助,请遵守平台服务条款\r
2. 建议在夜间运行以避开高峰期\r
3. 部分平台可能有反自动化机制,请适度使用\r
Usage Guidance
This appears to be a straightforward Playwright-based MOOC automation script: it will open a browser, require you to log in, and save progress to learning-progress.json / learning-report.json in the working directory. Before running: (1) inspect the entire scripts/learn-courses.js file (the provided copy was truncated) to ensure there are no hidden network calls or unexpected behavior; (2) run it in a restricted account or VM if you are unsure; (3) install Playwright and its browser binaries only from official sources (npx playwright install chrome); (4) review the CONFIG.COURSES URLs and any executable path settings (process.pkg / chrome executable) to avoid running unknown binaries; (5) do not run as root/admin and avoid using sensitive accounts while testing.
Capability Analysis
Type: OpenClaw Skill
Name: learn-courses-enhanced
Version: 1.0.2
The skill bundle provides a functional Playwright-based automation tool for the MOOC platform (mooc.ctt.cn). The main script, scripts/learn-courses.js, automates video playback, handles interactive popups, and records learning progress in local JSON files. While it includes bot-detection evasion techniques (disabling AutomationControlled) and anti-sleep mechanisms, these behaviors are consistent with the stated purpose of the tool and do not exhibit signs of data exfiltration, credential theft, or malicious system interference.
Capability Assessment
Purpose & Capability
Name/description (MOOC automation) match the files and instructions: the SKILL.md explains using Node + Playwright and the script implements browser automation for course/video progress. Declared dependencies (playwright) and required runtime (Node.js, Chrome) are proportional to the stated purpose.
Instruction Scope
SKILL.md instructs running the provided Node script and installing Playwright; instructions and visible code operate on the target MOOC URLs and local progress/report files. There are no instructions to read unrelated system files or to send data to external endpoints in the visible parts.
Install Mechanism
No automatic install spec is provided (instruction-only), and SKILL.md asks the user to run npm install/playwright locally. Dependencies are from npm (playwright) which is expected for browser automation.
Credentials
The skill requests no environment variables or credentials. The script reads/writes local JSON files for progress and report, which is reasonable for this tool. There are no signs in the visible code of accessing unrelated credentials or config paths.
Persistence & Privilege
Skill is not always-enabled and uses normal agent invocation. It does not request elevated system-wide privileges in the visible files and only persists local progress/report files in the working directory.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install learn-courses-enhanced - After installation, invoke the skill by name or use
/learn-courses-enhanced - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.2
- Added _meta.json metadata file for enhanced skill management.
- No changes to features or documentation in SKILL.md.
v1.0.1
Version 1.0.1
- Added assets/package.json to manage dependencies.
- Added references/README.md for documentation reference.
- Removed the root README.md, moving documentation details into the references directory.
- SKILL.md updated with enhanced feature descriptions, multi-course support, robust error recovery, and clearer configuration instructions.
v1.0.0
MOOC自动学习工具首次发布,支持主流视频课程平台自动刷课:
- 自动识别并逐个学习未完成的课程章节
- 实时输出学习进度,自动处理各类弹窗
- 支持进度保存,可断点续学
- 完成后生成详细学习统计报告
- 灵活配置课程链接、播放等待时长及是否无头模式
Metadata
Frequently Asked Questions
What is learn-courses-mooc?
MOOC自动化学习工具 - 自动完成课程视频学习、检测章节状态、等待视频播放完成. It is an AI Agent Skill for Claude Code / OpenClaw, with 199 downloads so far.
How do I install learn-courses-mooc?
Run "/install learn-courses-enhanced" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is learn-courses-mooc free?
Yes, learn-courses-mooc is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does learn-courses-mooc support?
learn-courses-mooc is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created learn-courses-mooc?
It is built and maintained by tonylemon (@tonylemon); the current version is v1.0.2.
More Skills