TopRank Skills

Home / Claw Skills / Release / mac-cleanup
Official OpenClaw rules 36%

mac-cleanup

Cleans up system caches, trash, and old downloads on macOS.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 mac-cleanup 技能。 若已安装,则直接安装 mac-cleanup 技能。

Overview

Skill Key
aadipapp/mac-clean-skill
Author
tempguest
Source Repo
openclaw/skills
Version
0.1.0
Source Path
skills/aadipapp/mac-clean-skill
Latest Commit SHA
1970a5e2edebfefdd5ae4a8096e68a0cbfe6941f

Extracted Content

SKILL.md excerpt

# Mac Cleanup Skill

This skill helps you reclaim disk space on your MacBook Pro by cleaning up:
- **System Caches**: Clears the user cache directory (`~/Library/Caches`).
- **Trash**: Empties the Trash (`~/.Trash`).
- **Old Downloads**: Deletes files in `~/Downloads` that are older than 30 days.

## Commands

- `cleanup`: standardized command to run the cleanup script.

README excerpt

# Mac Cleanup Skill for OpenClaw

This skill allows your OpenClaw agent to perform system maintenance on your MacBook Pro.

## Features

- **Empty Trash**: Permanently deletes files in `~/.Trash`.
- **Clear Caches**: Removes files in `~/Library/Caches` older than 7 days.
- **Clean Downloads**: Deletes files in `~/Downloads` older than 30 days.

## Installation

Since this is a local skill, you need to point OpenClaw to this directory or publish it to ClawHub.

### Local Install (Development)
If you have the OpenClaw CLI installed:
```bash
openclaw skill install ./mac-cleanup-skill
```

## Usage

Once installed, you can ask OpenClaw:
> "Clean up my mac"
> "Run the cleanup skill"

By default, the script runs in **DRY RUN** mode to prevent accidental data loss. To actually delete files, you need to modify the command execution to pass the `--force` flag or run the script manually.

## Publishing to ClawHub

To share this skill with the community (or yourself on other devices):

1.  **Login to ClawHub**:
    ```bash
    clawhub login
    ```

2.  **Publish the Skill**:
    Navigate to the skill directory and run:
    ```bash
    clawhub publish
    ```

## Security Note

This skill deletes files. Review `scripts/cleanup.py` before running with `--force`.

Related Claw Skills