node-cleanup

Official

Reclaim system resources, safely terminate Node.js processes.

AuthorCodeTonight-SA
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Lingering Node.js processes (e.g., forgotten dev servers, orphaned Nodemon instances) consume excessive memory and CPU, leading to system slowdowns and port conflicts. This skill safely identifies and terminates these processes without risking critical system services.

Core Features & Use Cases

  • Three-Tier Safety Model: Classifies processes as Untouchable, Protected, or Safe to Clean, with strict rules to prevent accidental system damage.
  • Four-Stage Confirmation Protocol: Ensures user review and explicit confirmation before any termination, including graceful shutdown and force-kill gates.
  • Checkpoint & Rollback System: Creates JSON snapshots before operations, enabling emergency restarts of terminated processes.
  • Use Case: Your computer is running slow, or you're encountering port conflicts, and you suspect lingering Node.js processes are the cause.

Quick Start

"Scan for lingering Node.js processes and show me what can be cleaned up." "Safely terminate all Node.js processes consuming over 200MB of memory."

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: node-cleanup
Download link: https://github.com/CodeTonight-SA/claude-optim/archive/main.zip#node-cleanup

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository