Skill / SKILL.md

Memlab Find Web Leaks

meta/memlab

Find memory leaks in a web app with memlab. Write a test scenario (url, action, back) that drives the page in Chromium through Puppeteer, run `memlab run`, read the clustered leak traces, and fix the code that keeps detached DOM elements, unmounted React components or other objects alive. Use when the user asks to check a page, component, modal, dialog, route or user flow for memory leaks, to write a memlab scenario, to set up memory leak tests for a web app, or to find out why memory is not released after a UI interaction is undone.
1 views 5,096 repository starsUpdated Nov 28, 2026
Overview

Find memory leaks in a web app with memlab. Write a test scenario (url, action, back) that drives the page in Chromium through Puppeteer, run `memlab run`, read the clustered leak traces, and fix the code that keeps detached DOM elements, unmounted React components or other objects alive. Use when the user asks to check a page, component, modal, dialog, route or user flow for memory leaks, to write a memlab scenario, to set up memory leak tests for a web app, or to find out why memory is not released after a UI interaction is undone.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/meta/memlab' skill-source

Use the complete skill-source/plugins/memlab/skills/memlab-find-web-leaks directory with your client’s skill installer.

  • plugins/memlab/skills/memlab-find-web-leaks

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory plugins/memlab/skills/memlab-find-web-leaks

Compatibility & requirements

Declared compatibility

Requires Node.js and the memlab npm package (npm install -g memlab, or npx memlab). memlab downloads its own Chromium on install. Needs network access to the page under test.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
c6a3ae19e3f5f3174ce36053d26ec395664e358744bf2d82f69ae92234b17ca5
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills