Install
openclaw skills install internal-admin-playwrightPython + Playwright 内部后台自动化技能,支持 VPN(L2TP/IPsec) 可配置接入、严格域名白名单、中文指令路由(例如进入评论管理到视频评论、进入文章管理到文章列表)与固定流程执行。用于受控访问内网后台、禁止外网访问并按预设命令执行菜单操作。
openclaw skills install internal-admin-playwrightreferences/vpn_config.yaml(可选自动 VPN)。references/whitelist.yaml(白名单和域名解析覆盖)。scripts/run.py --command "<中文指令>"。python3 scripts/run.py --command "进入文章管理->文章列表"
python3 scripts/run.py --command "进入评论管理->视频评论"
references/vpn_config.yamlreferences/whitelist.yamlreferences/menu_map.yamlSTAFF_USERNAME / STAFF_PASSWORDGOOGLE_OTP(或页面“标识码/动态码”)LOGIN_URL(默认 mogusp 登录页)AUTO_VPN=1(执行前自动 vpn up,结束自动 vpn down)HEADLESS=1|0FORCE_IPV4=1|0python3 scripts/vpn_l2tp.py up
python3 scripts/vpn_l2tp.py status
python3 scripts/vpn_l2tp.py down
menu_map.yaml)。vpn_config.yaml 维护,不要硬编码到脚本。