dom-inspection
Skill10 starsChanged 2 months agoApache-2.0View on GitHub
Inspect live page structure, element metadata, computed styles, accessibility and semantic layout using the MCPDOM inspection and analyzer tool family.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- aws-solutions/konductortheir own version, first seen Sep 23, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- aws-solutions/konductor★ 12same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- browser-forensicsSkill
- browser-interactionSkill
- browser-state-recoverySkill
- dom-mutationSkill
- dom-targetingSkill
- extension-troubleshootingSkill
- human-like-interactionSkill
- mcp-troubleshootingSkill
- page-annotationSkill
- project-captureSkill
- project-reconstructionSkill
- regression-testingSkill
- selector-recoverySkill
- tab-managementSkill
- viewport-testingSkill
- visual-dom-comparisonSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 61
If the bridge is down: check http://localhost:3847/health.
- Very specific: line 62
If a selector fails: switch to search_dom, then generate_element_target on a found element.
- Distinctive: line 63
If a frame is inaccessible: capture the parent page and report the limitation — never fabricate frame contents.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Skill: DOM Inspection
PURPOSE
Understand a live page's structure, elements, styles, semantics and health without modifying anything. This is the entry skill for almost every workflow: inspect before you interact, mutate, or capture.
WHEN TO USE
- Starting any page investigation ("what is on this page?").
- Locating an element before interacting with it.
- Diagnosing layout, accessibility, or content problems.
- Building the context needed for region capture or reconstruction.
PREREQUISITES
- MCP server running (
node bin/mcp-server.jsor via a client config). - Either a Chrome extension connected to the bridge OR the Node simulation context (JSDOM fixture) — simulated results are marked
simulated: true. - Optional: a recording session id for historical analysis.
WORKFLOW
inspect_live_page— page-level metadata (url, title, viewport, frames, active element).inspect_live_element {selector}— deep element info (bounds, visibility, state, context, forensics).search_dom {query}— find elements by text/tag/attr when you don't know selectors.analyze_dom {analyzer}— run a named analyzer:census_interactive_elements,detect_semantic_elements,scan_accessibility_issuesanalyze_forms,extract_links,analyze_media,extract_tables,extract_listsget_css_variables,analyze_fonts,extract_color_palettedetect_zindex_conflicts,detect_layout_issues,detect_dead_click_targetsinventory_animations,map_frame_tree,inventory_shadow_rootsinspect_page_storage,get_performance_metrics,extract_seo_metadata,extract_structured_dataanalyze_page_content,inventory_ctas,detect_focus_traps,infer_responsive_breakpoints,get_selection_state
get_element_ancestry/get_element_relationships— structural context.get_element_accessibility/get_computed_style— deep dives.
TOOLS
inspect_live_page, inspect_live_element, search_dom, analyze_dom, get_element_ancestry, get_element_relationships, get_element_accessibility, get_element_fingerprint, get_computed_style, get_live_dom_snapshot, get_live_dom_subtree, get_element_visual_state, get_page_blueprint, get_tab_console_logs, get_tab_network_requests
EXAMPLES
tools/call inspect_live_page {}
tools/call search_dom { "query": "login" }
tools/call analyze_dom { "analyzer": "scan_accessibility_issues" }
tools/call get_element_ancestry { "selector": "#main-nav" }FAILURE MODES
- "No active browser extension connected" — no Chrome attached; in Node simulation most inspection still works via the JSDOM fixture. If the error persists with no local DOM, the bridge has no sockets.
- TARGET_NOT_FOUND — selector matches nothing: element removed, inside shadow root, or in a cross-origin frame (
map_frame_treereveals frame limits honestly). - STYLE_UNAVAILABLE — computed style API missing in exotic contexts.
- Analyzers report
warningsfor APIs unavailable in the current context — read them; they are honesty markers, not noise.
VALIDATION
inspect_live_pagereturns aviewportandurl— non-empty means live data.- Analyzers return
count,items,warnings— inspectwarningsto understand coverage limits. - Cross-check:
search_domresults should overlapcensus_interactive_elementsfor interactive tags.
RECOVERY
- If the bridge is down: check
http://localhost:3847/health; restart withnpm run bridgeand reload the extension. - If a selector fails: switch to
search_dom, thengenerate_element_targeton a found element. - If a frame is inaccessible: capture the parent page and report the limitation — never fabricate frame contents.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

