disk-cleaner

Identify and delete caches, build artifacts, and installer packages to reclaim disk space.

258|26|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/majiayu000/spellbook --skill disk-cleaner-majiayu000
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: disk-cleaner
Source: https://github.com/majiayu000/spellbook/tree/main/skills/disk-cleaner
Command: npx skills add https://github.com/majiayu000/spellbook --skill disk-cleaner-majiayu000

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify and safely delete caches, build artifacts, and installer packages to reclaim disk space.

Core Features & Use Cases

  • Automatic root discovery from the current working directory and the user's home directory using project markers (e.g., .git, package.json, pyproject.toml, go.mod) to scope the scan.
  • Safer cleanup recommendations that target cache and build artifacts, with guidance on safe deletion and recovery.
  • Use Case: In a development environment near a full disk, the tool can quickly free space by cleaning build caches and temporary artifacts.

Quick Start

Please provide the path(s) you want to scan; the tool will start from that scope and enumerate removable caches and build artifacts.

Frequently Asked Questions about disk-cleaner

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

FAQPage Schema
How do I clean up build artifacts and caches to free up disk space?

To clean up build artifacts and caches, you provide a path to scan and the tool identifies removable files using project-root markers, producing a structured report with guidance on safe deletion to reclaim disk space.

What is safe to delete when my development disk is full?

Caches, build artifacts, and installer packages are safe to delete when your development disk is full, and the tool provides clear cleanup guidance and recovery information to ensure a safe removal process.

How do I scan my home directory for cache and build artifacts?

You scan your home directory for cache and build artifacts by providing it as the target path; the tool uses project markers like .git or package.json to scope the traversal and enumerate removable files.

Can I use this to clean disk space on both personal workstations and developer environments?

Yes, you can use this to clean disk space on both personal workstations and developer environments, as it applies deterministic traversal rules to find caches and builds across different system scopes.

Does disk cleanup work without specifying project configuration files?

Disk cleanup works by automatically discovering project roots from markers like pyproject.toml or go.mod, so you only need to provide a starting path rather than manually configuring project files.

What is the best way to identify removable installer packages and temporary build files?

The best way to identify removable installer packages and temporary build files is using a deterministic scan that targets project directories, producing a structured report that distinguishes safe deletions from necessary files.