storage-analyzer
Skill by KKKKhazix
Storage Analyzer scans disk usage on macOS, Windows and Linux and finds the largest space users. It groups each item by how safe it is to clean and builds an interactive HTML report for users with full disks.
Install storage-analyzer
Built from the published package, never by AI.
git clone --depth 1 https://github.com/KKKKhazix/khazix-skills /tmp/khazix-skills && mkdir -p ~/.claude/skills && cp -r /tmp/khazix-skills/storage-analyzer ~/.claude/skills/storage-analyzerRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/KKKKhazix/khazix-skills /tmp/khazix-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/khazix-skills/storage-analyzer ~/.gemini/antigravity-cli/skills/storage-analyzerAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Storage Analyzer is an agent skill for macOS, Windows and Linux. It runs a read-only scan of disk usage and finds the largest space users. It sorts each item into one of three levels: auto-cleanable, needs manual review, or clean up with caution. For each item it gives a handling plan, and the scan detects the operating system automatically.
The skill then builds an interactive HTML report with collapsible sections and commands that can be copied with one click. It can also start a local server so the user can move items to the trash or delete them from the browser page. Each click asks for confirmation first. The skill is for users whose disk is full, or who want to know what takes up space and what is safe to clear.
Written from the project's SKILL.md and checked against it.
What it can do
- Disk usage scanScans the whole disk in read-only mode and lists the largest space users.
- Three-level sortingSorts items into auto-cleanable, needs manual review, or clean up with caution.
- Handling plansGives a concrete handling plan and copyable cleanup commands for each item.
- Interactive HTML reportBuilds a report with collapsible sections and one-click copy for commands.
- Local cleanup serverStarts a local page where items can be moved to the trash or deleted directly.
- Platform detectionDetects macOS, Windows or Linux and reads the matching storage layout reference.
- Unknown directory tracingWorks out which app owns large unidentified folders, such as UUID containers.
What you need
- Python 3 (standard library only, no pip installs)
- macOS, Windows or Linux
- On Windows, Python installed and run as python or py -3
- On Linux, gio or trash-cli and xdg-open for trash and folder opening
Try asking
- Why is my C drive full? Scan it and suggest what to clean.
- Analyze my disk storage and show what takes up the most space.
- Find safe caches I can clear on my Mac to free up space.
Good to know
- The scan is read-only, and deletion needs explicit user approval.
- macOS has been fully tested. Windows trash behavior still needs checking on each machine.
- Linux was tested only on Ubuntu 26.04.1 LTS with GNOME and ZFS.
- It covers disk storage only, not RAM or process memory usage.
Security check
C- Asks for administrator rights (sudo)In
storage-analyzer/SKILL.md:`sudo
Checked automatically: storage-analyzer/SKILL.md, storage-analyzer/scripts/build_report.py, storage-analyzer/scripts/scan.py, storage-analyzer/scripts/server.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md16 KB -
assets/report_template.html27 KB -
references/linux.md5 KB -
references/macos.md2 KB -
references/windows.md3 KB
Show all 8 files
-
scripts/build_report.py2 KB -
scripts/scan.py18 KB -
scripts/server.py16 KB
Alternatives to storage-analyzer
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
storage-analyzer: common questions
Does this skill delete files on its own?
No. The scan is read-only. Deletion from the report page asks for browser confirmation on each click, and the skill acts only on items the user has approved.
Can it check RAM usage?
No. The source says requests about RAM or running process memory fall outside this skill, which covers storage only.
Which systems are supported?
macOS is fully tested. Windows has code and CI coverage but still needs checks on real machines. Linux was tested on one Ubuntu setup.
How do I install storage-analyzer?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is storage-analyzer free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is storage-analyzer safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to storage-analyzer?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
