OpenClaw skill reduces accessibility tree tokens from 600K to 1.3K for ad-heavy sites

Token reduction for modern web tasks
A developer on r/openclaw shared benchmark data showing significant token variance in OpenClaw's default accessibility tree across different websites. The data reveals that ad-heavy sites generate massive token counts, while simpler sites remain manageable.
Benchmark data from source
- slickdeals: 24,567 elements → ~598K tokens
- ycombinator: 681 elements → ~16K tokens
- httpbin: 34 elements → ~1.5K tokens
The developer noted that "ad-heavy sites are brutal" with 600K tokens required just to observe pages filled with tracking pixels and ad iframes.
ML-based pruning solution
To address this, they built an OpenClaw skill that uses machine learning-based element ranking to prune the accessibility tree before sending it to the LLM. The approach keeps only the top ~50 actionable elements (configurable), which brings slickdeals down from ~598K tokens to ~1.3K tokens.
Available resources
The skill is available as:
- OpenClaw Skill: https://clawhub.ai/rcholic/predicate-snapshot
- GitHub repository: https://github.com/PredicateSystems/openclaw-predicate-skill
The developer is seeking feedback on alternative approaches to accessibility tree pruning for OpenClaw.
📖 Read the full source: r/openclaw
👀 See Also

Wolfram Tech Now Available as Foundation Tool for LLM Systems
Stephen Wolfram announces Wolfram Language is now available as a foundation tool for LLM systems, providing deep computation and precise knowledge to supplement LLM capabilities. The announcement follows three years of development since the initial Wolfram plugin for ChatGPT was released in March 2023.

Why AI Coding Agents Churn Out Slop After 20 Turns: Context Blindness
A deep audit of API logs reveals Cursor and Claude Code aren't getting dumber — they suffocate on bloated context windows filled with noise, causing architectural destruction.

Auto-co: A 50-Line Bash Script That Turns Claude Code Into Autonomous AI Companies
Auto-co is a 50-line bash script that wraps the Claude Code CLI in a loop, allowing it to run autonomously with 14 AI agents playing roles like CEO, engineer, and critic. It has built four products from scratch, including FormReply and Changelog.dev, at a total cost of $268 across 270+ cycles.

JavaClaw Beta: Java-Based AI Assistant Built on Spring AI and JobRunr
JobRunr team released JavaClaw beta, a Java version of OpenClaw that runs locally with multi-channel support, LLM choice, and background job processing via JobRunr. Built with Spring Boot 4, Spring AI, and Spring Modulith.