Agent skill

Openclaw Test Heap Leaks

by SafeAI-Lab-X in SafeAI-Lab-X/ClawKeeper

Investigate pnpm test memory growth, Vitest worker OOMs, and suspicious RSS increases in OpenClaw using the scripts/test-parallel.mjs heap snapshot tooling.

No licenceAuto-check passedTesting & QA

Install Openclaw Test Heap Leaks

skills CLI
$ npx skills add SafeAI-Lab-X/ClawKeeper --skill openclaw-test-heap-leaks -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install SafeAI-Lab-X/ClawKeeper openclaw-test-heap-leaks --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/SafeAI-Lab-X/ClawKeeper.git skills-src && mkdir -p .claude/skills && cp -r skills-src/legacy/clawkeeper-watcher/.agents/skills/openclaw-test-heap-leaks .claude/skills/openclaw-test-heap-leaks && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
openclaw-test-heap-leaks
GitHub stars
1k
Token cost
~1.2k tokens
SKILL.md length
552 words
Files
3 (incl. scripts)
Skills in repo
11
Repo updated
First seen
Licence
None found

At a glance

Investigate pnpm test memory growth, Vitest worker OOMs, and suspicious RSS increases in OpenClaw using the scripts/test-parallel.mjs heap snapshot tooling.

  • Works in 5 steps: Reproduce the failing shape first. → Wait for repeated snapshots before… → Classify the growth before choosing a fix. → …
  • Codex needs to reproduce test-lane memory growth
  • SKILL.md covers Workflow, Heuristics, Snapshot Comparison and Output Expectations
  • Runs JavaScript scripts from its folder; calls node and pnpm

What it does

Openclaw Test Heap Leaks is an agent skill from SafeAI-Lab-X/ClawKeeper. 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.

Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `agents/openai.yaml`).

It sits in Testing & QA, covering Unit testing. It works with pnpm and Vitest. The repository describes itself as: ClawKeeper: Comprehensive Safety Protection for OpenClaw Agents Through Skills, Plugins, and Watchers (aka The Norton for OpenClaw).

When your agent uses it

  • 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

Example prompts

  • “/openclaw-test-heap-leaks”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Reproduce the failing shape first.
  2. Wait for repeated snapshots before concluding anything.
  3. Classify the growth before choosing a fix.
  4. Fix the right layer.
  5. Verify with the most direct proof.

What it can do on your machine

Read from SKILL.md and the folder at commit 69db077. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Openclaw Test Heap Leaks loads about 1.2k tokens when it runs. Until then it costs about 119 tokens; SKILL.md has 552 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~119
When it runs · the whole SKILL.md, loaded when a task matches
~1.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 552 words (~1,204 tokens).

“Use this skill for test-memory investigations. Do not guess from RSS alone when heap snapshots are available.”

— opening of SKILL.md by SafeAI-Lab-X
name
openclaw-test-heap-leaks

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (scripts) in legacy/clawkeeper-watcher/.agents/skills/openclaw-test-heap-leaks of SafeAI-Lab-X/ClawKeeper.

  • SKILL.md
  • agents/openai.yaml
  • scripts/heapsnapshot-delta.mjs

Open the folder on GitHubat commit 69db077

Compare with similar skills

Openclaw Test Heap Leaks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Openclaw Test Heap Leaks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Openclaw Test Heap Leaks this skillSafeAI-Lab-X/ClawKeeper1k—~1.2kAutomated safety check: PassNone
Ckeditor5 TestingTriliumNext/Trilium38k—~3.3kAutomated safety check: PassAGPL-3.0
Ha Frontend Testinghome-assistant/frontend5.7k—~1.7kAutomated safety check: PassApache-2.0
Openclaw Test Heap Leaksopenclaw/openclaw392k—~1.9kAutomated safety check: PassMIT
Odc TestingDouglasNeuroInformatics/OpenDataCapture119—~1.5kAutomated safety check: NotesApache-2.0
Next QA Loopbreaking-brake/cc-wf-studio5.4k—~2.5kAutomated safety check: PassCustom licence

Similar skills

  • Ckeditor5 Testing

    TriliumNext/Trilium

    Testing CKEditor 5 plugins in the Trilium monorepo. An agent skill from TriliumNext/Trilium.

    38k GitHub stars~3.3k tokensUpdated today
    Testing & QAAuto-check passed
  • Ha Frontend Testing

    home-assistant/frontend

    Home Assistant frontend testing and validation workflow. An agent skill from home-assistant/frontend.

    5.7k GitHub stars~1.7k tokensUpdated today
    Testing & QAAuto-check passed
  • Openclaw Test Heap Leaks

    openclaw/openclaw

    Investigate OpenClaw pnpm test memory growth, Vitest OOMs, RSS spikes, and heap snapshot deltas.

    392k GitHub stars~1.9k tokensUpdated today
    Testing & QAAuto-check passed
  • Odc Testing

    DouglasNeuroInformatics/OpenDataCapture

    Test a change in Open Data Capture. An agent skill from DouglasNeuroInformatics/OpenDataCapture.

    119 GitHub stars~1.5k tokensUpdated 3 days ago
    Testing & QAAuto-check: notes
  • Next QA Loop

    breaking-brake/cc-wf-studio

    Runs one unattended iteration of a QA loop: tend any open QA pull request, then build one queued qa issue as tests or test tooling only and open a PR.

    5.4k GitHub stars~2.5k tokensUpdated 4 days ago
    Testing & QAAuto-check passed
  • Ever Works

    ever-works/ever-works

    Repo-specific guide to the Ever Works monorepo (ever-works/ever-works) — its pnpm + Turborepo layout, the per-workspace test runners (Jest vs Vitest vs Playwright), file-naming and import-alias…

    162 GitHub stars~2.2k tokensUpdated yesterday
    Testing & QAAuto-check passed

