Cleanup builds
Skill ariellephan/vscode-crash-recovery-skills/skills/cleanup-builds
Harness-neutral Agent Skills for safe VS Code crash recovery and project-scoped build cleanup on macOS.
npx -y skills add ariellephan/vscode-crash-recovery-skills --skill cleanup-buildsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 18 days oldThe repository was created 18 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Manually audit and reclaim macOS memory from idle Gradle daemons associated with one explicit project. Invoke only when the user requests build cleanup or memory recovery. Dry-run by default, requires --apply, and has no whole-machine mode.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
1.9 KB, as published. Nobody here has run it
Cleanup Builds
Run this workflow only after an explicit user request. It inventories and optionally stops idle Gradle daemons associated with one project. It never stops simulators, emulators, or another project's processes. There is no whole-machine mode.
Safety Contract
- Run from the intended project or pass its absolute path with
--root. - Run the default dry run first and review every candidate.
- Apply only when no build/test is active in that project.
- The script rechecks PID command, CWD, and sampled CPU time before
TERM. - Never substitute broad process matching, simulator shutdown, emulator shutdown, or cross-project daemon cleanup.
- Report before/after free RAM and swap plus stopped/kept counts.
Dry Run
Resolve the bundled cleanup script relative to this
SKILL.md; never assume the workspace contains a scripts/ directory. Run:
/bin/bash <skill-directory>/scripts/cleanup.sh
An explicit project root is also supported:
/bin/bash <skill-directory>/scripts/cleanup.sh --root /absolute/project/path
Apply
After checking that the project is idle:
/bin/bash <skill-directory>/scripts/cleanup.sh --root /absolute/project/path --apply
For iOS or Android, shut down only the exact simulator/emulator started by the current task using its device identifier. That is intentionally outside this script.