cleanup-unused-files

Delete build and cache directories to reclaim disk space.

20|25|Updated May 30, 2026
One-click install
npx skills add https://github.com/OpenCoven/coven-cave --skill cleanup-unused-files
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cleanup-unused-files
Source: https://github.com/OpenCoven/coven-cave/tree/main/marketplace/plugins/cleanup-unused-files/skills/cleanup-unused-files
Command: npx skills add https://github.com/OpenCoven/coven-cave --skill cleanup-unused-files

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill simplifies the process of cleaning up large cache and build directories by allowing you to explicitly define the blast radius before deleting potentially large amounts of data.

Core Features & Use Cases

  • Large File Cleanup: Deletes build and cache directories such as target/, dist/, .next/, coverage/, and .turbo/ to reduce checkout size.
  • Cache and Package Manager Clearing: Clears package-manager and SDK caches such as ~/.npm, ~/.bun, ~/.rustup, and ~/Library/Caches.
  • Machine-Wide Developer State Reset: Resets the machine's developer state to reclaim disk space without re-downloading.
  • Use Case: If you're trying to reclaim disk space, this Skill can be used to quickly clean up unnecessary files and free up storage.

Quick Start

Use the cleanup-unused-files skill to delete all build and cache files from the current directory.

Frequently Asked Questions about cleanup-unused-files

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely delete large build and cache files to reclaim disk space?

To safely delete large build and cache files, you can explicitly define the blast radius before removing directories like target/, dist/, and .next/. This targets specific output paths to reclaim disk space without unintended data loss.

What is the best way to clear package manager and SDK caches like ~/.npm and ~/.rustup?

Clearing package manager and SDK caches such as ~/.npm, ~/.bun, and ~/.rustup removes stored dependency data. This resets the machine's developer state to free up storage without requiring you to immediately re-download everything.

Can I use a script to reset developer state and clean up build directories across my machine?

Yes, you can use a script to reset developer state and clean up build directories across your machine. This approach requires permission to modify system directories and delete files to successfully clear large caches.

How does blast radius control work when deleting unused files?

Blast radius control works by letting you explicitly define which directories are targeted for file deletion before any data is removed. This ensures that only specified cache and build directories are affected during the cleanup process.

Do I need system permissions to delete files in system directories during cleanup?

Yes, you need permission to modify system directories and delete files when performing cleanup tasks. This access is required to successfully remove large cache and build files from protected paths.