Loading...
Loading...
Render a local web page / built site and capture full-page screenshots (desktop + mobile) using the pre-installed Chromium. Use when asked to screenshot, render, or "see how it looks" for the vigiles landing site (site/), the audit report (report/), or any local HTML/dev server. Handles the scroll-reveal gotcha (below-the-fold cards captured blank) automatically.
npx skill4agent add zernie/vigiles screenshotplaywright installplaywright-coresite/site/report/dist/cd site && npm install && npm run buildsite/dist/npm run builddist/audit-report.template.htmlcd site/dist && python3 -m http.server 8899 >/tmp/httpd.log 2>&1 &
sleep 1 && curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8899/ # expect 200PLAYWRIGHT_BROWSERS_PATHnode -e "require.resolve('playwright-core')" 2>/dev/null || npm install --no-save playwright-core<outDir>/<name>-desktop.png-mobile.pngnode .claude/skills/screenshot/scripts/shot.mjs http://localhost:8899/ "$SCRATCHPAD" landingSHOT_WIDTHS="1440x900,768x1024,390x844"ReadSendUserFileopacity-0fullPage/opt/pw-browsers/chromium-*/chrome-linux/chromeexecutablePath--no-sandboxplaywright installplaywright-corenode_modulescreateRequire(cwd + '/package.json')SendUserFile.claude/