dsh-plugin-disk-map: View Disk Usage by Directory and File on Local Paths
dsh-plugin-disk-map is a DSH community plugin maintained by thegabopacheco-sudo (v0.1.0, MIT license), categorized under admin-security. It tracks disk usage by directory and file on a local path, with configurable depth and top-N display to identify the largest consumers. It exposes two MCP tools: `status` and `map`. Installation is done via the DSH settings page or by running `dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-disk-map`. The plugin operates in read-only mode by default; write operations require `confirm: true`. Write actions can be fully disabled by setting `DSH_DISK_MAP_MODE=read-only`. Audit logs are stored at `DSH_HOME/cache/disk-map/audit.jsonl`. It is well suited for structured disk troubleshooting within Harness. Note that the plugin accesses the filesystem with the privileges of the `dsh` process.
Read More