What problem does it solve? Memory leaks in JavaScript and TypeScript applications are hard to diagnose because objects silently survive garbage collection. This Skill parses large V8 .heapsnapshot files, compares before/after snapshots, and traces retainer paths so you can find exactly what keeps objects alive. ## Core Features & Use Cases - Snapshot Parsing: Buffer-based parsing handles .heapsnapshot files larger than 500MB that exceed JSON.parse string limits. - Before/After Comparison: Diff two snapshots to see top object groups by size increase, count increase, and newly created object groups. - Retainer Path Analysis: Trace non-weak reverse edges from target class instances to GC roots, skipping WeakMap red herrings. - Use Case: You capture heap snapshots before and after running a workflow in VS Code, then use this Skill to discover that disposed ChatModel instances are retained by a HoverService closure, and document the fix in a dated scratchpad findings file. ## Quick Start Analyze the two attached .heapsnapshot files to find which objects grew the most and trace what retains the leaked ChatModel instances.