page-reduce
Installation
SKILL.md
page-reduce
Reduce any webpage to a minimal structural skeleton by combining browser-based content tokenization (Phase 1) with LLM structural reasoning (Phase 2).
Phase 1 (browser script): Injects the blueprint detector + tokenizer
into the live page. Detects sections, cleans the DOM (removes scripts,
invisible elements, styling tags, comments, tracking attributes), then
replaces content with tokens. Output: JSON with tokenizedHtml per section.
Phase 2 (you, the agent): Applies structural reasoning to the tokenized HTML — collapses repeated patterns, removes decorative wrappers, strips utility CSS classes, and generates the final skeleton + manifest.