storage-analyzer

storage-analyzer is a skill for Claude Code from bahayonghang/my-ai-cli-toolkit. It costs 142 tokens per session (849 once invoked), scanned A, original, MIT.

A read-only disk-space scanner for macOS and Windows that groups files into categories such as caches, personal data, and files to keep. It produces an HTML report with commands you can review before cleanup.

In plain words
What is it for?
It helps investigate full drives, find large storage hotspots, review cleanup suggestions, and inspect developer caches, temporary files, and downloads.
Why use it?
It shows what is using storage when a disk is nearly full without deleting anything automatically. The classification helps distinguish disposable caches from important files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps investigate full drives, find large storage hotspots, review cleanup suggestions, and inspect developer caches, temporary files, and downloads.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bahayonghang/my-ai-cli-toolkit/storage-analyzer
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add bahayonghang/my-ai-cli-toolkit --skill storage-analyzer
Clone the repo
git clone --depth 1 https://github.com/bahayonghang/my-ai-cli-toolkit

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for storage-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/storage-analyzer.svg)](https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/storage-analyzer)
Your own site
<a href="https://agentmods.dev/skills/bahayonghang/my-ai-cli-toolkit/storage-analyzer"><img src="https://agentmods.dev/badge/skills/bahayonghang/my-ai-cli-toolkit/storage-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 142 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 849 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00142 $0.00849
Opus 5 $0.00071 $0.00425
Sonnet 5 $0.00028 $0.00170
Haiku 4.5 $0.00014 $0.00085

Measured 4d ago against content hash 94e3836f3d3d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

storage-analyzer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/build_report.py, scripts/paths.py, scripts/scan.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/developer-tools-integrations/storage-analyzer/SKILL.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.

In the commands below, <skill-dir> is this skill's base directory, announced when the skill loads. Substitute the literal path. On Windows, py -3 may replace python.

Default: scan and write a static HTML report. Do not start server.py until the user approves the shown absolute paths in this turn.

Routing

  • Disk full, C: drive, storage analysis, cache cleanup: this skill.
  • RAM / which process uses memory: refuse.
  • Windows dev-process leftover trees: windows-dev-process-cleanup.
  • Downloads categorize/rename: file-sorter.
  • Startup apps: refuse; this skill does not disable startup items.
  • Linux hosts: refuse. scan.py exits 2 with unsupported_platform.

Workflow

  1. Scan (read-only). --output must be an absolute path. Do not capture JSON with PowerShell >.
python "<skill-dir>/scripts/scan.py" --output <abs-scan.json>

Windows default groups: AppData Local/Roaming, Temp, Downloads, existing dev cache roots. Do not pass --include-system-apps unless the user asked to size Program Files.

  1. Read classification.md and the OS file: windows.md or macos.md. Write analysis.json with top5, green, yellow, red, summary. Green trash_paths must sit under cache-prefixes.json.

  2. Build the static report:

python "<skill-dir>/scripts/build_report.py" <abs-analysis.json> --output <abs-report.html>

Open the HTML for the user. Summarize estimated reclaim, the first two actions, and the highest-risk item.

  1. After this-turn approval of the exact trash/open paths, start the local server in the background and give the user REPORT_URL:
python "<skill-dir>/scripts/server.py" <abs-analysis.json> --no-browser

The server accepts trash and open only. rm is disabled. Green trash still has to match the prefix table. Stop the server when the user is done.

Do not call rm, Remove-Item, or SHFileOperation on user paths. Trash goes only through server.py.

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 75 lines · 142 tokens per session scan A 94e3836f3d3d

Subscribe to this mod's changes

storage-analyzer is a skill published in the GitHub repository bahayonghang/my-ai-cli-toolkit (16 stars, last pushed today), licensed MIT. It adds 142 tokens to every session and 849 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

computer-clean

Audit and reclaim disk space on macOS. Discovers cache hogs, dev caches, dead app data, old Downloads, dup installers, and obsolete container/VM images. Use when user says 'clean disk', 'free up space', 'computer-clean', 'cleanup mac', 'disk full', or shows ≥85% disk usage.

vanducng/skills · 71 tokens

speicherbereinigung

Evidenzbasierte Windows-Speicherbereinigung mit kontrolliertem Notfallmodus, physischer Belegungsmessung, Prozess- und Entstehungsforensik sowie reversiblen Maßnahmen gegen wiederkehrende Speicherfüller.

ellmos-ai/skills · 54 tokens

janitor-claude

Audit and clean up a Claude Code working directory or Obsidian vault. Use this skill when the user asks to "clean up my session", "clean this directory", "tidy this up", "audit my CLAUDE.md", "is my CLAUDE.md stale", "scaffold a CLAUDE.md", "find broken wiki-links", "find dead files", "find orphaned notes", "what's…

ArshiaEcho/janitor · 219 tokens

free-space

Free up disk space on a Mac safely. Scans for reclaimable space — app caches, developer caches (npm/uv/cargo/gradle/…), local AI models (Ollama/HuggingFace), Trash, Xcode build data, Docker images, leftover data from uninstalled apps, old nodemodules, and large stray files — then deletes only what the user approves.…

NikOneZ1/mac-space-cleaner · 115 tokens

anti-sleep

Keep a Mac awake with caffeinate during long builds, downloads, or supervised automation runs.

sickn33/agentic-awesome-skills · 22 tokens

onlyswitch-deeplink

Invoke OnlySwitch built-in switches or buttons via deeplink. Use when the user asks to toggle or trigger an OnlySwitch action (e.g. empty trash, keep awake, dark mode, mute, hide desktop, clear clipboard, eject discs, Xcode derived data, and any other built-in switch or button). Resolve the request to the correct…

jacklandrin/OnlySwitch · 85 tokens