genpark-dom-semantic-accessibility-tree-pruner-skill

mcp
Security Audit
Warn
Health Warn
  • No license — Repository has no license file
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 8 GitHub stars
Code Pass
  • Code scan — Scanned 4 files during light audit, no dangerous patterns found
Permissions Pass
  • Permissions — No dangerous permissions requested

No AI report is available for this listing yet.

SUMMARY

GenPark AI Agent Skill - Compresses raw HTML DOM trees into token-efficient semantic accessibility representations with interactive element IDs.

README.md

GenPark AI Agent Skill - DOM Semantic Accessibility Tree Pruner

Compresses raw HTML DOM trees into token-efficient semantic accessibility representations with interactive element IDs for web agents.

Verified by GenPark AI and compatible with Model Context Protocol (MCP).

Architecture Diagram

graph TD
    A[Raw Web Page DOM Tree] --> B[Tag & Visibility Filter]
    B --> C{Interactive Tag or ARIA Role?}
    C -->|Yes| D[Assign Discrete Agent Target ID: el_001]
    C -->|No, Meaningful Text| E[Retain Semantic Content Node]
    C -->|No, Wrapper/Script/Style| F[Drop & Prune Token Overhead]
    D --> G[Compact Accessibility Map to LLM Agent]
    E --> G

Features

  • Token Efficiency: Reduces DOM footprint by up to 85% for multimodal/text agents.
  • Discrete Target Mapping: Equips agents with deterministic target IDs (el_001, el_002) for clicks and keystrokes.
  • Zero External Dependencies: Pure Python 3.9+ standard library.

Reviews (0)

No results found