id: "memory-leak-debugging"
kind: "skill"
name: "memory-leak-debugging"
title: "Memory Leak Debugging"
description: "Diagnoses and resolves memory leaks in JavaScript/Node.js applications. Use when a user reports high memory usage, OOM errors, or wants to capture, compare, or inspect heap snapshots with Chrome DevTools MCP memory tools."
category: "developer-tools"
source:
  repository: "ChromeDevTools/chrome-devtools-mcp"
  path: "skills/memory-leak-debugging/SKILL.md"
  commit: "eb9b030280e028df0b33a1d8721349002b3cf18f"
  url: "https://github.com/ChromeDevTools/chrome-devtools-mcp/tree/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/memory-leak-debugging"
license:
  spdx: "Apache-2.0"
  from: "repository"
  redistributable: true
stars: 58578
updated_at: "2026-11-20T22:52:36Z"
score: 0.9089
rank: 20
files_count: 2
bytes: 6161
has_scripts: false
trust_level: "unreviewed"
reviewed_by: "eval-v1"
source_tier: "official"
eval:
  version: "eval-v1"
  date: "2026-11-21T10:48:15Z"
  model: "claude-sonnet-5-5"
  score: 0.9089
  signals:
    tier: 1.0
    rubric: 1.0
    judge: 0.8633
    smoke: 1.0
    popularity: 0.7042
  rubric:
    score: 1.0
    trigger: 1.0
    scope: 1.0
    safety: 1.0
    injection: 1.0
    references: 1.0
    license: 1.0
    risky: []
    broken_references: []
  judge:
    trigger: 5
    scope: 5
    instructions: 4
    safety: 5
    injection: 5
    references: 5
    overall: 8
    verdict: "feature"
    rationale: "The description is specific about memory leaks and the Chrome DevTools MCP heap snapshot tools. The skill covers one job, with a clear flow: capture snapshots, compare them, inspect retainers, then apply filters. It names concrete tools and filterName values, and gives practical tips such as repeating actions 10 times and closing snapshots. Safety is good: it avoids reading raw snapshot files and asks before nulling detached DOM nodes. There is no injection. The referenced common-leaks.md exists. It has little example output, but it is useful."
  smoke:
    status: "passed"
    triggered: true
    grade: 2
    task: "My React dashboard's memory grows every time I open and close a modal. How should I capture and compare heap snapshots to find what's leaking?"
    date: "2026-11-21T11:45:23Z"
    model: "claude-sonnet-5-5"
requires:
  tools: []
  runtimes: []
  network: false
  mcp: []
compat:
  - client: "claude-code"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "codex-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "cursor"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "gemini-cli"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "vscode-copilot"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "opencode"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "claude-desktop"
    status: "full"
    reasons: ["ok"]
    source: "derived"
  - client: "chat-mcp"
    status: "full"
    reasons: ["ok"]
    source: "derived"
files:
  - path: "SKILL.md"
    bytes: 4348
    sha256: "895127ac55a3f2c4e0ca9be496e84165eee6408637c2bcc5516d69170a8de80e"
    url: "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/memory-leak-debugging/SKILL.md"
  - path: "references/common-leaks.md"
    bytes: 1813
    sha256: "2d41e075d8d22e69bc420a9eb4bc180eb2466669ffd0939c201723d80b2673a1"
    url: "https://raw.githubusercontent.com/ChromeDevTools/chrome-devtools-mcp/eb9b030280e028df0b33a1d8721349002b3cf18f/skills/memory-leak-debugging/references/common-leaks.md"
alternates: []
icon: "https://versatile.sh/avatars/chromedevtools.png"
