According to AlphaMoat, as of 2026-09, NPkill has 3,454 downloads and 0 stars — ranked #3,215 of 5,078 AI skills overall, and #413 of 577 in Development.
| Platform | Installs | Downloads | Stars | Comments |
|---|---|---|---|---|
| ClawHub ↗ | 106 | 3.4K | - | - |
| SkillHub ↗ | 106 | 3.5K | - | — |
Platforms count differently and update at different times.
The primary documents using npkill --dry-run to preview matches and interactive mode to select items; npkill --delete-all --yes automatically deletes discovered directories. Bulk deletion may remove dependencies or build artifacts that are still needed. Preview and inspect paths first, scan a narrowly scoped workspace, and prefer interactive selection; do not run automatic deletion without reviewing the list.
Profile published 2026-10-29
.next or node_modules foldersGenerated from the skill’s documentation as examples; not results of actual runs.
npkill --dry-run and list matches without deleting anything.next directories under the specified projectnpkill --delete-all --yesThe counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.
| Month | Downloads | MoM | Stars |
|---|---|---|---|
| 2026-09 | 3.5K | — | - |
| 2026-08 | 3.2K | +4.8% | - |
| 2026-07 | 3.1K | +10.3% | - |
| 2026-06 | 2.8K | — | - |
The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.
--- name: npkill description: 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 storage. Provides both interactive and automated cleanup options with safety checks to protect important system directories. --- # NPkill - Node.js and Next.js Build Artifact Cleaner 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. ## Purpose
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. ## When to Use This Skill Use this skill when: - Your disk space is running low due to accumulated node_modules folders - You want to clean up old Next.js build artifacts (.next folders) - You need to maintain a clean development environment - You want to identify which projects are consuming the most disk space - You want to perform regular maintenance on your development workspace ## Core Commands ### Interactive Cleanup (Recommended) ```bash 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. ### Target .next Folders Specifically ```bash npkill --target .next ``` Search specifically for .next folders (used by Next.js projects) instead of node_modules. ### Dry Run (Always Recommended First) ```bash npkill --dry-run ``` Simulates the operation without actually deleting anything. Shows what would be deleted. ### Automated Cleanup (Use with Caution) ```bash npkill --delete-all --yes ``` Automatically deletes all node_modules folders found. Use only after verifying with dry-run. ### View Sizes in Gigabytes ```bash npkill --gb ``` Shows folder sizes in gigabytes instead of megabytes for easier reading. ### Scan from Specific Directory ```bash npkill --directory /path/to/search/from ``` Starts searching from a specific directory instead of current directory. ## Safety Features - **Warnings for Protected Directories**: npkill highlights system/app directories that shouldn't be deleted with a ⚠️ symbol - **Interactive Confirmation**: Manual selection required in interactive mode - **Dry-run Option**: Preview changes before executing any deletions - **Exclusion Options**: Ability to exclude specific directories from scanning ## Common Use Cases for Next.js Developers ### Clean .next Folders Safely ```bash # First, preview what would be deleted npkill --target .next --dry-run # Then, if satisfied with the preview, run interactively npkill --target .next ``` ### Regular Maintenance ```bash # Run interactive cleanup to review and selectively delete npkill ``` ### Check Disk Usage ```bash # View all node_modules folders sorted by size npkill --sort=size ``` ## Best Practices 1. **Always run with --dry-run first** to see what would be deleted 2. **Review warnings carefully** about protected directories marked with ⚠️ 3. **Use interactive mode** for safer selective deletion 4. **Consider excluding important project directories** using --exclude if needed 5. **Schedule regular cleanup** to prevent massive accumulation ## Installation Requirements This skill requires the npkill CLI tool to be installed globally: ```bash npm install -g npkill ``` ## Limitations - Requires npkill to be installed separately - May not detect all protected system directories in all environments - Interactive mode requires terminal with arrow key support
A skill for working with GitHub through the gh CLI: pull request checks, workflow runs, and API queries.
A search skill that aggregates 16 engines and needs no API key.
Lists, configures, authorizes and calls MCP servers and tools from the command line.
Generate Mermaid diagram code from text descriptions.
Access the YouTube Data API through managed OAuth to search videos and manage channel content.
Accesses the GitHub REST API over a managed OAuth connection.
A coding workflow skill covering planning, implementation, verification, and testing.
A skill that collects essential Docker commands and container workflows.
Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.