auto-study
This skill provides a browser workflow for study platforms during ordinary practice. It can return answers, select options, fill in answers, clear answers, and submit them as needed.
When to use
- - Want to automatically handle answering tasks in a browser on study platforms, such as practice sets, quizzes, and homework.
- Want the answers for questions on the page.
- Wants answers selected, filled, or cleared on an ordinary practice page.
Workflow
- 1. Start Chrome with the intended persistent site profile and a CDP port, or connect to an existing Chrome instance that already exposes a CDP port.
- Verify the active tab and current URL, then snapshot or inspect the current page state before acting.
- Interact with the page according to the user's request, such as selecting, filling, or clearing answers, or clicking the submit button.
Core policy
- - Treat all pages as ordinary practice by default unless the user explicitly says otherwise.
- - If the user asks for page actions, apply them sequentially with short pauses, usually around 0.1 seconds.
- - If the question is presented as an image, read the image directly instead of trying to extract text from it.
- - Reuse the same browser profile for the same site when login state matters.
- - Treat a persistent profile as a login-state aid, not as a guarantee of silent auto-login. It may restore cookies, local storage, or only saved credentials, so some sites may still require a visible login click or confirmation step.
- - After attaching through CDP, verify the active tab and current URL before trusting the first snapshot. If the current page is not the target page, use
tab list and switch to the expected site tab first.
- - Do not re-click options that already match the target state.
- - 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.
- - Keep answers short and easy to scan.
- - Just carefully analyze answer, do not search the web unless the user explicitly asks for it.
Output rules
Single choice
Return only the final option letter.
Multiple select
Use comma-separated letters with no extra commentary.
Fill in the blank or short answer
Return only the expected word or phrase.
Profile storage
- - Default the profile root to
%LOCALAPPDATA%\AutoStudy\browser. - When Chrome is launched for this skill outside the workspace, keep profile folders under the active profile root and reuse the same site profile.
Environment-specific guidance
- - For Windows-native usage, read
references/runtime-windows.md. - For WSL usage that launches Windows Chrome, read
references/runtime-wsl.md.
Browser guidance
- - Read
references/browser.md.
Platform-specific guidance
- - For Xuexitong specifics, read
references/xuexitong.md. - For Yuketang specifics, read
references/yuketang.md. - For Pintia specifics, read
references/pintia.md.
Prerequisites
auto-study
该技能为学习平台在常规练习过程中提供浏览器工作流。它可以根据需要返回答案、选择选项、填写答案、清除答案并提交。
使用场景
- - 希望在浏览器中自动处理学习平台上的答题任务,例如练习题、测验和作业。
- 希望获取页面上问题的答案。
- 希望在常规练习页面上自动选择、填写或清除答案。
工作流程
- 1. 使用指定的持久化站点配置文件及CDP端口启动Chrome,或连接到已暴露CDP端口的现有Chrome实例。
- 验证活动标签页及当前URL,在操作前对当前页面状态进行快照或检查。
- 根据用户请求与页面交互,例如选择、填写或清除答案,或点击提交按钮。
核心策略
- - 除非用户明确说明,否则默认将所有页面视为常规练习页面。
- 如果用户要求执行页面操作,请按顺序执行,并在操作之间短暂停顿,通常约0.1秒。
- 如果问题以图片形式呈现,则直接读取图片,而非尝试从中提取文本。
- 当登录状态重要时,对同一站点重复使用相同的浏览器配置文件。
- 将持久化配置文件视为登录状态辅助手段,而非静默自动登录的保证。它可能恢复Cookie、本地存储或仅保存凭据,因此某些站点可能仍需可见的登录点击或确认步骤。
- 通过CDP连接后,在信任首次快照前,先验证活动标签页及当前URL。如果当前页面不是目标页面,请使用标签页列表并先切换到预期的站点标签页。
- 不要重复点击已匹配目标状态的选项。
- 不要依赖普通用户无法执行的操作。尽可能优先采用普通用户流程。
- 除非用户明确要求,否则不要自动提交。
- 保持答案简短且易于浏览。
- 仔细分析答案,除非用户明确要求,否则不要搜索网络。
输出规则
单选题
仅返回最终选项字母。
多选题
使用逗号分隔的字母,不添加额外注释。
填空题或简答题
仅返回预期的单词或短语。
配置文件存储
- - 默认将配置文件根目录设置为%LOCALAPPDATA%\AutoStudy\browser。
- 当在工作区外为此技能启动Chrome时,将配置文件文件夹保留在活动配置文件根目录下,并重复使用相同的站点配置文件。
环境特定指南
- - 对于Windows原生使用,请阅读references/runtime-windows.md。
- 对于启动Windows Chrome的WSL使用,请阅读references/runtime-wsl.md。
浏览器指南
- - 请阅读references/browser.md。
平台特定指南
- - 关于学习通的具体信息,请阅读references/xuexitong.md。
- 关于雨课堂的具体信息,请阅读references/yuketang.md。
- 关于Pintia的具体信息,请阅读references/pintia.md。
前置条件