Analyze user experience including layout, interactions, and usability
Analyze UX issues like layout problems, hidden elements, and interaction flows using diagnostic tools. Use this when auditing page usability, debugging visual glitches, or validating user experience before shipping changes.
/plugin marketplace add standardbeagle/agnt/plugin install agnt@standardbeagle-toolsAnalyze the user experience (UX) of the current page using agnt's diagnostic tools.
Check for layout issues and overflow problems:
proxy {action: "exec", id: "dev", code: "__devtool.findOverflows()"}
Find elements outside the viewport (hidden content):
proxy {action: "exec", id: "dev", code: "__devtool.findOffscreen()"}
Get recent user interactions to understand user flow:
proxy {action: "exec", id: "dev", code: "__devtool.interactions.getHistory()"}
Check recent DOM mutations (dynamic UI feedback):
proxy {action: "exec", id: "dev", code: "__devtool.mutations.getHistory()"}
Get keyboard navigation order (tab order):
proxy {action: "exec", id: "dev", code: "__devtool.getTabOrder()"}
Take a screenshot of current state:
proxy {action: "exec", id: "dev", code: "__devtool.screenshot('ux-analysis')"}
| Function | Purpose |
|---|---|
findOverflows() | Find scrollable or hidden overflow content |
findOffscreen() | Find elements outside viewport |
findStackingContexts() | Find z-index layering issues |
diagnoseLayout() | Comprehensive layout report |
| Function | Purpose |
|---|---|
interactions.getHistory() | All tracked user interactions |
interactions.getLastClick() | Details of most recent click |
interactions.getLastClickContext() | Full context of last click |
interactions.getClicksOn(selector) | Clicks on specific element |
interactions.getMouseTrail() | Mouse movement path |
| Function | Purpose |
|---|---|
mutations.getHistory() | All DOM mutations |
mutations.getAdded() | Recently added elements |
mutations.getRemoved() | Recently removed elements |
mutations.getModified() | Recently modified elements |
mutations.highlightRecent(ms) | Visually highlight recent changes |
// Highlight recent DOM changes
proxy {action: "exec", id: "dev", code: "__devtool.mutations.highlightRecent(5000)"}
// Get context of last user click
proxy {action: "exec", id: "dev", code: "__devtool.interactions.getLastClickContext()"}
// Check if specific element is visible
proxy {action: "exec", id: "dev", code: "__devtool.isVisible('#my-element')"}
// Check if element is in viewport
proxy {action: "exec", id: "dev", code: "__devtool.isInViewport('#my-element')"}