smartclean

    1

    Safety-first disk cleaner for Linux and macOS that reclaims space from caches and artifacts without touching active data.

    $3

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    smartclean

    Example session with this skill installed

    Scan my system for files I can safely delete to free up space. Run a standard scan.

    • Read your context and instructions
    • Compiled the smartclean

    I have completed a safety-first scan of your system. I skipped active browser profiles, SSH keys, and projects modified within the last 7 days to ensure no data loss.

    Disk Cleanup Scan Results

    CategoryReclaimableItems FoundSafety Level
    System1.2 GBapt cache, journalctl logsHigh (System Tools)
    Dev850 MBnode_modules (inactive), .pyc filesHigh
    Docker4.5 GBDangling images, unused layersMedium (Requires Sudo)
    Cache420 MBThumbnails, fontconfig, brewHigh
    Trash150 MBUser trash binHigh
    Artifacts2.1 GBOld build targets in ~/devMedium

    Summary: A total of

    9.22 GB can be reclaimed. I have skipped

    1.4 GB of data in ~/.ssh, ~/.gnupg, and active Chrome profiles for safety.

    Next steps

    1. Run smartclean apply --category system,cache to clear high-safety items.
    2. Run smartclean apply --category docker if you want to prune unused containers and images (may require sudo).
    3. Request a deep scan with smartclean scan --deep to search for large files and older artifacts.

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

    About this skill

    Disk space issues on Linux and macOS often lead to reckless deletions of configuration files or active project data. This skill provides a safety-first automation for reclaiming space without risking your sensitive credentials or active work.

    What it does

    • Smart Scanning identifies reclaimable space across trash, browser caches, dev artifacts, and system logs.
    • Safety Filtering automatically excludes sensitive directories like .ssh, .gnupg, and active browser profiles.
    • Recency Protection skips caches and projects modified within a configurable window to prevent disrupting active work.
    • System Integration uses native tools like apt-get clean, journalctl, and docker rather than raw file deletion.
    • Dry-run Execution defaults to a scan-only mode to prevent accidental data loss before user approval.

    How it works

    1. Run a scan using smartclean scan --json to generate a list of candidates and skipped items.
    2. Review the summarized report of reclaimable space categorized by type and size.
    3. Select specific categories or targets, such as build artifacts in a development directory.
    4. Execute the cleanup with smartclean apply only after explicit confirmation for each category.

    Frameworks & tools

    Built for Bash environments on macOS and Linux. It integrates with docker, podman, snap, flatpak, brew, and standard Linux package managers.

    Why this beats prompting it yourself

    Writing a cleanup script from scratch risks deleting critical session data or credentials hidden in caches. This skill uses a proven blocklist and logic to distinguish between disposable artifacts and active project files.

    Use cases

    • Reclaim disk space by purging old Docker images and system logs.
    • Clean up multi-gigabyte build artifacts in deep development directory trees.
    • Safely clear browser caches without losing saved logins or active sessions.
    • Perform a deep sweep of installers and large files older than 14 days.

    Known limitations

    Does not support Windows. Does not perform application uninstallation. Large directory trees may be skipped unless the deep flag is used to avoid timeouts.

    Does not support Windows. Does not uninstall applications. Scanning very large file systems may hit timeouts unless --deep is specified.

    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 11 days ago

    Requires

    macOS/Linux
    Mole/mole-for-ubuntu
    macOS
    Git

    Permissions

    Terminal / Shell
    Read Files
    Listed11 days ago

    What's inside

    Frequently Asked Questions

    This skill protects you by using a safety-first filtering system that automatically excludes sensitive directories like `.ssh` and `.gnupg`, and uses a configurable 'Recency Protection' window to avoid deleting files currently in use.

    SmartClean is designed for Linux and macOS environments and is compatible with any AI agent capable of executing Bash commands or interacting with standard CLI tools.

    Unlike a generic prompt, this skill includes a pre-configured blocklist and integrates directly with system tools like Docker, Brew, and Journalctl to perform deep cleaning that a simple LLM might miss or execute unsafely.

    You receive the full automation script, a detailed integration guide for your AI agent, and a set of pre-defined configuration templates for different cleanup intensities.

    No, the skill defaults to a 'Dry-run Execution' mode that generates a JSON report of candidates for deletion, requiring your explicit confirmation before any files are actually removed.

    SmartClean focuses on system artifacts, logs, and development caches; it does not handle application uninstallation or support Windows file systems at this time.

    New in Workflow Automation