CtrlK
BlogDocsLog inGet started
Tessl Logo

memory-leak-debug

Diagnose memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI. Use when investigating high memory usage, unbounded growth, or suspected object retention issues.

69

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

88%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, highly actionable debugging runbook with executable commands and a proper verify-fix loop. Its only notable weakness is a broken worked-example reference and minor trimmable asides.

Suggestions

Add the missing examples/react-reconciler-performance-measure-leak.md file referenced in the Worked Example section, or remove the reference.

Trim a few explanatory asides (e.g. the npm/tsx note) to the essential 'why' to lift conciseness.

Consider moving the long retainer-class pattern list in Step 5 to a references file to keep SKILL.md an overview.

DimensionReasoningScore

Conciseness

Mostly efficient with concrete commands and justified notes (e.g. why QWEN_CODE_NO_RELAUNCH matters); a few explanatory asides could be trimmed, placing it above the 'mostly efficient' 3 but not at the fully lean 5.

4 / 5

Actionability

Provides copy-paste ready bash commands for every step with clearly explained placeholders (e.g. '<uid>' sourced from get_memory_snapshot_details output), covering the common diagnostic cases fully.

5 / 5

Workflow Clarity

A clearly sequenced 6-step process with an explicit validation/feedback loop in Step 6 ('Repeat Steps 1-4', 'Confirm the leaking class count stabilizes') and a cleanup section.

5 / 5

Progressive Disclosure

Good section structure with one-level references to a real helper script (scripts/find-leaf-node.sh) and the tmux-real-user-testing skill; however the worked-example reference (examples/react-reconciler-performance-measure-leak.md) points to a file that is not present in the bundle, a minor organization gap keeping it below 5.

4 / 5

Total

18

/

20

Passed

Description

82%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A focused, well-formed description that clearly states both the capability and explicit trigger conditions in third person. It is highly distinct and complete, with only slightly limited action enumeration keeping specificity from the top anchor.

DimensionReasoningScore

Specificity

Names the domain ('memory leaks in the Qwen Code CLI') and 1-2 concrete actions ('heap snapshots', 'chrome-devtools CLI'), but does not enumerate multiple distinct actions, so it stops at the 'names domain and 1-2 concrete actions' anchor rather than the comprehensive 5.

3 / 5

Completeness

Explicitly answers both 'what' ('Diagnose memory leaks in the Qwen Code CLI using heap snapshots and the chrome-devtools CLI') and 'when' ('Use when investigating high memory usage, unbounded growth, or suspected object retention issues') with concrete trigger phrases.

5 / 5

Trigger Term Quality

Includes natural phrases a user would say ('high memory usage', 'unbounded growth', 'suspected object retention issues') with good coverage; a few common synonyms (e.g. 'OOM', 'memory pressure') are missing, keeping it just below the comprehensive 5.

4 / 5

Distinctiveness Conflict Risk

The narrow scope (Qwen Code CLI + heap snapshots + chrome-devtools) gives it a clear niche with distinct triggers and minimal overlap risk with other skills.

5 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

referenced_paths_exist

Referenced path issues: 1 missing

Warning

Total

15

/

16

Passed

Repository
QwenLM/qwen-code
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.