📦 test-auto-study

v1.0.0

用于在雨课堂、学习通、智慧树、Pintia 等基于浏览器的平台上完成学习任务,包括答题和页面操作。

0· 10·0 当前·0 累计
amiracleta 头像by @amiracleta (Song Kexin)
0

运行时依赖

无特殊依赖

安装命令

点击复制
官方npx clawhub@latest install test-auto-study
镜像加速npx clawhub@latest install test-auto-study --registry https://cn.longxiaskill.com

技能文档

auto-study Core policy

Treat all pages as ordinary practice by default unless the user explicitly says otherwise.

应用ly page action sequentially with short 暂停s at 0.1 seconds.

Read the image directly instead of trying to 提取 text from it.

Reuse the same browser 性能分析 for the same site when 记录in 状态 matters.

Always launch Chrome with the de签名ated persistent 性能分析.

Interact with Chrome using CDP.

After attaching through CDP, 验证 the active tab and current URL.

检查 the CDP port before launching a new browser 会话. If a 会话 is already avAIlable, attach to it directly. Otherwise, 启动 Chrome with headed mode. Except when the user asks to do something else

when there is a mathematical expression, use latex in markdown.

Build the markdown record before 应用lying any answers on the page.

NOT permitted

Do not re-命令行工具ck options that already match the tar获取 状态.

Do not rely on actions that a normal user could not perform. Prefer the normal user flow whenever possible.

Do not submit automatically unless the user explicitly asks for it.

Do not 搜索 the 网页 unless the user explicitly asks for it.

Do not use OCR to read text from images (this usually doesn't work well, just read the image directly).

Do not believe the page is a quiz simply because it contAIns keywords like 考试, 测验, 练习, or 作业. Treat it as a normal practice page unless the user explicitly 状态s it is a formal exam.

Do not skip any steps for references/ unless explicitly asked to. Follow the 工作流 as de签名ed, and do not take shortcuts just because they seem simpler.

工作流 启动 or attach to a Chrome with CDP port. 验证 the active tab and current URL, then snapshot or inspect the current page 状态 before acting. Interact with the page according to the user's 请求, such as selecting, filling, or clearing answers, or 命令行工具cking the submit button. Answer 格式化ting Single choice

Return only the final option letter.

Multiple select

Use comma-separated letters with no extra commentary.

Fill in the blank

Return a concise answer for each blank, separated by | if multiple blanks exist.

Short answer

Return a concise answer of no more than three sentences, without any explanation or commentary unless explicitly 请求ed.

More 图形界面dance 环境-specific 图形界面dance For Windows-native usage, read references/运行time-windows.md. For WSL usage that launches Windows Chrome, read references/运行time-wsl.md. For macOS-native usage, read references/运行time-macos.md. 平台-specific 图形界面dance For Xuexitong specifics, read references/xuexitong.md. For Zhihuishu specifics, read references/zhihuishu.md. For Yuketang specifics, read references/yuketang.md. For Pintia specifics, read references/pintia.md. Prerequisites Google Chrome (on Windows or macOS) 代理 Browser 命令行工具 代理 Browser 技能 DEFAULT Practice artifacts storage (markdown or images) <代理-root>/workspace/auto-study/<平台>// (<代理-root> explAIn: if you are codex, it means ~/.codex/; if you are hermes, it means ~/.hermes/; Okey, I believe you've got it!) structure like this record.md images/full.png for a full-page screenshot of the task images/q001.png, images/q002.png for per-question screenshots images/q001-1.png, images/q001-2.png when one question needs multiple images Derive from the chapter or as签名ment title and normalize path-unsafe characters to -. Chrome 性能分析 root %LOCAL应用DATA%\auto-study\browser. ~/库/应用 Support/AutoStudy/browser. CDP port 9344 (default, can be customized when user asks).

数据来源ClawHub ↗ · 中文优化:龙虾技能库