online-exam-automation

online-exam-automation is a skill for Claude Code, Codex from SparkElf/deepseek-harness-plus. It costs 115 tokens per session (2,801 once invoked), scanned A, original, MIT.

A browser-automation guide for completing online exams while logged in. It explains how to inspect an unfamiliar exam page before selecting answers and submitting.

In plain words
What is it for?
Use it to read exam layouts, identify reliable click targets, handle single-page or grouped questions, and leave final answer submission for human confirmation.
Why use it?
It helps avoid wasting limited exam attempts through mistaken clicks, incorrect question mapping, or premature submission.

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 read exam layouts, identify reliable click targets, handle single-page or grouped questions, and leave final answer submission for human confirmation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparkelf/deepseek-harness-plus/online-exam-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-exam-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-exam-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/sparkelf/deepseek-harness-plus/online-exam-automation/github.svg)](https://agentmods.dev/skills/sparkelf/deepseek-harness-plus/online-exam-automation)
Your own site
<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.

agentmods 80×15 button for online-exam-automation

Your own site · 80×15
<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>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,801 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00115 $0.02801
Opus 5.5 $0.00046 $0.01120
Sonnet 5.5 $0.00023 $0.00560
Haiku 4.5 $0.00012 $0.00280

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

Security

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.

The scan reads SKILL.md. This mod also ships 10 executable files (scripts/cdp.mjs, scripts/exam-page.mjs, scripts/exam-result.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.

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.

.agents/skills/online-exam-automation/SKILL.md · 209 lines

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  ∅ → ∅

Read the full file on GitHub · 209 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 · 209 lines · 115 tokens per session scan A 165668f60667

Subscribe to this mod's changes

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.

Related

online-exam-automation compared with skills from other repositories

online-exam-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
online-exam-automationSparkElf/deepseek-harness-plusSkill1todayMITA115Claude 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