What problem does it solve? Frontend pages keep running CSS animations, marquee tracks, skeleton loaders, and canvas/WebGL render loops even when they are offscreen, wasting CPU/GPU and causing janky scrolling, long-session slowdowns, and memory leaks. This Skill measures the real page in a browser, finds what is still running offscreen, and applies targeted visibility-based fixes with proper cleanup. ## Core Features & Use Cases - Live Browser Profiling: Captures baseline measurements at top, mid, footer, and mobile viewports, counting running animations by name, play state, and visibility, including ::before and ::after pseudo-elements. - Offscreen Animation Gating: Adds IntersectionObserver-driven is-offscreen classes that pause CSS animations, and directly starts/cancels requestAnimationFrame loops for canvas, WebGL, GSAP, Three.js, and physics effects. - Memory Leak Hardening: Audits and fixes cleanup for timers, listeners, observers, GSAP tweens, WebGL resources, media streams, and async loaders that resolve after unmount, verified with idle and route-cycle samples. - Use Case: A React/Vite landing page makes the user's laptop hot after a few minutes. The Skill profiles the page, finds 14 offscreen animations still running plus a WebGL canvas looping while hidden, pauses them with IntersectionObserver, and verifies offscreenRunningCount reaches 0. ## Quick Start Ask the agent to profile my localhost page for offscreen animations and memory leaks, then pause everything that runs outside the viewport and verify the fix in the browser.