CtrlK
BlogDocsLog inGet started
Tessl Logo

openclaw-test-heap-leaks

Investigate `pnpm test` memory growth, Vitest worker OOMs, and suspicious RSS increases in OpenClaw using the `scripts/test-parallel.mjs` heap snapshot tooling. Use when Codex needs to reproduce test-lane memory growth, collect repeated `.heapsnapshot` files, compare snapshots from the same worker PID, distinguish transformed-module retention from real data leaks, and fix or reduce the impact by patching cleanup logic or isolating hotspot tests.

76

Quality

96%

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

100%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.

An exemplary instruction skill: concrete commands and exact paths make it copy-paste ready, the workflow is clearly sequenced with verification and fallback loops, and structure is lean with an appropriately externalized bundled script. Minor command-form redundancy does not materially detract.

DimensionReasoningScore

Conciseness

Lean and efficient throughout — no explanation of concepts Claude already knows, every bullet earns its place; only minor redundancy is the delta-script usage restated in the Snapshot Comparison section, which serves as a usable command reference rather than padding.

5 / 5

Actionability

Fully executable guidance: an exact reproduce command with env vars, concrete script paths (scripts/heapsnapshot-delta.mjs, scripts/test-parallel.mjs), real flags (--top 40, --min-kb 32, --pid 16133), and specific fixture file paths.

5 / 5

Workflow Clarity

A clearly sequenced 5-step process (reproduce → snapshot → classify → fix → verify) with an explicit verification step and feedback/fallback loops ('If snapshot overhead pushes tests over Vitest timeouts, fall back to…'), plus an Output Expectations checklist.

5 / 5

Progressive Disclosure

Well-organized overview sections (Workflow, Heuristics, Snapshot Comparison, Output Expectations) with a clearly signaled one-level-deep reference to the bundled scripts/heapsnapshot-delta.mjs, which exists as a real file; no nested or buried references.

5 / 5

Total

20

/

20

Passed

Description

92%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 strong, specific description with concrete actions and an explicit 'Use when' trigger scoped to a clear niche. It is slightly technical in its trigger vocabulary, costing one point on trigger-term quality.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — 'collect repeated .heapsnapshot files', 'compare snapshots from the same worker PID', 'distinguish transformed-module retention from real data leaks', 'patching cleanup logic or isolating hotspot tests' — giving comprehensive coverage of the skill's capabilities.

5 / 5

Completeness

Explicitly answers both 'what' (investigate, collect, compare, distinguish, fix) and 'when' via the concrete 'Use when Codex needs to reproduce test-lane memory growth…' trigger clause.

5 / 5

Trigger Term Quality

Good natural-term coverage ('memory growth', 'Vitest worker OOMs', 'RSS increases', 'heap snapshot', '.heapsnapshot') but the vocabulary is fairly technical and misses common synonyms a reporter might use like 'memory leak' or 'test memory'.

4 / 5

Distinctiveness Conflict Risk

Occupies a clear niche (OpenClaw test heap-leak investigation) with distinct, repo-specific triggers (worker PIDs, lane directories, transformed-module retention) that minimize overlap with other skills.

5 / 5

Total

19

/

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: 2 missing

Warning

Total

15

/

16

Passed

Repository
qsimeon/openclaw-engaging
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.