360 Secure SkillHub
360 安全技能中心

Neomano Web Snapshot (Headless)

该 Skill 通过 Playwright 无头 Chromium 对指定网址截图并保存为 PNG,支持整页截图与加载后等待参数,用于可视化检查网页是否正常渲染。需先运行 bootstrap 脚本在技能目录内本地安装 Node 依赖,node_modules 不随包提供。

elandivar
elandivar
热度 55.00
最近更新 2026-05-11 17:33:34
分类:自动化依赖:联网浏览搜索 / 代码执行 / 读写文件应用场景:工作流 / 自动化脚本

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add neomano-web-snapshot
Metadata
name
neomano-web-snapshot
description
Take a screenshot (PNG) of any website in a headless way (no GUI) to verify it's rendering/working. Use when the user asks for a website screenshot, uptime visual check, or to confirm a page loads correctly.
metadata
{"clawdbot":{"emoji":"📸","requires":{"bins":["node","bun"],"npm":["playwright"]}}}

Requirements

  • Node.js (required)
  • bun (required for the provided bootstrap/install flow)
  • Playwright (Node package) (required)

This skill uses Playwright + headless Chromium (works without a GUI).

One-time setup (headless)

This installs dependencies into this skill folder ({baseDir}):

bash {baseDir}/scripts/bootstrap.sh

Note: node_modules/ is intentionally not shipped in the skill package; dependencies are installed locally by the bootstrap script.

If you installed Playwright elsewhere (global or in a different project folder), Node may not find it when running this skill.

Take a screenshot

bash {baseDir}/scripts/snapshot.sh "https://example.com" --out ./snapshots/example.png

Options:

  • --full-page to capture full scroll height.
  • --wait-ms 2000 to wait after load (useful for SPAs).