More from SafeAI-Lab-X/ClawKeeper

All 11 skills in this repo
  • Clawkeeper

    SafeAI-Lab-X/ClawKeeper

    Install, configure, verify, and debug the Clawkeeper watcher stack in this workspace.

    1k GitHub stars~1.8k tokensUpdated 1 mo ago
    Auto-check passed
  • Feishu Safety Guide

    SafeAI-Lab-X/ClawKeeper

    One-click deployment Skill for Feishu security governance and message anti-data-leakage guide, responsible for Feishu message security, credential protection, permission auditing, interaction…

    1k GitHub stars~3.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Node Connect

    SafeAI-Lab-X/ClawKeeper

    Diagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps.

    1k GitHub stars~1.2k tokensUpdated 1 mo ago
    Auto-check passed
  • Openclaw Ghsa Maintainer

    SafeAI-Lab-X/ClawKeeper

    Maintainer workflow for OpenClaw GitHub Security Advisories (GHSA).

    1k GitHub stars~728 tokensUpdated 1 mo ago
    Auto-check passed
  • Openclaw PR Maintainer

    SafeAI-Lab-X/ClawKeeper

    Maintainer workflow for reviewing, triaging, preparing, closing, or landing OpenClaw pull requests and related issues.

    1k GitHub stars~967 tokensUpdated 1 mo ago
    Auto-check passed
  • Openclaw Release Maintainer

    SafeAI-Lab-X/ClawKeeper

    Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation.

    1k GitHub stars~766 tokensUpdated 1 mo ago
    Auto-check passed

Works with

Categories

Questions about Openclaw Test Heap Leaks

What does Openclaw Test Heap Leaks do?

Investigate pnpm test memory growth, Vitest worker OOMs, and suspicious RSS increases in OpenClaw using the scripts/test-parallel.mjs heap snapshot tooling. Openclaw Test Heap Leaks is an agent skill from SafeAI-Lab-X/ClawKeeper.mjs heap snapshot tooling.

When should I use Openclaw Test Heap Leaks?

Openclaw Test Heap Leaks fits situations like: 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.

How do I install Openclaw Test Heap Leaks in Claude Code?

Run `npx skills add SafeAI-Lab-X/ClawKeeper --skill openclaw-test-heap-leaks -a claude-code`. Or copy the skill folder (legacy/clawkeeper-watcher/.agents/skills/openclaw-test-heap-leaks in SafeAI-Lab-X/ClawKeeper) into .claude/skills/openclaw-test-heap-leaks in your project. Claude Code loads it when a task matches its description.

How do I install Openclaw Test Heap Leaks in Codex?

Run `npx skills add SafeAI-Lab-X/ClawKeeper --skill openclaw-test-heap-leaks -a codex`. Or copy the skill folder (legacy/clawkeeper-watcher/.agents/skills/openclaw-test-heap-leaks in SafeAI-Lab-X/ClawKeeper) into .agents/skills/openclaw-test-heap-leaks in your project. Codex loads it when a task matches its description.

Can I use Openclaw Test Heap Leaks in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add SafeAI-Lab-X/ClawKeeper --skill openclaw-test-heap-leaks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/openclaw-test-heap-leaks, .gemini/skills/openclaw-test-heap-leaks, .github/skills/openclaw-test-heap-leaks and .opencode/skills/openclaw-test-heap-leaks in your project.

What does Openclaw Test Heap Leaks need to run?

Going by SKILL.md and its folder, Openclaw Test Heap Leaks needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and pnpm). Our summary lists: Node.js.

Does Openclaw Test Heap Leaks access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Openclaw Test Heap Leaks safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Openclaw Test Heap Leaks use?

No licence was found for Openclaw Test Heap Leaks or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Openclaw Test Heap Leaks use?

About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Openclaw Test Heap Leaks?

Skills that share tags, products or a category with Openclaw Test Heap Leaks: Ckeditor5 Testing (TriliumNext/Trilium, 38k stars), Ha Frontend Testing (home-assistant/frontend, 5.7k stars), Openclaw Test Heap Leaks (openclaw/openclaw, 392k stars) and Odc Testing (DouglasNeuroInformatics/OpenDataCapture, 119 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Openclaw Test Heap Leaks?

SafeAI-Lab-X (a GitHub user) maintains it in SafeAI-Lab-X/ClawKeeper, which has 1,024 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on August 17, 2026.

Source: SafeAI-Lab-X/ClawKeeper on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.