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

git-courer: An MCP Server That Forces AI Agents to Write Proper Git Commit Messages
git-courer is a local MCP server in Go that intercepts diffs from AI coding agents and translates them into structured, human-readable commit messages with WHY and WHAT sections.

Open-source methodology for agentic AI partnership with Claude
A developer has published a 25,000-word paper and open-sourced templates for building a persistent partnership system with Claude that uses shared memory across sessions, cognitive monitoring, and multi-AI consultation.

Atlas Inference Engine Goes Open Source: Pure Rust + CUDA, 100+ tok/s on DGX Spark
Atlas is now open source — a Rust + CUDA inference engine that achieves 130 tok/s peak on Qwen3.5-35B (NVFP4) on a single DGX Spark, with no Python runtime and <2 minute cold start.

Solitaire: Open-Source Identity Layer for AI Agents Built with Claude Code
Solitaire is an open-source identity layer for AI agents that evolves through interaction rather than static configuration. It's been tested across 600+ production sessions and stores all data locally using SQLite + JSONL with no cloud dependencies.