Storage Analyzer
Scans your Mac or Windows disk, sorts what is eating space into safe, check-first and leave-alone groups, and lets you clean up from a web report.
What it is
A read-only disk cleanup assistant for macOS and Windows, made for anyone whose computer keeps warning that the disk is full and who wants to know what is actually taking up the room. You ask in plain words, such as "my C drive is full" or "check my storage", and the agent scans the whole machine and explains the biggest space users in everyday language. It comes from the Chinese creator Khazix's skill collection, so its built-in instructions and the report's labels and buttons are in Chinese.
Unlike a cleaner app with fixed rules, the agent looks inside each large folder and works out what it really is, for example tracing an oddly named container to a video app's offline downloads. Every cleanup decision lands in one of three groups: green for caches and leftovers that rebuild themselves, yellow for things that hold your data and need your judgment, and red for things you may want gone but should not delete by hand, such as apps that need a proper uninstall. Each item gets a size estimate, an explanation of what removing it means, and a suggested way to handle it.
You end up with an interactive HTML report: a disk overview, the top five space users, a priority list, collapsible green, yellow and red cards with copyable commands, and long-term tips. When opened through its small local server, green items get Trash and delete buttons, yellow items can only be opened in Finder or File Explorer or moved to the Trash, and red items never get a delete button. Every click asks for confirmation. macOS is fully tested; Windows support works but has had less real-world testing.
What it can do
- Measures home, Library, caches, app data, downloads, applications and developer caches on macOS, and the equivalent folders on Windows.
- Identifies mystery folders, such as a UUID-named container, and tells you which app owns it and what it holds.
- Sorts every cleanup decision into green (safe to clear), yellow (needs your judgment) or red (uninstall properly instead).
- Gives estimated savings, apps to close first, and copy-ready cleanup commands for each safe item.
- Builds a collapsible HTML report with a colour-coded disk bar showing how much each group could free.
- Runs a local-only web page with Trash and delete buttons, each guarded by a confirmation prompt.
- Lists folders it could not read, so you know what the scan may have missed.
When to use it
- Your MacBook says the startup disk is almost full and you cannot tell whether the culprit is photos, apps or something hidden.
- Your Windows C drive shows red in File Explorer and you want to know which caches are safe to clear before deleting anything.
- You do some coding and suspect old package caches and Xcode build files are piling up, but you do not want to break any projects.
- A relative asks you to tidy up their computer and you want a clear report to go through together before removing anything.
How it works
- 1Runs a bundled Python script that detects your operating system and measures folder sizes across the main storage locations, without changing anything.
- 2Reads a guide for macOS or Windows that explains where apps keep caches, user data and installers, and looks one level deeper into unclear large folders.
- 3Picks the top five space users and sorts each cleanup decision into green, yellow or red, with a plain explanation, estimated size and suggested action.
- 4Builds the HTML report and opens it through a small server on your own computer, protected by a random port and a one-time access token.
- 5You review the report and click to move items to the Trash or delete them; every action needs confirmation, and the server stops itself after 30 idle minutes.
- 6Ends with a short chat summary: how much space you can likely free, what to clear first, and which item carries the most risk.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer
pnpm dlx skills add https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer
Install as a Claude Code plugin
Run these inside Claude Code. The plugin may bundle related skills from the same author.
/plugin marketplace add KKKKhazix/khazix-skills /plugin install khazix-skills@khazix-skills
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the storage-analyzer folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/KKKKhazix/khazix-skills.git mkdir -p ~/.claude/skills cp -r khazix-skills/storage-analyzer ~/.claude/skills/storage-analyzer
Then just ask in plain language, for example: “My Mac's disk is almost full. Can you check what is taking up space?”
More Productivity & Life skills
Career Ops
80kScores job postings against your CV, tailors an ATS-friendly resume and cover letter for each, and tracks applications on your own computer.
Career Change Resume
45kWrites an honest resume for a move into a new field, translating your past work into the target job's language without inventing experience.
Portfolio Case Study
45kTurns a real project into a portfolio case study that shows your decisions, your share of the work and the evidence, with nothing made up.