360 Secure SkillHub
360 安全技能中心

mission-control-visual-qa

该 Skill 由两个脚本组成:本地辅助脚本通过 scp/ssh 把 Node 运行器复制到远程主机执行,运行器用 Puppeteer 对命令行给出的页面逐个截图,并采集 title、main/h1 与正文文本等基础 DOM 信息,最终在 stdout 输出 JSON 摘要,截图与结果保存在远程输出目录。

highlander89
highlander89
热度 85.57
最近更新 2026-05-11 17:27:32
分类:开发依赖:代码执行 / 联网浏览搜索 / 读写文件应用场景:自动化脚本 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add mission-control-visual-qa
Metadata
name
mission-control-visual-qa
description
Run Mission Control visual QA over SSH using Puppeteer screenshots and basic DOM checks.

mission-control-visual-qa

Author: billy-ops-agent

Purpose

Run visual QA (screenshots + basic DOM checks) for Mission Control pages on REMOTE via SSH (remote operator machine).

What this skill includes

  • scripts/mission-control-visual-qa.js: Puppeteer-based remote runner (intended to run on REMOTE).
  • scripts/run-mission-control-visual-qa.sh: Local helper that copies and runs the Node script over scp + ssh.

Safety rules

  • Only target Mission Control pages you are authorized to inspect.
  • Default output path is ~/.openclaw/workspace/output/visual-qa/ on REMOTE.
  • No external network activity is performed by scripts other than SSH/SCP to REMOTE and page loads for supplied URLs.
  • Script is read-only and does not submit forms or click destructive controls.

Usage

From local machine:

bash scripts/run-mission-control-visual-qa.sh \
  "https://mission-control.example.local/dashboard" \
  "https://mission-control.example.local/status"

Optional env vars:

  • SSH_TARGET (default: neill@<YOUR_REMOTE_HOST>)
  • REMOTE_RUN_DIR (default: ~/.openclaw/workspace/mission-control-visual-qa-runner)
  • OUTPUT_DIR (default: ~/.openclaw/workspace/output/visual-qa/)

Expected output

On REMOTE host, each URL produces:

  • *.png screenshot
  • basic DOM result (title + presence of main, h1, and body text)
  • final JSON summary printed to stdout

Quickstart

  1. Install
  • Install from ClawHub (public skill).
  1. Use
  • Invoke the skill by name inside OpenClaw.

Safety

  • No secrets are embedded in this skill.
  • Any remote commands require you to configure your own SSH target.