Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

dysk

$ dysk Community Low Risk
Canop · Files & Search · MIT · linux / macos

dysk is a strictly read-only Rust replacement for df showing mounted filesystems, free/used space, mount points, and disk types. It supports native JSON (-j), CSV (--csv), expression filtering (-f), sorting (-s), and --color no with zero prompts.

FCRS-1.0 Score
91 /100
Excellent
Medium Confidence
Zero-Friction Install
brew install dysk
CLI vs MCP Decision CLI Only

dysk -j reports structured mount capacity and free bytes in <5 ms locally without an MCP server.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
✓ NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 23 / 25

Native -j JSON, --csv, -f filtering, -c column selection, and --color no in a fast non-interactive binary.

  • Supports -j JSON, --csv, and -f filter expressions
  • Strictly non-interactive stdout execution
Trust & Safety 25 / 25

Strictly read-only mount/statvfs inspection with zero write or network actions.

  • Purely read-only OS filesystem overview
Setup & Portability 12 / 15

Available via brew install dysk, cargo install, and binaries on Linux and macOS (no Windows support).

  • Supports Linux and macOS; no Windows release
Utility & Efficiency 14 / 15

Replaces fragile df -h | awk parsing with clean -j JSON and SQL-like -f filtering.

  • Built-in filtering (-f), sorting (-s), and units (-u)
Maintenance & Lineage 8 / 10

Actively maintained MIT-licensed Rust utility (Canop/dysk).

  • Active upstream development and releases
Docs & Verifiability 9 / 10

Clear documentation at dystroy.org/dysk/ with filter syntax and JSON examples.

  • Official guide covers -j, -f, -s, and -c flags

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None required; queries OS mount and filesystem statistics read-only.

Side Effects
Read-Only
Cost & Quotas

100% free, offline, and open-source (MIT).

Copyable Guardrail for CLAUDE.md / AGENTS.md
# dysk Agent Rules
- Prefer `dysk -j` for machine-readable disk space checks, or pass `--color no` for plain tables.
- Strictly read-only; no confirmation or dry-run flags needed.

Agent-Ready Command Recipes

Safe Read-Only Queries

Inspect mounted filesystems as JSON
dysk -j

Emits an array of mounted filesystems with exact byte counts, mount points, types, and usage percentages.

Filter filesystems exceeding 80% usage
dysk -j -f 'use > 80%'

Uses -f expression filtering and -j JSON output to surface nearly full volumes.

Strengths for Agents

  • + Native -j JSON and -f filter expressions eliminate brittle df text parsing.
  • + Strictly read-only with --color no and --csv support.

Caveats & Pitfalls

  • ! Does not support Windows (duf covers Windows as well).

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI