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.
npx skills add SparkElf/deepseek-harness-plus --skill online-exam-automationgit clone --depth 1 https://github.com/SparkElf/deepseek-harness-plusWrote 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.
[](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/online-exam-automation)<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/online-exam-automation"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/online-exam-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.
<a href="https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/online-exam-automation"><img src="https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/online-exam-automation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00115 | $0.02801 |
| Opus 5.5 | $0.00046 | $0.01120 |
| Sonnet 5.5 | $0.00023 | $0.00560 |
| Haiku 4.5 | $0.00012 | $0.00280 |
Grade A, and why
online-exam-automation scanned grade A with 0 findings 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.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 209 lines — stays where its author put it; the contents beside it link to each section on GitHub.
在线考试自动化
考试和刷课是两种风险评估,流程不能照搬。刷课错了可以重播,考试错了就消耗一次机会。
默认姿态:先把机械动作做对,再把答案交给人确认,绝不盲目提交。
一条贯穿全程的原则:先侦察,再动手。 大多数考试页在"进入"和"开始"之间没有强边界,一旦误触就开始倒计时并占用尝试次数。所以任何写操作之前,先用只读方式把试卷读出来。
四个结构性陷阱(实测踩过,务必先确认)
课程页和考试页长得像,行为却不同。拿课程页的经验套考试页,我一次错掉了 45 题。
① 全部题目可能渲染在同一个长页面里。 课程页习惯是"一次显示一题、侧边栏切换";考试页常常把 45 题一次性铺开,每题一个容器:
.question-type-item[data-dynamic-key="<questionId>"]
此时侧边栏点击只是滚动定位,不是切换。判定方法:数一下 .question-type-item 的数量;如果等于总题数,就是单页布局。
② 选项的可点目标常常不是你以为的那个元素。 选项结构通常是:
<dd>
<div class="radio"><input type="radio" id="D798radio-1"></div>
<label for="D798radio-1">
<div class="pointer"><span class="option-num">B.</span><div>选项文字</div></div>
</label>
</dd>
本次实测:点外层 div.pointer 没有任何反应,点 label[for] 才行。但这不是通用规律——换个平台可能正好相反。所以不要凭猜,用 probe-click.mjs 实测(见下一节)。
③ JS 事件经常无效。
在 label 上派发 click() / MouseEvent 可能完全不生效——这类前端框架只认可信输入。是否真的需要真实鼠标事件,同样用 probe-click.mjs 判定。
④ 题号 sequence ≠ 答题卡显示序号。
试卷数据里每题的 sequence 是乱序的(本次实测:单选占 3–11、20–35,多选占 1、12–36,判断占 2、37–45),而答题卡按 单选→多选→判断 顺序显示为 1..45。按 sequence 去点侧边栏会定位到完全错误的题。 必须按"题型分组内的出现顺序"换算:
display = 前面题型的总题数 + 本题型内序号 + 1
这条映射错了会让每一题的答案都落到别的题上,而脚本仍然报告成功。所以它单独有回归测试:
node scripts/test-mapping.mjs
先测点击方式,再批量作答
这是整个技能里最贵的一课。第一次作答时我沿用了课程页的点击方式,结果 45 题全部"成功"、实际一题都没记上——脚本按自己的假设回读状态,把失败读成了成功。
所以流程强制分成两步:
# 1) 实测哪种点击方式真的能改变选中状态(只动一道题,结束后还原)
node scripts/probe-click.mjs
# 2) 确认后再批量,且先只做一题
node scripts/fill-exam.mjs answers.json --write --probe 1
probe-click.mjs 会依次尝试六种机制,每次都回读真实的 checked 状态,只把确实改变了选中状态的那些标为 WORKS:
| 机制 | 说明 |
|---|---|
js:input.click |
对 <input> 派发合成点击 |
js:label.click |
对 label[for] 派发合成点击 |
js:pointer-dispatch |
对 div.pointer 派发 mousedown/mouseup/click |
mouse:pointer |
真实鼠标点 div.pointer |
mouse:label[for] |
真实鼠标点 label[for] |
mouse:input |
真实鼠标点 <input> |
输出示例(本次真实结果):
- js:input.click option B ∅ → ∅
- js:label.click option B ∅ → ∅
- js:pointer-dispatch option B ∅ → ∅
- mouse:pointer option B ∅ → ∅
WORKS mouse:label[for] option B ∅ → B
- mouse:input option B ∅ → ∅
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- i18n/zh.json 779 B
- scripts/cdp.mjs 3.1 KB runs code
- scripts/exam-page.mjs 9.3 KB runs code
- scripts/exam-result.mjs 4.0 KB runs code
- scripts/fill-exam.mjs 4.8 KB runs code
- scripts/inspect-exam.mjs 3.1 KB runs code
- scripts/probe-click.mjs 8.3 KB runs code
- scripts/resolve-playwright.mjs 2.6 KB runs code
- scripts/submit-exam.mjs 3.8 KB runs code
- scripts/test-mapping.mjs 2.8 KB runs code
- scripts/verify-exam.mjs 2.7 KB runs code
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.
- yesterday First seen · 209 lines · 115 tokens per session scan A 165668f60667
online-exam-automation is a skill published in the GitHub repository SparkElf/deepseek-harness-plus (1 stars, last pushed today), licensed MIT. It adds 115 tokens to every session and 2,801 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-29.
online-exam-automation compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| online-exam-automationSparkElf/deepseek-harness-plus | Skill | 1 | today | MIT | A | 115 | Claude Code, Codex |
| dsh-tui-guideccch1mneyyy/dsh-TUI | Skill | 8.4k | today | MIT | A | 41 | Claude Code, Codex |
| browser-use-cliamplifthq/oh-my-dsh | Skill | 20 | 1mo ago | MIT | C | 32 | Claude Code, Codex |
| modsearchliustack/modsearch | Skill | 1.1k | 4d ago | MIT | A | 99 | Claude Code |
| game-devsandbaseai/sandbase-skills | Skill | 213 | 7d ago | Apache-2.0 | A | 50 | Claude Code |
| i-have-adhdsandbaseai/sandbase-skills | Skill | 213 | 7d ago | Apache-2.0 | A | 41 | Claude Code |
| screenshot-capturesandbaseai/sandbase-skills | Skill | 213 | 7d ago | Apache-2.0 | A | 45 | Claude Code |