dust
$ dust Community Low Riskdust analyzes disk usage recursively in parallel and highlights the largest directories immediately. Passing -j (--output-json) emits machine-readable size trees without ASCII bar charts.
brew install dust Local disk-usage diagnosis via dust -j -d 2 executes directly without any MCP server layer.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Provides -j (--output-json), -c (--no-colors), -b (--no-bars), and -d depth caps.
- Native
-jJSON output and-c/-bformatting controls
Strictly read-only disk usage measurement with zero file mutation or network activity.
- Read-only stat traversal
Single Rust binary available via brew, cargo install du-dust, and OS packages.
- Cross-platform static binary
Pinpoints bloated caches, artifacts, and node_modules far faster than du -sh * | sort -h.
- Parallel directory size aggregation
Actively maintained OSS tool (bootandy/dust) under Apache-2.0.
- Active GitHub repository
Concise README and --help covering JSON, filters, and apparent-size flags.
- Clear
--helpand README examples
Security, Auth & Guardrails
None required; inspects local filesystem sizes only.
100% free, offline, and open-source (Apache-2.0).
# dust Agent Rules - Prefer `dust -j -d 2` (or `-b -c -n 20`) to avoid ANSI colors and ASCII bars in agent context. - Scope `dust` to a project or cache path instead of `/` to prevent slow full-disk walks.
Agent-Ready Command Recipes
Safe Read-Only Queries
dust -j -d 2 .
Emits JSON size breakdown up to 2 directory levels without bar-chart glyphs.
dust -n 15 -b -c .
Disables percentage bars (-b) and colors (-c) while capping lines to 15.
Strengths for Agents
- + Strictly read-only with
-jJSON output and-ddepth bounding. - + Fast parallel sizing makes diagnosing disk bloat effortless.
Caveats & Pitfalls
- ! Cargo package name is
du-dustrather thandust. - ! Default terminal bar output contains ANSI colors unless
-jor-c -bis passed.