online-course-automation

online-course-automation is a skill for Claude Code, Codex from SparkElf/deepseek-harness-plus. It costs 104 tokens per session (3,184 once invoked), scanned A, original, MIT.

A browser-automation guide for completing online courses, including video lessons and timed document lessons. It describes how these platforms record progress and mark content complete.

In plain words
What is it for?
Use it to inspect course progress, complete video and document lessons, identify unfinished items, and verify completion through the platform's recorded progress.
Why use it?
It removes guesswork about completion rules, such as when video progress is reported or how long a document must remain open.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to inspect course progress, complete video and document lessons, identify unfinished items, and verify completion through the platform's recorded progress.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparkelf/deepseek-harness-plus/online-course-automation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SparkElf/deepseek-harness-plus --skill online-course-automation
Clone the repo
git clone --depth 1 https://github.com/SparkElf/deepseek-harness-plus

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for online-course-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/online-course-automation/github.svg)](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/online-course-automation)
Your own site
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/online-course-automation"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/online-course-automation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for online-course-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/online-course-automation"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/online-course-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,184 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.03184
Opus 5.5 $0.00042 $0.01274
Sonnet 5.5 $0.00021 $0.00637
Haiku 4.5 $0.00010 $0.00318

Measured yesterday against content hash cba8cf35bc05, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

online-course-automation scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/cdp.mjs, scripts/list-courses.mjs, scripts/open-course.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s http://127.0.0.1:9333/json/version
.agents/skills/online-course-automation/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

刷在线课程 / 完成学时

把"刷课"当成一个逆向平台计分规则的问题,不是"点播放然后等"的问题。

核心结论先给,这四条是整个流程的成败点:

  1. 完成线是视频的 80%,但进度只在视频播到结尾时才上报。 停在 80% 记录为 0。 这是最反直觉、最容易白刷一整门课的一条。
  2. 倍速上限是播放器自带档位(通常是 1.5x)。 4x 加回拖进度条会触发"学习异常"警告。
  3. 文档类课程不是"要读",而是"停留满几秒自动完成"。 页面上的 需学 00:05 就是阈值。
  4. 页面显示的"课程进度 0%"经常是缓存。 判定完成一律以接口为准。

先判断是哪一类内容

打开课程后看章节行右侧:

页面显示 类型 完成条件
视频 34:43 需学 27:47 视频 播放到视频结尾(34:43 × 80% = 27:47 就是那条 80% 线)
文档 05:00 需学 00:05 文档 打开后停留约 5 秒,翻页/滚动即可触发上报

需学 后面的数字是"还差多久达标",不是"要学多久"。视频类它等于该视频 80% 位置;文档类它基本是平台的最小停留阈值。

工作流

0. 接管浏览器

先确认登录态在哪个浏览器里。 这一步最容易走错:

# 浏览器必须带调试端口启动,否则接管不了
curl -s http://127.0.0.1:9333/json/version

Chrome 136+ 拒绝对默认 user-data-dir 开放 --remote-debugging-port。所以日常在用的 Chrome 通常没有可用端口,无论它启动时加没加参数。两条路:

  • 推荐:另起一个带独立 profile 和调试端口的实例,在里面登录一次,之后长期复用。独立 profile 不受该限制。
  • 或走 GUI 自动化(cua-driver)直接操作用户自己的窗口。

接管别人的浏览器前先问清楚:能不能开新实例、是否需要保留当前登录态。

1. 摸清上报接口(换平台必做)

在未知平台上,不要凭页面文字猜规则。跑探测脚本,然后自己在页面上点几下:

node scripts/probe-api.mjs 180 progress

它把进度请求的 URL、鉴权头、请求体和响应全打出来。你要从里面读出三件事:

  • 哪个接口携带进度;
  • "完成"的判据是什么(百分比规则?秒数阈值?);
  • 什么动作才真正触发上报。

第三点最关键。本次实测就发现:只有视频播到结尾才上报。

2. 列出未完成项

node scripts/list-courses.mjs <subjectId>

subjectId 是 URL #/study/subject/detail/<subjectId> 里的 UUID。输出剩余课程及其 courseId。

3. 逐门完成

一次只开一门。 批量打开课程正是平台判定异常学习的行为:

node scripts/open-course.mjs <courseId> <subjectId>   # 打开并确认章节结构
node scripts/play-course.mjs <courseId>               # 逐章播到结尾
node scripts/list-courses.mjs <subjectId>             # 复核(不要只看页面)

视频章节会以 1.5x 播到结尾;文档章节只做停留。脚本每次只处理当前打开的那一门。

整专题批量刷用 run-subject.mjs,它把上面这套串起来,并且是断点续跑、可中断、能自愈的:

node scripts/run-subject.mjs <subjectId>

它每轮都重新从服务端读进度,所以中途被杀掉(宿主重启、休眠、token 过期)后直接重跑即可,不会重复刷已完成的课。一个新专题建议先用 open-course.mjs + play-course.mjs 手动验证一门,确认规则一致后再交给它跑。

4. 复核

始终以 list-courses.mjs 为准,不要相信页面上的百分比。本次实测中,页面刷新后仍显示 75%,而服务端该课程 4 个章节已全部 finishStatus=2。

Read the full file on GitHub · 207 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 207 lines · 104 tokens per session scan A cba8cf35bc05

Subscribe to this mod's changes

online-course-automation is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 3,184 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-29.

Related

online-course-automation compared with skills from other repositories

online-course-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
online-course-automationSparkElf/deepseek-harness-plusSkill1todayMITA104Claude Code, Codex
dsh-tui-guideccch1mneyyy/dsh-TUISkill8.4ktodayMITA41Claude Code, Codex
browser-use-cliamplifthq/oh-my-dshSkill201mo agoMITC32Claude Code, Codex
modsearchliustack/modsearchSkill1.1k4d agoMITA99Claude Code
game-devsandbaseai/sandbase-skillsSkill2137d agoApache-2.0A50Claude Code
i-have-adhdsandbaseai/sandbase-skillsSkill2137d agoApache-2.0A41Claude Code
screenshot-capturesandbaseai/sandbase-skillsSkill2137d agoApache-2.0A45Claude Code