Mac Cleanup for Openclaw

A specialized utility for macOS that automates the removal of system caches, trash, and outdated downloads to optimize disk space.

aadipapp
v1.0.0
Feb 11, 2026
0
2.6k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install mac-clean-skill

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install mac-clean-skill using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Mac Cleanup?

The Mac Cleanup skill is a powerful maintenance tool designed specifically for the macOS ecosystem. By integrating seamlessly with Openclaw Skills, it provides a programmatic way to handle the routine digital hygiene tasks that keep a MacBook Pro running smoothly. This skill targets high-impact areas where storage bloat typically occurs, allowing developers and power users to maintain their systems without manual effort.

Built to be efficient and safe, this skill focuses on non-critical temporary files and user-defined cleanup zones. Whether you are dealing with a bloated Library folder or a cluttered Downloads directory, this addition to your Openclaw Skills library ensures your machine stays lean and performant.

Mac Cleanup Use Cases

  • Automatically clearing system-level user caches to resolve application performance issues.
  • Freeing up immediate storage by programmatically emptying the system Trash.
  • Managing the Downloads folder by purging files that have been sitting idle for over a month.
  • Setting up recurring maintenance tasks to ensure consistent disk space availability.

How Mac Cleanup Works

  1. The skill receives the cleanup command through the Openclaw Skills execution layer.
  2. It targets the ~/Library/Caches directory to safely remove temporary application data.
  3. It accesses the ~/.Trash folder to perform a permanent deletion of all queued items.
  4. It scans the ~/Downloads folder and compares file modification dates against a 30-day threshold.
  5. Files meeting the age criteria are deleted, and a summary of reclaimed space is provided to the user.

Mac Cleanup Setup

To install the Mac Cleanup skill, use the following command in your terminal:

openclaw install mac-cleanup

Ensure that your environment has the necessary permissions to access system folders. You may need to grant Full Disk Access to your terminal or the agent executing Openclaw Skills in your macOS System Settings.

Mac Cleanup Data Schema & Taxonomy

This skill interacts directly with the macOS file system structure as detailed below:

Location Data Type Cleanup Logic
~/Library/Caches Application Cache Complete removal of subdirectories
~/.Trash Deleted Files Permanent purge of all contents
~/Downloads User Files Deletion of files older than 30 days

Mac Cleanup Advanced Features

  • Silent execution mode for use in background automation workflows.
  • Integration with Openclaw Skills triggers for scheduled weekly maintenance.
  • Targeted directory scanning to prevent accidental deletion of critical system files.
  • Extensible command structure allowing for future expansion into other macOS maintenance areas.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*