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

Relay: A Tool for Handing Off Claude Code Sessions to Other AI Agents
Relay is a Rust binary that extracts Claude Code's session context—including conversation history, tool calls, errors, and git state—and transfers it to other AI agents like Codex or Gemini when rate limits are hit. It supports 8 agents and can be installed via GitHub or npm.

Show HN: WUPHF — Karpathy-Style LLM Wiki with Markdown + Git as Source of Truth
WUPHF ships a wiki layer for AI agents using Markdown + Git for persistence, bleve (BM25) + SQLite for retrieval, with entity fact logs, wikilinks, and a daily lint cron. Runs locally with no vector DB dependency yet.

Claude to PDF Chrome Extension Exports Long Conversations with Formatting Intact
A developer has released a free Chrome extension called Claude to PDF that captures full conversation history from Claude AI chats and preserves code blocks, LaTeX math, and table formatting when exporting to PDF.

Sitefire Automates AI Search Optimization with Content Agents
Sitefire's platform monitors AI search results, analyzes which pages get cited, and uses content agents to draft improvements or create new pages that get pushed directly to clients' CMS. One client saw AI bot requests increase from ~200/day to ~570/day within ten days.