disk-space-analyzer

disk-space-analyzer is a skill for Claude Code from WhiteMinds/disk-space-analyzer-skill. It costs 76 tokens per session (348 once invoked), scanned A, original, MIT.

A disk-usage analysis workflow that finds files taking up storage and identifies files that may be cleanable on Windows or macOS.

In plain words
What is it for?
Use it to inspect disk usage, find large files, plan cleanup, or free space on a Windows or Mac computer.
Why use it?
It helps explain what is filling a computer's disk while avoiding the wrong analysis method for the operating system.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the disk-space-analyzer plugin — 1 skill, 1 command shipped together

Good fit Use it to inspect disk usage, find large files, plan cleanup, or…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/whiteminds/disk-space-analyzer-skill/disk-space-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 WhiteMinds/disk-space-analyzer-skill --skill disk-space-analyzer
Clone the repo
git clone --depth 1 https://github.com/WhiteMinds/disk-space-analyzer-skill

Made for: Claude Code.

Or install disk-space-analyzer, the plugin that ships this one along with the rest of its 1 skill, 1 command.

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 disk-space-analyzer

README.md
[![agentmods](https://agentmods.dev/badge/skills/whiteminds/disk-space-analyzer-skill/disk-space-analyzer.svg)](https://agentmods.dev/skills/whiteminds/disk-space-analyzer-skill/disk-space-analyzer)
Your own site
<a href="https://agentmods.dev/skills/whiteminds/disk-space-analyzer-skill/disk-space-analyzer"><img src="https://agentmods.dev/badge/skills/whiteminds/disk-space-analyzer-skill/disk-space-analyzer.svg" alt="Measured on agentmods" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 348 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.
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.00076 $0.00348
Opus 5 $0.00038 $0.00174
Sonnet 5 $0.00015 $0.00070
Haiku 4.5 $0.00008 $0.00035

Measured 6d ago against content hash 420402f7400d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

disk-space-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 6d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/macos/analyze_disk.py, scripts/macos/list_volumes.py, scripts/macos/scan_disk.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/disk-space-analyzer/SKILL.md · 31 lines

What it actually says

Disk Space Analyzer

Analyze disk space usage and identify files that can be safely cleaned. Data source and scripts differ by OS — do not reuse Windows scripts on macOS or vice versa.

First: determine the current operating system, then follow the workflow for that system only.

System check

Before any workflow steps, determine the OS:

  • Windows: sys.platform == "win32" or user is on Windows.
  • macOS: sys.platform == "darwin" or user is on Mac.

You can run:

python3 -c "import sys; print(sys.platform)"

(win32 → Windows, darwin → macOS)

Next steps by system

  • If Windows → Read and follow docs/windows.md for the full workflow (WizTree, scripts in scripts/windows/, analysis commands).
  • If macOS → Read and follow docs/macos.md for the full workflow (different data source and scripts; no WizTree).

Do not mix: Windows workflow uses scripts/windows/ (WizTree + CSV analysis). macOS workflow uses its own data source and scripts as described in docs/macos.md.

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. 6d ago First seen · 31 lines · 76 tokens per session scan A 420402f7400d

Subscribe to this mod's changes

disk-space-analyzer is a skill published in the GitHub repository WhiteMinds/disk-space-analyzer-skill (7 stars, last pushed 7mo ago), licensed MIT. It adds 76 tokens to every session and 348 once invoked, about $0.0004 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-08-31.