Windows Disk Cleaner Assistant for Openclaw

A secure and comprehensive Windows disk maintenance assistant that analyzes space usage and generates interactive reports for user-confirmed cleanup.

guge0
v2.0.0
Apr 7, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install windows-disk-cleaner

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install windows-disk-cleaner using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Windows Disk Cleaner Assistant?

The win-disk-cleaner is a sophisticated tool designed for the Openclaw Skills ecosystem, prioritizing safety and transparency in system maintenance. It functions as an intelligent assistant that scans any Windows drive—defaulting to the system disk—to identify accumulated temporary files, developer caches (such as npm, pip, conda, and Docker), and Windows Update leftovers.

By following a strict analysis-first principle, it ensures no files are deleted without explicit user consent. This skill is particularly valuable for developers and power users who need to reclaim space from bloated build artifacts and system logs while maintaining full control over the process.

Windows Disk Cleaner Assistant Use Cases

  • Reclaiming significant disk space by safely removing multi-gigabyte developer caches from npm, pip, and Docker.
  • Identifying and managing large files or duplicates across multiple drives to optimize storage.
  • Cleaning up system-level leftovers like Windows Update caches and temporary logs after major OS updates.
  • Performing routine maintenance on Windows machines without the risk of deleting critical system files.

How Windows Disk Cleaner Assistant Works

  1. Environment Detection: Confirms Windows OS and inventories available drives and free space.
  2. Targeted Scanning: Executes a PowerShell-based scan across three safety tiers (Safe, Review, and Never-Touch).
  3. Classification & Analysis: Organizes found data into categories like dev tools, browser caches, and large files.
  4. Interactive Reporting: Generates an HTML report or terminal table displaying potential savings and risk levels.
  5. User Confirmation: Waits for the user to select specific items or tiers for deletion.
  6. Execution & Verification: Runs specialized cleanup commands (e.g., docker system prune) and provides a before-and-after space comparison.

Windows Disk Cleaner Assistant Setup

To use this assistant within the Openclaw Skills framework, ensure you have PowerShell and Python 3 installed. You can initiate a scan by running the following commands:

# Navigate to the skill scripts directory
# Save scan_disk.txt as a .ps1 file and execute
powershell -ExecutionPolicy Bypass -File .\scan_disk.ps1 -Drive "C:" -OutputPath ".\result.json"

# Generate the interactive HTML report
python scripts/generate_report.py result.json -o cleanup_report.html

Windows Disk Cleaner Assistant Data Schema & Taxonomy

The skill organizes scan data into a JSON structure which is then transformed into an interactive HTML report. Data is categorized by safety tiers:

Tier Description Included Data
Safe High confidence deletions %TEMP%, npm-cache, pip cache, Windows Update downloads.
Review Manual verification required Downloads folder, large files (>500MB), node_modules, .venv.
Never-Touch Hard exclusion zones C:\Windows, Program Files, .git directories.

Windows Disk Cleaner Assistant Advanced Features

  • Multi-drive Support: Capability to scan non-system drives while automatically skipping OS-specific paths.
  • Developer-Centric Cleaning: Specialized hooks for clearing build caches from Maven, Gradle, NuGet, and Conda environments.
  • Three-Tier Safety System: Uses a color-coded (Green/Yellow/Red) logic to prevent accidental data loss.
  • Automated Command Generation: The HTML report dynamically generates the exact PowerShell commands needed for the selected cleanup tasks.
  • Tool-Native Purging: Prefers official CLI commands (like npm cache clean) over manual file deletion for better stability.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*