disk-cleaner

Analyze, clean, and monitor disk space using Python across Windows, macOS, and Linux.

34|3|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/gccszs/disk-cleaner --skill disk-cleaner-gccszs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: disk-cleaner
Source: https://github.com/gccszs/disk-cleaner/tree/main/skills/disk-cleaner
Command: npx skills add https://github.com/gccszs/disk-cleaner --skill disk-cleaner-gccszs

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires os, statvfs, pathlib, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The disk-cleaner skill helps manage and clean disk space on Windows, macOS, and Linux, providing powerful analysis, cleaning, and monitoring features.

Core Features & Use Cases

  • Disk Space Analysis: Quickly identify large files and directories that are consuming space.
  • Smart Cleanup: Safely remove unnecessary files, temporary files, caches, and logs.
  • Duplicate Detection: Find and remove duplicate files to free up space.
  • Disk Monitoring: Monitor disk usage in real-time and set alert thresholds.
  • Cross-Platform Support: Compatible with Windows, macOS, and Linux.
  • Optimized Performance: Scanning is 3-5 times faster than traditional methods.
  • Use Case: Imagine you have a large disk that is running low on space. Use the disk-cleaner skill to scan for large files, clean up unnecessary files, and set up monitoring to prevent future issues.

Quick Start

Analyze your disk space with the disk-cleaner skill by running the following command:

python scripts/analyze_disk.py

Frequently Asked Questions about disk-cleaner

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

FAQPage Schema
How do I analyze disk space to find large files and directories?

Disk space analysis identifies large files and directories consuming storage by running Python scripts that traverse file systems. This scanning process operates 3-5 times faster than traditional methods to pinpoint space-hogging data.

What is the best way to automate file cleanup for temporary files and caches?

Automated file cleanup safely removes unnecessary temporary files, caches, and logs using Python directory traversal. Smart cleanup automation targets redundant data, freeing up disk space without manual sorting.

Does Python disk monitoring work with Windows, macOS, and Linux?

Python disk monitoring works across Windows, macOS, and Linux. Cross-platform support utilizes system tools and libraries like statvfs to monitor real-time disk usage and set alert thresholds on any operating system.

How do I find and remove duplicate files to free up disk space?

Finding duplicate files involves scanning directories to identify redundant data copies for safe removal. This duplicate detection process frees up disk space by eliminating unnecessary repeated files across your system.

What Python libraries are needed for disk management and file scanning?

Disk management and file scanning require Python libraries including os, statvfs, and pathlib. These system tools enable directory traversal, file manipulation, and real-time disk monitoring for automated cleaning workflows.