openclaw-test-heap-leaks
A maintainer skill in the OpenClaw repository for finding why the project's pnpm and Vitest test runs grow in memory or run out of it.
What the skill teaches
A maintainer skill in the OpenClaw repository for finding why the project's pnpm and Vitest test runs grow in memory or run out of it. The agent reproduces the failing run with the same entry point and worker count, gathers heap profiles or snapshots, and compares snapshots from the same process with a bundled delta script. It then sorts growth into module graphs kept alive by long-lived workers versus real leaks in caches, timers, handles or mocks, fixes the matching layer, and reruns the same command to check the result. A separate harness checks fixes to a runtime leak. Its report gives the command, the objects retained and what was or was not confirmed.
Capabilities
- Reproduce test-run memory growth
- Compare heap snapshots from one process
- Tell module retention from real leaks
- Verify a leak fix with the same command
About
- Publisher
- OpenClaw
- Tool
- Testing
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
What's inside
- agents/openai.yaml
- scripts/heapsnapshot-delta.mjs
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
This skill includes scripts that your agent may run.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tools | Testing, Debugging | |
| Publisher | OpenClaw | source |
| Official status | Not stated in its documentation | |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | Yes | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | MIT | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 2026394,329 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- Skill file (SKILL.md)github.com/openclaw/openclaw · Backs: Includes scriptsNov 10, 2026
- GitHub repositorygithub.com/openclaw/openclaw · Backs: Licence, Publisher, ActivityNov 11, 2026
- Folder in the repository (openclaw-test-heap-leaks)github.com/openclaw/openclaw · Backs: Includes scriptsNov 10, 2026