Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Disk Usage Analyzer

    1

    Identify disk space hogs, detect runaway log growth, and compare storage snapshots across local and remote systems.

    $2.99

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    Disk Usage Analyzer

    Disk Usage Analyzer

    Example session with this skill installed

    Scan /var/log to find the top 10 largest files and check for unrotated logs or growth issues.

    • Read your context and instructions
    • Compiled the disk usage analyzer

    I have completed the scan of /var/log. The analysis identified several large log files and potential waste patterns, specifically within the journal and legacy application logs.

    Disk Usage Analysis: /var/log

    PathSizeCategoryObservation
    /var/log/journal/...2.4 GBSystem LogVacuuming recommended
    /var/log/nginx/access.log.11.8 GBWeb LogUncompressed, ready for rotation
    /var/log/syslog950 MBSystem LogRapid growth detected
    /var/log/app/debug.log820 MBApp LogContains multi-month stale data
    /var/log/mail.log.2.gz450 MBMail LogOld archive
    /var/log/auth.log120 MBSecurityNormal range
    /var/log/kern.log85 MBKernelNormal range
    /var/log/dpkg.log12 MBPackageNormal range

    Waste Pattern Detection:

    • Unrotated Logs: nginx/access.log.1 is nearly 2GB and hasn't been compressed by logrotate.
    • Stale Data: app/debug.log contains entries older than 90 days.
    • Docker Bloat: No significant Docker container logs found in this path.

    Next steps

    1. Run journalctl --vacuum-size=500M to reclaim space in the system journal.
    2. Check logrotate configuration for Nginx to ensure .1 files are compressed immediately.
    3. Execute python3 scripts/disk_usage.py snapshot /var/log -o log_snap_v1.json to track growth over the next 24 hours.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Disk space crises usually happen at the worst possible time. This skill identifies exactly what is consuming storage and flags runaway growth patterns before partitions hit capacity.

    What it does

    • Live directory scanning walks local file systems to rank the largest directories and files by size.
    • Growth analysis compares two snapshots of the same path to pinpoint exactly where data is accumulating.
    • Waste detection flags common culprits like unrotated logs, core dumps, orphaned temp files, and Docker layer bloat.
    • Remote analysis processes standard du output files for systems where the agent cannot run directly.
    • File grouping categorizes storage usage by extension and file age to identify stale data.

    How it works

    1. Scan a specific directory path or mount point to get a real-time view of usage.
    2. Snapshot the current state to a JSON file for historical tracking or comparison.
    3. Compare two snapshots using the growth command to visualize delta changes.
    4. Filter results by minimum size or exclude specific system directories like /proc and /dev.

    Frameworks & tools

    The skill utilizes a Python-based execution environment to interface with standard Unix utilities like du and df. It handles JSON for snapshot persistence.

    Why this beats prompting it yourself

    Generic prompts often fail to handle the recursive complexity of file systems or the specific formatting of du exports. This skill provides a structured CLI-like interface that produces machine-readable snapshots, allowing for precise delta comparisons that manual inspection misses.

    Use cases

    • Identify which Docker volumes or log files are causing a sudden disk space alert.
    • Compare server storage state before and after a major deployment or data migration.
    • Audit a remote server's storage using a provided du text export.
    • Clean up dev environments by finding multi-GB core dumps and old build artifacts.

    Known limitations

    Requires read permissions for the directories being scanned. Remote analysis depends on correctly formatted du -ab output. Scan depth may impact performance on extremely large volumes.

    Requires read access to target directories. Performance varies with file count. Growth analysis requires two existing snapshot files for comparison.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    Permissions

    Terminal / Shell
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    The skill requires a Python-based execution environment and works best with agents that have file system access. It is designed to be compatible with popular LLM orchestration frameworks that support tool-calling or custom function execution.

    No, you can perform remote analysis by providing the agent with a standard `du` output file. This allows you to analyze storage distribution and growth for servers where the agent isn't directly installed.

    While you can scan entire volumes, the skill allows you to set filters for minimum file sizes and exclude system-level directories like `/proc` or `/dev`. This prevents performance lag and ensures the agent focuses only on actionable data.

    The comparison feature uses JSON snapshots to calculate the 'delta' between two points in time. By comparing a current scan against a previous snapshot, the skill identifies exactly which files or logs have grown, rather than just showing the current largest files.

    You receive the production-ready Python skill package, configuration documentation, and instructions for integrating the tool into your specific AI agent environment. Free updates for bug fixes and logic improvements are included.

    New in LLM Ops