← 返回 Skills 市场
quanfuda

Auto Course Player

作者 quanfuda · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
114
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install auto-course-player
功能描述
通过自动控制 Chrome 浏览器,顺序播放网课视频,自动检测完成并切换,支持暂停恢复及进度统计。
使用说明 (SKILL.md)

自动网课播放器 🎓

警告:使用前请确认符合学校规定和学术诚信政策。

功能

  • ✅ 自动按顺序播放视频
  • ✅ 检测播放完成自动切换
  • ✅ 记录学习进度
  • ✅ 支持暂停/恢复
  • ✅ 学习时长统计

使用流程

步骤 1: 准备工作

  1. 用 Chrome 打开网课平台
  2. 扫码登录
  3. 进入课程列表页面
  4. 确保 OpenClaw 的 Chrome 扩展已启用(Browser Relay)

步骤 2: 启动自动播放

告诉 Bill:

开始自动播放网课

或指定课程:

播放 [课程名称] 的所有视频

步骤 3: 监控进度

随时询问:

当前进度如何?
还剩多少视频?
今天学习了多久?

步骤 4: 控制播放

暂停播放
继续播放
停止播放(保存进度)
跳到下一个视频

技术实现

播放检测机制

  1. 视频元素检测 - 查找页面中的 \x3Cvideo> 元素
  2. 播放状态监控 - 检查 video.pausedvideo.ended
  3. 进度条检测 - 监控播放进度百分比
  4. 下一课按钮 - 自动点击"下一个"或返回列表选择

防检测策略

  • 使用真实浏览器(非 headless)
  • 保持正常播放速度(不加速)
  • 模拟人类行为(偶尔暂停)
  • 记录真实学习时间

进度记录

学习记录保存在:memory/course-progress.md

格式:

## 2026-03-12

**课程**: [课程名称]
**总视频数**: [数量]
**已完成**: [数量]
**学习时长**: [X 小时 Y 分钟]
**最后播放**: [视频名称]
**状态**: [进行中/已完成]

脚本资源

  • scripts/start-player.js - 启动播放器
  • scripts/check-progress.js - 检查进度
  • scripts/generate-report.js - 生成学习报告

注意事项

⚠️ 重要:

  1. 不要关闭浏览器
  2. 保持网络连接
  3. 定期检查进度
  4. 如遇验证码需人工处理
  5. 建议分批次完成(避免异常)

错误处理

问题 解决方案
视频不播放 检查网络/刷新页面
无法切换下一课 人工介入点击
登录过期 重新扫码登录
检测到异常 暂停并联系人工

合理使用,遵守学术诚信。 📚

安全使用建议
This skill appears to do what it claims: run JavaScript in your browser to auto-play and navigate course videos and optionally save progress locally. Before installing or running it: 1) Inspect the Tampermonkey/bookmarklet/console scripts (they will run arbitrary JS in pages you visit). 2) Be cautious about enabling any third‑party Chrome extension (the README mentions 'Browser Relay' — the provided scripts do not require it; only enable an extension if you trust its source). 3) The included Node script will write to ~/.openclaw/workspace/memory/course-progress.md — back up any important files and verify the path. 4) Run first in a non-critical account or test page to confirm behavior and reduce risk of unintended clicks. 5) Consider academic integrity and site terms before using automated playback. If you want higher assurance, ask the publisher for provenance (homepage/source repo) or for the scripts to be published on a trusted code hosting site so you can review commit history.
功能分析
Type: OpenClaw Skill Name: auto-course-player Version: 1.0.0 The skill bundle is a browser automation tool designed to automate video playback on the Qingdao University Continuing Education platform. The scripts (course-autoplay.user.js, course-autoplay-console.js, and course-player.js) perform standard DOM manipulations such as clicking 'next' buttons, muting videos, and monitoring playback progress. While the tool is intended for bypassing course engagement requirements, it contains no evidence of data exfiltration, credential theft, or unauthorized system access. File system interaction in course-player.js is limited to managing a local progress file within the OpenClaw workspace.
能力评估
Purpose & Capability
Name/description (自动播放网课) match the included user script, bookmarklet, console snippet, and a small Node helper that reads/writes a local progress markdown file. Minor inconsistency: SKILL.md/README recommend enabling an 'OpenClaw Browser Relay' extension, but the provided launch paths are Tampermonkey scripts, a bookmarklet, and console code — the extension is not required by the included scripts. This is likely a usability suggestion rather than a required credential.
Instruction Scope
SKILL.md and INSTALL.md instruct the agent/user to run browser-side scripts (Tampermonkey/bookmarklet/console) and optionally a local node script to initialize or view progress. The instructions reference only the course pages and a local progress file; they do not ask for unrelated system files, credentials, or external endpoints beyond the target course domains. The scripts perform DOM actions (clicking, closing dialogs) as expected for this purpose.
Install Mechanism
No install spec or remote downloads. The distribution is instruction + local script files intended to be copied into Tampermonkey or used as a bookmarklet. This avoids arbitrary remote installers and is proportionate to the task.
Credentials
No environment variables or external credentials are requested. The Node helper reads/writes a progress file at ~/.openclaw/workspace/memory/course-progress.md — this is appropriate for storing progress but is filesystem access; users should be aware the script will write to their home workspace. No other secrets or unrelated config paths are requested.
Persistence & Privilege
The skill does not request always:true or any elevated platform privileges. It writes only to its own progress file under the user's ~/.openclaw workspace and does not modify other skills or system-wide agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-course-player
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-course-player 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
auto-course-player 1.0.0 初始版本发布: - 支持自动顺序播放网课视频,检测播放完成后自动切换到下一个视频 - 记录学习进度,支持暂停、恢复和进度查询 - 统计学习时长,并生成每日学习报告 - 采用真实浏览器自动化,包含防检测策略 - 错误处理和常见问题支持
元数据
Slug auto-course-player
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Auto Course Player 是什么?

通过自动控制 Chrome 浏览器,顺序播放网课视频,自动检测完成并切换,支持暂停恢复及进度统计。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 114 次。

如何安装 Auto Course Player?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-course-player」即可一键安装,无需额外配置。

Auto Course Player 是免费的吗?

是的,Auto Course Player 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Auto Course Player 支持哪些平台?

Auto Course Player 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Auto Course Player?

由 quanfuda(@quanfuda)开发并维护,当前版本 v1.0.0。

💬 留言讨论