What problem does it solve? Node.js applications with recurring or staircase memory growth are hard to diagnose from a single heap snapshot. This Skill isolates the exact constructors, closures, and retainer paths responsible for retained memory by comparing baseline and peak heap evidence captured through N|Solid. ## Core Features & Use Cases - Baseline vs Peak Delta Analysis: Captures two heap sampling profiles and computes which constructors grew the most between them, distinguishing staircase leaks from normal sawtooth garbage collection. - Root Cause Extraction: Pulls the leaking function's source code via runtime-code using scriptId, line, and column locations, then proposes an optimized fix after user approval. - Structured Reporting: Produces a markdown leak report with baseline, peak, delta tables, root cause, and recommendations, optionally saved under .nsolid/assets/. - Use Case: A production service shows RSS climbing 50 MB per hour and never returning to baseline. The Skill captures a 30-second baseline sample, monitors metrics-historic for the staircase pattern, captures a 60-second peak sample, and pinpoints the closure retaining objects. ## Quick Start Ask the agent to hunt down the memory leak in your N|Solid-monitored application by comparing baseline and peak heap profiles.