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

✍️ OpenClawRadar📅 Published: February 27, 2026🔗 Source
OpenClaw Skill Reduces Accessibility Tree Tokens from 600K to 1.3K
Ad

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.

Ad

Skill Details

The skill is available as:

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

Ad

👀 See Also

Audacity MCP Server Gives Claude AI Full Audio Editing Control
Tools

Audacity MCP Server Gives Claude AI Full Audio Editing Control

A developer built an MCP server that connects Claude AI to Audacity via mod-script-pipe, providing 99 tools for natural language audio editing commands. The open-source tool works with Claude Desktop, Claude Code, or Cursor.

OpenClawRadar
Open Source SQLite-Based Persistent Memory System for Claude
Tools

Open Source SQLite-Based Persistent Memory System for Claude

A developer has released memchat, a GPL-licensed local system that extracts knowledge from Claude sessions at checkpoints, stores it in SQLite, and reassembles it for new sessions to maintain context across conversations.

OpenClawRadar
Agent Safehouse: macOS-native sandboxing for local AI coding agents
Tools

Agent Safehouse: macOS-native sandboxing for local AI coding agents

Agent Safehouse is a macOS-native sandboxing tool that prevents local AI agents from accessing files outside your project directory using kernel-level enforcement. It's a single shell script with no dependencies that works with Claude Code, Codex, OpenCode, Amp, Gemini CLI, Aider, Goose, Auggie, Pi, Cursor Agent, Cline, Kilo, Code Droid, and other agents.

OpenClawRadar
Gemma Gem: On-Device AI Agent for Browser Automation via WebGPU
Tools

Gemma Gem: On-Device AI Agent for Browser Automation via WebGPU

Gemma Gem is a Chrome extension that runs Google's Gemma 4 model (2B or 4B) entirely on-device using WebGPU, with no API keys or cloud dependencies. It provides tools to read page content, take screenshots, click elements, type text, scroll, and run JavaScript through a chat interface.

OpenClawRadar