NPkill
Clean up node_modules and .next folders to free up disk space using npkill. Specifically designed to help JavaScript and Next.js developers remove accumulated build artifacts that consume significant
Clean up node_modules and .next folders to free up disk space using npkill. Specifically designed to help JavaScript and Next.js developers remove accumulated build artifacts that consume significant
Real data. Real impact.
Growing
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
This skill leverages the npkill tool to clean up node_modules and .next folders that accumulate over time from JavaScript and Next.js development, freeing up significant disk space.
This skill addresses a common problem faced by JavaScript and Next.js developers: accumulation of large build artifact folders (node_modules, .next) that consume significant disk space over time. It provides a safe and efficient way to identify and remove these unnecessary folders.
Use this skill when:
npkill
Launches the interactive interface to browse and selectively delete node_modules folders. This is the safest method as it allows you to review each folder before deletion.
npkill --target .next
Search specifically for .next folders (used by Next.js projects) instead of node_modules.
npkill --dry-run
Simulates the operation without actually deleting anything. Shows what would be deleted.
npkill --delete-all --yes
Automatically deletes all node_modules folders found. Use only after verifying with dry-run.
npkill --gb
Shows folder sizes in gigabytes instead of megabytes for easier reading.
npkill --directory /path/to/search/from
Starts searching from a specific directory instead of current directory.
# First, preview what would be deleted npkill --target .next --dry-runThen, if satisfied with the preview, run interactively
npkill --target .next
# Run interactive cleanup to review and selectively delete npkill
# View all node_modules folders sorted by size npkill --sort=size
This skill requires the npkill CLI tool to be installed globally:
npm install -g npkill
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.