Install
openclaw skills install webperf-interactionIntelligent interaction performance analysis with automated workflows for INP debugging, scroll jank investigation, and main thread blocking. Includes decision trees that automatically run script attribution when long frames detected, break down input latency phases, and correlate layout shifts with interactions. Features workflows for complete interaction audit, third-party script impact analysis, and animation performance debugging. Cross-skill integration with Core Web Vitals (INP/CLS correlation) and Loading (script execution analysis). Use when the user asks about slow interactions, janky scrolling, unresponsive pages, or INP optimization. Compatible with Chrome DevTools MCP.
openclaw skills install webperf-interactionJavaScript snippets for measuring web performance in Chrome DevTools. Execute with mcp__chrome-devtools__evaluate_script, capture output with mcp__chrome-devtools__get_console_message.
scripts/Input-Latency-Breakdown.js — Input Latency Breakdownscripts/Interactions.js — Interactionsscripts/Layout-Shift-Loading-and-Interaction.js — Layout Shift Trackingscripts/Long-Animation-Frames-Helpers.js — LoAF Helpersscripts/Long-Animation-Frames-Script-Attribution.js — Long Animation Frames Script Attributionscripts/Long-Animation-Frames.js — Long Animation Frames (LoAF)scripts/LongTask.js — Long Tasksscripts/Scroll-Performance.js — Scroll Performance AnalysisDescriptions and thresholds: references/snippets.md
When the user asks for interaction analysis or "audit responsiveness":
When INP is slow (>200ms) or the user asks "debug INP" or "slow interactions":
When the user reports "scroll jank", "choppy scrolling", or "scroll performance issues":
When the page feels unresponsive or the user asks "why is the page frozen":
When the user reports "things move when I click" or CLS issues during interaction:
When animations feel sluggish or the user asks "debug animation performance":
When interactions are slow and third-party scripts are suspected:
Use this decision tree to automatically run follow-up snippets based on results:
This is a utility snippet, use results to:
These triggers recommend using snippets from other skills:
If INP > 200ms detected → Use webperf-core-web-vitals skill:
If layout shifts during interaction → Use webperf-core-web-vitals skill:
If long frames caused by script execution → Use webperf-loading skill:
If interactions slow during page load → Use webperf-loading skill:
Use these thresholds to automatically trigger follow-up analysis:
INP Thresholds:
Long Animation Frames:
Long Tasks:
Scroll Performance:
Interaction Frequency:
When multiple interaction metrics are poor:
If Long Tasks AND Long Animation Frames both detected → Shared root cause:
If INP slow AND CLS high → Interaction-triggered layout shifts:
If Scroll jank AND Long Animation Frames → Scroll handlers blocking main thread:
references/snippets.md — Descriptions and thresholds for each scriptreferences/schema.md — Return value schema for interpreting script outputExecute via
mcp__chrome-devtools__evaluate_script→ read withmcp__chrome-devtools__get_console_message.