More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    DevSweep: Safe Mac Disk Cleanup for Developers

    1

    Safe macOS developer disk cleanup for Xcode, Gradle, and package manager caches via DevSweep MCP.

    Free

    Security scanned
    DevSweep: Safe Mac Disk Cleanup for Developers

    DevSweep: Safe Mac Disk Cleanup for Developers

    Example session with this skill installed

    My build just failed with ENOSPC. Can you check my disk and see if there is anything safe to clean up?

    • Read your context and instructions
    • Compiled the devsweep

    I've checked your disk status. You are currently at a critical storage level.

    MetricValue
    Current Free Space1.2 GB
    Status Levelcritical
    Safe to Free42.8 GB (Rebuilds tier)

    I have generated a cleanup plan for the rebuilds tier. A scan was performed on your developer directories.

    Cleanup Plan (rebuilds tier)

    TargetPathPotential ReclaimWhat Happens
    Xcode~/Library/Developer/Xcode/DerivedData28.4 GBRegenerated on next build
    Gradle~/.gradle/caches8.2 GBRedownloaded/rebuilt as needed
    Node.js~/projects/legacy-app/node_modules1.5 GBReinstalled via npm install
    DockerBuild cache4.7 GBRebuilt on next docker build

    Protected Items:

    • ~/projects/current-sprint: Skipped (Uncommitted changes detected).
    • iPhone 15 Simulator: Skipped (Process currently running).

    Next steps

    1. Would you like me to proceed with clean_safe to reclaim the 42.8 GB?
    2. If you need more space, I can show you the redownload tier (Simulator Runtimes), but those must be deleted via the DevSweep app.
    3. After cleaning, I will retry your failed build command.

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

    About this skill

    Build failures caused by ENOSPC or "No space left on device" errors halt development. Manual cleanup of macOS developer directories is risky, often leading to accidental deletion of uncommitted work or important simulator data. This skill provides a safe interface to manage disk space using the DevSweep MCP server.

    It categorizes developer junk into safety tiers to ensure only regenerable data like Xcode DerivedData or package manager caches are targeted. The agent checks for active projects and uncommitted changes before proposing a cleanup plan, preventing data loss that standard rm -rf commands ignore.

    What it does

    • Check disk status returns current free space and a health level from ok to critical.
    • Analyze cleanup potential scans for regenerable files and predicts how much space can be recovered.
    • Perform safe cleaning removes only "Rebuilds" tier items like node_modules or Gradle caches.
    • Protect active work automatically skips directories belonging to active projects with uncommitted changes.
    • Identify redownloads flags large items like simulator runtimes that require internet to restore.

    How it works

    1. Run disk_status to identify if the volume is at a low or critical threshold.
    2. Execute plan_cleanup for the rebuilds tier to generate a list of safe-to-delete targets.
    3. Present the plan to the user, highlighting the largest items and any protected directories.
    4. Execute clean_safe only after user confirmation to reclaim the identified space.

    Frameworks & tools

    This skill requires the DevSweep macOS app, which is free and open source (MIT): https://github.com/ikbalcan/devsweep. Its MCP server runs locally over stdio and covers Xcode, iOS simulators, the Android SDK, Gradle, Docker, project build folders and package-manager caches. Add it to Claude Code with:

    claude mcp add devsweep -- /Applications/DevSweep.app/Contents/Resources/devsweep mcp
    

    Why this beats prompting it yourself

    Writing custom scripts to clean ~/Library/Developer is dangerous and lacks context. This skill respects specific protections, such as "Always keep" lists and running simulators, that a simple prompt or shell command cannot detect.

    Use cases

    • Resolve build failures caused by "No space left on device" errors.
    • Clean up gigabytes of Xcode DerivedData without breaking active builds.
    • See how much stale simulator runtimes and NDKs would free before removing them in the app.

    Known limitations

    Only supports macOS. The agent cannot delete "Redownload" or "Has data" tier items or your own files; those are handled in the DevSweep app (or devsweep clean --tier redownload for the Redownload tier). Agent cleaning can be turned off in DevSweep under Automation > Allow AI agents to clean.

    macOS only. Cannot delete Redownload tier or user files. Agent cleaning must be enabled in DevSweep app settings.

    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

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed today

    • Free with an Agensi account

    Requires

    macOS 14+
    DevSweep app (free, open source)
    DevSweep Added To Your Agent MCP
    macOS
    macOS only

    Permissions

    Terminal / Shell

    Cleaning goes through DevSweep's local MCP server, which deletes only regenerable build output and caches, and only after the user confirms. The terminal is used only for the DevSweep CLI fallback when MCP is not set up. Nothing is sent over the network.

    Listedtoday

    What's inside

    Frequently Asked Questions

    DevSweep provides a context-aware safety layer that checks for uncommitted code and active project locks before deleting anything, preventing the accidental data loss common with manual shell scripts.

    This skill is designed for macOS environments and requires the DevSweep macOS application and its MCP server component to be installed and running on your local machine.

    The skill targets "Rebuilds" tier data like Xcode DerivedData, Gradle caches, and node_modules, but it intentionally protects user documents and "Redownload" items like simulator runtimes unless specifically authorized.

    Yes, the skill can be integrated into automated workflows to trigger a cleanup plan whenever your disk space hits a 'low' or 'critical' health threshold.

    Your purchase includes the DevSweep MCP skill definition and documentation; however, you must ensure the DevSweep macOS desktop application is installed separately to provide the underlying cleanup engine.

    DevSweep supports a wide range of common developer tools including Xcode, Docker, Gradle, and various package managers like npm and Yarn.

    New in LLM Ops