headless-web-viewer

Render + save artifacts

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "headless-web-viewer" with this command: npx skills add okwinds/miscellany/okwinds-miscellany-headless-web-viewer

Headless Web Viewer

Run

Render + save artifacts

node ./scripts/render_url_playwright.mjs '<URL>'
--out-html /tmp/page.html
--out-text /tmp/page.txt
--out-screenshot /tmp/page.png

Print to stdout (pipe-friendly)

node ./scripts/render_url_playwright.mjs '<URL>' --print text

Dependencies

This skill requires Playwright in the environment where it runs.

Option A (recommended for global use, no browser download)

Install Playwright Core and use system Chrome:

npm i -D playwright-core

Run with --channel chrome .

Option B (bundled browsers)

npm i -D playwright npx playwright install

Do not auto-install dependencies unless the user asks.

Tips

  • If a page hangs on networkidle , retry with --wait-until domcontentloaded .

  • If a page blocks headless Chromium, try setting --user-agent to a realistic UA.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

prd-to-engineering-spec

No summary provided by upstream source.

Repository SourceNeeds Review
General

brainstorming

No summary provided by upstream source.

Repository SourceNeeds Review
General

prd-writing-guide

No summary provided by upstream source.

Repository SourceNeeds Review