Direct access:
LiteBrowse is an OpenClaw skill for low-token webpage research.
Use it when:
Do not load or summarize the full page first.
Always run the local extractor before reasoning on webpage content:
bash
python3 ./scripts/web_relevance_extract.py "<url-or-html-file>" "<query>"
The extractor returns only the most relevant blocks under a fixed character budget. Use that compact output as the default context for answering.
Restate the information target as a short query string.
Run: bash
python3 ./scripts/web_relevance_extract.py "<source>" "<query>" --top-k 5 --max-chars 2400 --format json
Read only the returned blocks.
Answer from those blocks if they are sufficient.
Only if recall is clearly insufficient, rerun with one controlled expansion:
--top-k--max-charsDo not jump to raw-page scraping unless the extractor failed.
--max-chars 1200 to 2400 for narrow fact lookup.--top-k between 3 and 6 unless the user explicitly asks for breadth.When answering:
Find pricing details from a long page:
bash
python3 ./scripts/web_relevance_extract.py "https://example.com/pricing" "pricing tiers api limits enterprise" --max-chars 1600 --top-k 4 --format text
Find job requirements from a careers page:
bash
python3 ./scripts/web_relevance_extract.py "https://example.com/jobs/ml-engineer" "requirements python llm retrieval location" --max-chars 1800 --top-k 5 --format json
Use a saved HTML file:
bash
python3 ./scripts/web_relevance_extract.py "/tmp/page.html" "refund policy cancellation deadline" --max-chars 1200
If the page cannot be fetched or parsed: