Show HN: Shadow Web – Cut 64–97% of web page tokens for LLM agents Shadow Web, an open-source Python SDK, cuts web page tokens by 64–97% for LLM agents by flattening Shadow DOM, building typed Action Maps, and converting HTML tables, forms, and lists into clean JSON. The tool runs between the browser and the LLM, reducing token costs from 99K to 16K on a Wikipedia page, and works offline without cloud dependencies. Cut 64–97% of tokens from web pages before your LLM sees them — then extract structured data. Open-source Python SDK that flattens Shadow DOM, builds a typed Action Map with semantic groups, heals broken selectors, and turns HTML tables/forms/lists into clean JSON — no cloud required. python from shadow web.compressor import process html clean html, actions, groups = process html raw html ✅ actions = {"id":"1","type":"button","label":"Buy Now","group":"Checkout"}, ... ✅ 164 → 46 tokens on a typical page from shadow web.schema snap import parse page data = parse page clean html ✅ tables: {columns, types, rows, total rows} ✅ forms: {action, method, fields: {name, type, required, label} } ✅ lists: {type, items, total} AI agents need to see web pages. But raw HTML is full of