gsdj-auto-training

An automation assistant for the gwypx.gsdj.gov.cn online training site. Used to auto-play unfinished videos, stay online and bypass site idle detection; supports auto-pagination, removing blur listeners, auto-closing "friendly reminder" pop-ups, and a 14-minute keep-alive. Users only provide account, password, and captcha; the tool completes the learning flow automatically. Example trigger keywords: Gansu civil servant training, gsdj, online training automation.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "gsdj-auto-training" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c816be2a3d75ec96497cd2a320c432b5456f9a3481a575e70c28b8fb38c3be6f. Verify the upstream source and version against https://skillhub.cn/skills/user_3555f797/gsdj-auto-training18215262019 before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

An automation assistant for the gwypx.gsdj.gov.cn online training site. Used to auto-play unfinished videos, stay online and bypass site idle detection; supports auto-pagination, removing blur listeners, auto-closing "friendly reminder" pop-ups, and a 14-minute keep-alive. Users only provide account, password, and captcha; the tool completes the learning flow automatically. Example trigger keywords: Gansu civil servant training, gsdj, online training automation.

0 Downloads

Introduction source: third_party · user_3555f797 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: gsdj-auto-training
description: >
  GS_zly网络培训自动化助手。用于 gwypx.gsdj.gov.cn 网站自动播放未完成视频、
  保持在线、绕过防挂机检测。触发关键词:甘肃公务员培训、gsdj、网络培训自动化、
  自动播放培训视频、挂机刷课、甘肃干部网络培训、公务员网课、甘肃培训。
  支持自动翻页、自动移除blur监听、自动关闭"温馨提示"弹窗、
  每14分钟保活。用户只需输入账号密码和验证码,其余全自动。
agent_created: true

甘肃省公务员网络培训助手

概述

全自动播放甘肃省公务员网络培训平台 (gwypx.gsdj.gov.cn) 必修课视频。

用户只需做 3 件事:

  1. 双击运行脚本
  2. 输入账号、密码
  3. 在浏览器中输入验证码,按回车

其余全部自动完成:检测 Chrome → 启动调试模式 → 打开登录页 → 填账号密码 → 等待验证码 → 进入必选课 → 多视频同时播放。

核心能力

  • Chrome 自动检测:按优先级搜索 Program Files、LOCALAPPDATA、注册表
  • 全自动登录:打开登录页后自动填入账号密码,用户只需输入验证码
  • 多视频并发:同时播放 1~6 个视频(默认 6 个)
  • 反挂机检测:每 10 秒注入防护(移除 blur 监听 + 关闭弹窗 + 确保播放)
  • 自动翻页:当前页播完自动翻到下一页(AJAX 分页)
  • 每 14 分钟保活:暂停 → 播放循环,防止掉线
  • 播放完毕自动切换:关闭已完成的页面,打开下一个课程

反检测机制(每 10 秒自动注入)

  1. 通过 CDP getEventListeners 枚举并移除 window/document/body 的 blur 事件
  2. 劫持 addEventListener 阻止未来注册 blur/visibilitychange/pagehide/beforeunload
  3. 覆盖 document.hidden、document.visibilityState、document.hasFocus()
  4. 多轮延迟检测并关闭 layui "温馨提示" 弹窗(8 轮延迟:500ms~20s)
  5. 自动调用 video.play() 和 jwplayer API 强制播放

使用方式

方式一:直接让 WorkBuddy 帮你跑

帮我启动甘肃培训自动播放,账号 xxx,密码 xxx

方式二:手动运行脚本

cd ~/.workbuddy/skills/gsdj-auto-training/scripts
node guard.js

运行后按提示操作即可。

配置说明

编辑 scripts/guard.js 顶部可修改:

  • MAX_CONCURRENT:同时播放数量(默认 6)
  • CHECK_INTERVAL:进度检查间隔(默认 10 秒)
  • KEEP_ALIVE_INTERVAL:保活间隔(默认 14 分钟)

注意事项

  • 网站有验证码,每次登录都需手动输入一次
  • 如果脚本提示找不到 Chrome,请确认 Chrome 已安装
  • 脚本依赖 puppeteer-core,首次运行会自动安装

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value58/100

Highlights

  • 针对特定政府培训平台提供自动化播放与反挂机检测,解决用户重复性操作痛点
  • 支持多视频并发播放与自动翻页,提升刷课效率
Trigger Precision85/100

Highlights

  • 触发词覆盖全面,包含平台名称、功能关键词及地域标识,边界清晰
Structure and Standards88/100

Highlights

  • 文档结构完整,包含使用方式、配置说明与核心机制详解
  • frontmatter 规范,示例清晰,便于用户理解与操作
Execution Reliability65/100

Areas to improve

  • 异常处理覆盖不足 Reported severity: Minor

    未说明网络中断、页面结构变更、验证码失败等常见异常的应对机制

    Recommendation: 建议补充异常处理逻辑说明,如重试机制、错误提示与手动干预入口

Highlights

  • 依赖 puppeteer-core 并承诺首次运行自动安装,降低用户环境配置门槛
Evidence Verifiability (mean of the first four)74/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.