What problem does it solve? JavaScript and Node.js applications suffering from high memory usage, OOM errors, or unexplained heap growth are hard to debug because raw heapsnapshot files are too large to inspect directly. This Skill provides structured workflows to capture, compare, and analyze memory snapshots to pinpoint leak sources. ## Core Features & Use Cases - Snapshot Capture Workflows: Guides interaction with web pages via chrome-devtools-mcp tools to take baseline, target, and final heapsnapshots that amplify leaks through repeated actions. - Memlab-Based Leak Detection: Uses memlab to automatically find leak retainer traces across three snapshots without reading raw heapsnapshot files. - Fallback Snapshot Comparison: Ships a Node.js script that compares two heapsnapshots and reports the top growing objects and common leak types when memlab is unavailable. - Use Case: A user reports their Node.js service hits OOM errors after hours of uptime. The Skill walks through capturing snapshots, running memlab find-leaks, and mapping retainer traces to common culprits like uncleared event listeners or unbounded caches. ## Quick Start Ask the assistant to investigate the memory leak in your web app by taking heap snapshots with chrome-devtools-mcp and analyzing them with memlab.