OpenClaw Skill Reduces Accessibility Tree Tokens from 600K to 1.3K

A developer has created an OpenClaw skill that addresses token bloat in accessibility trees when scraping modern web pages. The skill uses machine learning to rank and prune elements before sending data to the LLM.
Token Variance Problem
The developer observed massive token variance depending on the page content when running OpenClaw:
- slickdeals.com: 24,567 elements → ~598K tokens
- ycombinator.com: 681 elements → ~16K tokens
- httpbin.org: 34 elements → ~1.5K tokens
Ad-heavy sites were particularly problematic, with slickdeals generating 600K tokens primarily from tracking pixels and ad iframes.
Solution: ML-Based Element Ranking
The skill implements ML-based element ranking that keeps only the top ~50 actionable elements (configurable). This approach reduces slickdeals.com from approximately 598,000 tokens to about 1,300 tokens.
Skill Details
The skill is available as:
- OpenClaw Skill: https://clawhub.ai/rcholic/predicate-snapshot
- GitHub Repository: https://github.com/PredicateSystems/openclaw-predicate-skill
This approach specifically targets pruning the accessibility (A11y) tree before sending it to the LLM, which is a common bottleneck when working with complex modern websites.
📖 Read the full source: r/clawdbot
👀 See Also

Open-source multi-account manager for Claude CLI enables profile switching
claude-multi-account is a CLI tool that creates isolated profiles for different Claude accounts, allowing instant switching without logging out. It supports shared settings, cloud backup, and works across Windows, Linux, macOS, and Termux.

Prism MCP v2.1 adds persistent memory to Claude sessions
Prism MCP v2.1.0 'The Mind Palace' provides persistent session memory for Claude, eliminating the need to re-explain project context. It features local SQLite storage, a visual memory browser, state rollback, and cross-client context sync.

X-MCP 2.0: MCP Server for X/Twitter API Access from Claude
X-MCP 2.0 is an MCP server that connects Claude Desktop and Claude Code to the X/Twitter API v2 with OAuth 2.0 PKCE authentication, providing 10 tools for posting tweets, searching, getting timelines, liking, retweeting, replying, and viewing profiles.

Chapper: Native iOS Client for LM Studio, Ollama, and OpenAI-Compatible Local Models
Chapper is a native SwiftUI iOS app that connects to LM Studio, Ollama, and OpenAI-compatible local models without cloud services or accounts. It offers real-time token streaming, full sampling controls, reasoning model support with <think> tags, and export in 7 formats.