{
  "schemaVersion": "1.0",
  "item": {
    "slug": "npkill",
    "name": "NPkill",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/AshirbadGudu/npkill",
    "canonicalUrl": "https://clawhub.ai/AshirbadGudu/npkill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/npkill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=npkill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "slug": "npkill",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-05T23:01:07.425Z",
      "expiresAt": "2026-05-12T23:01:07.425Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=npkill",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=npkill",
        "contentDisposition": "attachment; filename=\"npkill-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "npkill"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/npkill"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/npkill",
    "agentPageUrl": "https://openagent3.xyz/skills/npkill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/npkill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/npkill/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "NPkill - Node.js and Next.js Build Artifact Cleaner",
        "body": "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."
      },
      {
        "title": "Purpose",
        "body": "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."
      },
      {
        "title": "When to Use This Skill",
        "body": "Use this skill when:\n\nYour disk space is running low due to accumulated node_modules folders\nYou want to clean up old Next.js build artifacts (.next folders)\nYou need to maintain a clean development environment\nYou want to identify which projects are consuming the most disk space\nYou want to perform regular maintenance on your development workspace"
      },
      {
        "title": "Interactive Cleanup (Recommended)",
        "body": "npkill\n\nLaunches 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."
      },
      {
        "title": "Target .next Folders Specifically",
        "body": "npkill --target .next\n\nSearch specifically for .next folders (used by Next.js projects) instead of node_modules."
      },
      {
        "title": "Dry Run (Always Recommended First)",
        "body": "npkill --dry-run\n\nSimulates the operation without actually deleting anything. Shows what would be deleted."
      },
      {
        "title": "Automated Cleanup (Use with Caution)",
        "body": "npkill --delete-all --yes\n\nAutomatically deletes all node_modules folders found. Use only after verifying with dry-run."
      },
      {
        "title": "View Sizes in Gigabytes",
        "body": "npkill --gb\n\nShows folder sizes in gigabytes instead of megabytes for easier reading."
      },
      {
        "title": "Scan from Specific Directory",
        "body": "npkill --directory /path/to/search/from\n\nStarts searching from a specific directory instead of current directory."
      },
      {
        "title": "Safety Features",
        "body": "Warnings for Protected Directories: npkill highlights system/app directories that shouldn't be deleted with a ⚠️ symbol\nInteractive Confirmation: Manual selection required in interactive mode\nDry-run Option: Preview changes before executing any deletions\nExclusion Options: Ability to exclude specific directories from scanning"
      },
      {
        "title": "Clean .next Folders Safely",
        "body": "# First, preview what would be deleted\nnpkill --target .next --dry-run\n\n# Then, if satisfied with the preview, run interactively\nnpkill --target .next"
      },
      {
        "title": "Regular Maintenance",
        "body": "# Run interactive cleanup to review and selectively delete\nnpkill"
      },
      {
        "title": "Check Disk Usage",
        "body": "# View all node_modules folders sorted by size\nnpkill --sort=size"
      },
      {
        "title": "Best Practices",
        "body": "Always run with --dry-run first to see what would be deleted\nReview warnings carefully about protected directories marked with ⚠️\nUse interactive mode for safer selective deletion\nConsider excluding important project directories using --exclude if needed\nSchedule regular cleanup to prevent massive accumulation"
      },
      {
        "title": "Installation Requirements",
        "body": "This skill requires the npkill CLI tool to be installed globally:\n\nnpm install -g npkill"
      },
      {
        "title": "Limitations",
        "body": "Requires npkill to be installed separately\nMay not detect all protected system directories in all environments\nInteractive mode requires terminal with arrow key support"
      }
    ],
    "body": "NPkill - Node.js and Next.js Build Artifact Cleaner\n\nThis 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.\n\nPurpose\n\nThis 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.\n\nWhen to Use This Skill\n\nUse this skill when:\n\nYour disk space is running low due to accumulated node_modules folders\nYou want to clean up old Next.js build artifacts (.next folders)\nYou need to maintain a clean development environment\nYou want to identify which projects are consuming the most disk space\nYou want to perform regular maintenance on your development workspace\nCore Commands\nInteractive Cleanup (Recommended)\nnpkill\n\n\nLaunches 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.\n\nTarget .next Folders Specifically\nnpkill --target .next\n\n\nSearch specifically for .next folders (used by Next.js projects) instead of node_modules.\n\nDry Run (Always Recommended First)\nnpkill --dry-run\n\n\nSimulates the operation without actually deleting anything. Shows what would be deleted.\n\nAutomated Cleanup (Use with Caution)\nnpkill --delete-all --yes\n\n\nAutomatically deletes all node_modules folders found. Use only after verifying with dry-run.\n\nView Sizes in Gigabytes\nnpkill --gb\n\n\nShows folder sizes in gigabytes instead of megabytes for easier reading.\n\nScan from Specific Directory\nnpkill --directory /path/to/search/from\n\n\nStarts searching from a specific directory instead of current directory.\n\nSafety Features\nWarnings for Protected Directories: npkill highlights system/app directories that shouldn't be deleted with a ⚠️ symbol\nInteractive Confirmation: Manual selection required in interactive mode\nDry-run Option: Preview changes before executing any deletions\nExclusion Options: Ability to exclude specific directories from scanning\nCommon Use Cases for Next.js Developers\nClean .next Folders Safely\n# First, preview what would be deleted\nnpkill --target .next --dry-run\n\n# Then, if satisfied with the preview, run interactively\nnpkill --target .next\n\nRegular Maintenance\n# Run interactive cleanup to review and selectively delete\nnpkill\n\nCheck Disk Usage\n# View all node_modules folders sorted by size\nnpkill --sort=size\n\nBest Practices\nAlways run with --dry-run first to see what would be deleted\nReview warnings carefully about protected directories marked with ⚠️\nUse interactive mode for safer selective deletion\nConsider excluding important project directories using --exclude if needed\nSchedule regular cleanup to prevent massive accumulation\nInstallation Requirements\n\nThis skill requires the npkill CLI tool to be installed globally:\n\nnpm install -g npkill\n\nLimitations\nRequires npkill to be installed separately\nMay not detect all protected system directories in all environments\nInteractive mode requires terminal with arrow key support"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/AshirbadGudu/npkill",
    "publisherUrl": "https://clawhub.ai/AshirbadGudu/npkill",
    "owner": "AshirbadGudu",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/npkill",
    "downloadUrl": "https://openagent3.xyz/downloads/npkill",
    "agentUrl": "https://openagent3.xyz/skills/npkill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/npkill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/npkill/agent.md"
  }
}