disk-scan SKILL.md skillA
disk-scan from openminis/minisskills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add openminis/minisskills/disk-scan@git:20261106.a7dee2aPins git:20261106.a7dee2a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- openminis/minisskills
- Path
disk-scan/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261106.a7dee2a, committed Nov 6, 2026
- Size
- 7,769 bytes
- Repository stars
- 593
- License
- MIT
Report what is actually taking up space in a directory tree — the biggest subdirectories and the biggest individual files, largest first. Use this skill whenever the user asks where their storage went or what is eating space: "why is my phone full", "what's using all my space", "find the big files", "what's in this folder taking up 8 GB", "which folder should I clean", "外接盘爆了", "手机满了", "哪个文件夹最大", "找大文件", "磁盘占用", "清理空间", 용량 확인, 가장 큰 파일, ストレージ不足, 大きいファイル. Also use it before any cleanup, archive…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Disk Scan ## Overview `scripts/disk_scan.py` walks a directory tree once and reports it back in two ranked lists: the largest subdirectories, and the largest files. Sizes are subtree totals, so a directory figure is everything underneath it, not just the files sitting directly inside. Read-only by construction. There is no cleanup mode, no `--apply`, and no code path that modifies the filesystem. Cleaning up is a decision that deserves its own explicit confirmation; a measurement tool that can also delete is one flag away from a disaster, so this one cannot. ## Why one pass matters The obvious implementation sizes each directory separately, which re-walks every subtree: the root's walk plus each child's walk plus each grandchild's, and so on. That is quadratic in depth, and it is exactly the case that hurts — a media library, a project with `node_modules`, a backup folder. The same tree that answers in three seconds with one pass can take fifteen with the naive version, and the gap grows with every level. Nothing here is clever — it accumulates each file's size into its ancestors during the one walk it already has to do. On a real tree of 3,483 directories and 19,354 files …
Read the whole file at its exact version.
How to install
mdr add openminis/minisskills/disk-scan@sha256:9abebe31da825cc1The line at the top of this page pins the label git:20261106.a7dee2a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_tkayaojlavw42edq)
0 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Nov 6, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (7769 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
openminis/minisskills · 593 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_tkayaojlavw42edq GET https://markdownregistry.com/api/v1/resolve?ref=openminis/minisskills/disk-scan GET https://markdownregistry.com/api/v1/blob/9abebe31da825cc140b4a6a9f0a4f8304038e2df442948157130cf38c8176423
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.