🧹
AutomationPython

Storage Analyzer

by KKKKhazix

Storage Analyzer is an Automation skill for Claude Code, published by KKKKhazix in khazix-skills.

19.7K stars2.1K forkson KKKKhazix/khazix-skillsAdded 2026/08/14Repository updated 2026/08/14
agent-skillsai-agentsclaudeclaude-codecodexdeveloper-toolsllmskillsvibe-coding
Install in seconds
Install Storage Analyzer
Copy Storage Analyzer into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/KKKKhazix/khazix-skills/tree/main/storage-analyzer ~/.claude/skills/storage-analyzer

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/KKKKhazix/khazix-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
storage-analyzer/SKILL.md in KKKKhazix/khazix-skills
Installs to
~/.claude/skills/storage-analyzer
Collection
One of 6 skills cataloged from this repository
Category
Automation1523 skills

What Storage Analyzer does

Storage Analyzer scans macOS or Windows disks read-only, identifies large space consumers, and generates an interactive HTML report with tiered cleanup actions and one-click safe deletion via a local server. Use it when a user asks about disk space, cleanup suggestions, or what's taking up storage.

Storage Analyzer is cataloged under Automation on DirSkills. Storage Analyzer comes from a repository tagged agent-skills, ai-agents, claude, claude-code and codex.

Documentation

README

Storage Analyzer

对 macOS 做一次只读存储分析,产出交互式 HTML 报告。流程:扫描 → 分析分级 → 生成网页 → 打开。

铁律

  • 全程只读。 只能跑扫描/统计/列目录/读元信息(df、du、diskutil、stat、ls)。绝对禁止 rm、mv、rmdir、清空回收站、改权限等任何写操作。
  • 删除命令只展示,不执行。 报告里给出的清理命令是供用户自己在终端确认后运行的。即使用户在对话里说"帮我删",也要先停下确认(命中全局红线:删除文件必须先问),不要直接代跑。
  • 估算标注清楚。 涉及"可释放空间"一律说明是估算值。
  • 路径、命令保留原文不翻译。

执行流程

Step 1 扫描(只读)

python3 scripts/scan.py > /tmp/storage_scan.json

scan.py 自动识别系统(sys.platform):

  • macOS:扫 home、library、caches、containers、group_containers、app_support、applications、downloads、dev_caches,用 du 算大小。
  • Windows:扫 user_profile、appdata_local、appdata_roaming、temp、downloads、program_files(_x86)、dev_caches,用 os.scandir 算大小;system.disks 含所有盘符。

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Storage Analyzer

  • What else does KKKKhazix publish alongside Storage Analyzer?

    Storage Analyzer is one of 6 skills that DirSkills catalogs from KKKKhazix/khazix-skills, the repository it ships in. Its siblings there include AIHOT, HV Analysis and Khazix Writer. Each one is a separate skill with its own page in this directory, installs the same way Storage Analyzer does, and is maintained by KKKKhazix in that same repository. The rest of the collection is listed on the KKKKhazix/khazix-skills page.

  • How does Storage Analyzer compare to other Automation skills?

    Storage Analyzer ranks #130 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Storage Analyzer against them. Open each page to compare what they document and how they install.

More from KKKKhazix/khazix-skills

Storage Analyzer is one of 6 skills cataloged on DirSkills from KKKKhazix/khazix-skills.

See all 6 skills