Dom Snapshot

Browser-free DOM inspection for agents. Fetches or parses server-rendered HTML and returns a compact, structured text snapshot covering headings, ARIA landmarks, navigation, forms, interactive buttons, tables, images, and visible body text — sized to fit comfortably in an LLM context window. Use when: (1) understanding a page's structure before deciding the next action, (2) checking whether a form, heading, or link is present after a navigation event, (3) verifying UI state in a test harness without spinning up Playwright or Selenium, (4) parsing raw HTML retrieved by a previous step. Triggers on: inspect page, DOM snapshot, page structure, check form, check heading, check link, UI state, parse HTML, page metadata, navigation links, accessible landmarks.

bowen31337 2d130e7 2 files · 13.3 KB Updated

File contents

bowen31337/agent-harness-skills/tree/main/skills/dom-snapshot commit 2d130e70db

Frequently asked questions

npx skillmds@latest add bowen31337/dom-snapshot