page-reduce
Installation
SKILL.md
page-reduce
Reduce any webpage to a minimal structural skeleton: browser-based content
tokenization (Phase 1, web page reduce) followed by structural reasoning
(Phase 2, you).
Requirements
Node 22+ and playwright-cli >= 0.1.20 on PATH (playwright-cli --version).
Locate the web CLI once:
# <skill-dir> is the directory containing this SKILL.md. The bundled CLI comes
# first: an older `web` on PATH tokenizes differently from these rules.
WEB="node <skill-dir>/../../cli/dist/web.mjs"
[ -f "<skill-dir>/../../cli/dist/web.mjs" ] || WEB=$(command -v web)