Automation & Ops storage-analysisdisk-cleanuphtml-reportmacoswindowsread-only

Storage Analyzer

One-shot disk analysis for macOS/Windows with three-tier cleanup decisions and interactive HTML report with one-click trash actions.

FollowSkills review · FSRS-2.0
Use with care
60/ 100 5-point scale 3.0 / 5
1 2 3 4 5 6
1Trust18 / 25 · 3.6/5

The skill clearly requires read-only scanning and deletions only through a local server with strict whitelist and confirmation. However, actual enforcement depends on agent compliance and the delete feature isn't independently tested. Thus, full marks not justified; deduct 7 points because of potential bypass risks and reliance on untested mechanisms.

2Reliability8 / 20 · 2.0/5

Doc provides clear steps, scripts use stdlib only, but static review can't verify actual operation. macOS claimed tested, Windows not. Happy path plausible, but error handling and edge cases unverified; failures might not be easily diagnosable. Deduct 2 points for insufficient reliability evidence.

3Adaptability12 / 15 · 4.0/5

Well-defined triggers and boundaries, clear scenarios. Works on macOS/Windows, no overseas service dependency, thus suitable for Chinese users. But there might be unanticipated environments or user expectations; deduct 3 points as full coverage can't be confirmed.

4Convention12 / 15 · 4.0/5

Structure is clear, includes dependencies, platform status, and troubleshooting, but lacks versioning, changelog, and clear update path. Maintenance is personal, not institutional. Deduct 3 points for incomplete governance.

5Effectiveness7 / 15 · 2.3/5

Skill logic sound, value clear, but static review can't measure actual output quality and ease of use. Effectiveness depends on agent analysis, potentially variable. Deduct 8 points due to lack of verification.

6Verifiability3 / 10 · 1.5/5

No tests or CI in repository for these scripts; README claims testing but no third-party evidence. Thus, only code presence is confirmed, not correctness. Deduct 7 points for insufficient verification.

Evidence confidence:Low Reviewed Aug 07, 2026 Reviewed revision 17573491cf2f
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • The delete functionality relies on a local server whose security isn't independent tested; review whitelist and permissions before use.
  • Windows code is untested; exercise caution on first use and backup important data.
  • Skill depends on agent compliance with read-only rules; if agent fails to follow, data loss may occur.
Review evidence [1][2][3][4][5][6][7][8]
See the full review method →

What does this skill do, and when should you use it?

This is an Agent-driven storage analysis skill: trigger with a natural language phrase, it scans the entire disk (macOS or Windows), finds the biggest space consumers, and classifies each into three tiers — 🟢 safe to auto-clean, 🟡 needs manual judgment, 🔴 caution recommended — with actionable disposal plans. It generates a beautifully formatted, collapsible, interactive HTML report with one-click copy commands and optional web-based deletion (trash or permanent, with confirmation). The entire scan is read-only; nothing is deleted without explicit user action.

Runs a Python script (scan.py) that auto-detects the OS (macOS/Windows) and uses du or os.scandir to compute directory sizes, outputting JSON data. The agent analyzes this data: identifies the top 5 space consumers, investigates mysterious large directories (e.g., UUID-named Containers), and classifies each major item. It then produces an analysis JSON (schema in build_report.py) and either serves it via server.py (local server on 127.0.0.1 with random port and token) to open an interactive HTML report with working delete/trash buttons (using osascript or SHFileOperationW), or generates a static HTML file via build_report.py (no delete buttons).

  1. When the user says 'My C: drive is full' and needs a quick cleanup plan.
  2. To find out what is eating 200GB of disk space and get a prioritized list with paths and recommendations.
  3. To safely clean caches and temporary files on a Mac without risking important data.
  4. To identify and decide on a mysterious large folder (e.g., a 97GB UUID Container) that appears on disk.
  5. To produce a shareable disk analysis report as an HTML file.

What are this skill's strengths and limitations?

Pros
  • Fully read-only scan, never deletes anything without explicit user action
  • Clear three-tier classification with specific paths and recommendations
  • Interactive HTML report with copyable commands and direct action buttons
  • Supports macOS (fully tested) and Windows (code ready)
  • Pure Python standard library, no external dependencies
  • Agent-driven, can identify and explain mysterious directories
Limitations
  • Windows support has not been tested on a real system and may have issues
  • Scan can be slow on large disks
  • Cleanup commands must be run by the user, or via the web buttons (requires starting the server)
  • Requires local Python environment (Windows needs manual install)

How do you install this skill?

In Claude Code, Codex, or other Agent Skills-compatible tools, just say:

Install this skill: https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer

The agent will clone it to the appropriate directory. If your agent doesn't support Skills, download the SKILL.md from the storage-analyzer folder and use it as a rules file or paste it into the conversation.

How do you use this skill?

After installation, trigger it with a natural language phrase, e.g.:

Check my storage
C drive is full
Clean up my disk
Look at my computer space
storage analysis

The agent will run the scan (may take a few minutes), analyze, and automatically open a browser with the interactive report. In the report, 🟢 items have one-click trash/delete buttons, 🟡 items have 'Open in Finder' and possibly 'Move to Trash' (with confirmation), 🔴 items only have 'Open in File Manager'. The local server runs on 127.0.0.1 with a random port and token for security.

FAQ

Will this skill delete my files?
No. Scanning and report generation are read-only; all deletions must be triggered by clicking buttons on the web page with explicit confirmation. Default methods are reversible (Move to Trash).
Do I need to install Python?
macOS includes Python 3 by default; on Windows you need to install Python 3 and may need to use 'python' or 'py -3' instead of 'python3'.
Why don't I see delete buttons in the report?
Make sure you used server.py (not static mode), and that each 🟢 item has a 'trash_paths' field. Static HTML has no delete buttons by design.
Does it handle multiple disks?
Windows supports multiple drive letters (primary drive segmented bar + other drives list); macOS only scans the system disk.

More skills from this repository

All from KKKKhazix/khazix-skills

Related skills