Skip to content
Back to skills

Quickstart

ASecurity

- `npkill <resource> <action>` — Execute npkill commands - `npkill scan directory` — Scan directory for node_modules and output results in JSON - `npkill delete all` — Delete all node_modules directories found - `npkill stream results` — Stream results in real-time as JSON - `npkill _ _` — Passthrough to npkill CLI

  • 58 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 6, 2026
ai-agentsbashnode

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 8, 2026

npx -y skills add javimosch/supercli --skill quickstart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Quickstart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Quickstart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/javimosch-quickstart-934b1816/badge)](https://www.skillsdirectory.com/skills/javimosch-quickstart-934b1816)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# npkill - Node Modules Cleanup Tool

## Commands
- `npkill <resource> <action>` — Execute npkill commands
- `npkill scan directory` — Scan directory for node_modules and output results in JSON
- `npkill delete all` — Delete all node_modules directories found
- `npkill stream results` — Stream results in real-time as JSON
- `npkill _ _` — Passthrough to npkill CLI

## Overview
npkill is a CLI tool that finds and removes old node_modules directories to free up disk space. It scans your filesystem for node_modules directories and allows you to selectively or automatically delete them.

## Quick Start

### Scan a directory for node_modules
```bash
sc npkill scan directory
```

### Delete all node_modules in a directory
```bash
sc npkill delete all --directory ~/projects
```

### Stream results in real-time as JSON
```bash
sc npkill stream results --directory ~/projects
```

### Passthrough to npkill CLI
```bash
sc npkill _ <npkill-args>
```

## Key Features

- **JSON Output**: Use `--json` to output results as a single JSON object, or `--json-stream` for real-time JSON output
- **Automatic Deletion**: Use `--delete-all` to automatically delete all found node_modules
- **Selective Deletion**: Interactive mode lets you choose which directories to delete
- **Size Analysis**: Shows the size of each node_modules directory
- **Filtering**: Exclude specific directories with `--exclude`

## Installation

```bash
npm install -g npkill
```

## Usage Examples

### Find node_modules larger than 100MB
```bash
npkill --json | jq '.results[] | select(.size > 104857600)'
```

### Automatically delete node_modules in backups
```bash
npkill -d ~/backups/ --delete-all
```

### Stream results for monitoring
```bash
npkill --json-stream 2>/dev/null | jq -s '.' > clean-results.json
```

## Notes

- npkill is non-interactive when using `--delete-all` or JSON output flags
- The tool respects `.npkillrc` configuration files for customization
- Use `--exclude` to skip specific directories from scanning

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.