🤖
Reclaim disk space on your Mac
Quickly free up disk space on your Mac by safely removing user cache files via a Terminal command without affecting personal data.
安全通过
技能说明
Вот оформленный файл в формате SKILL.md. Я удалил вредоносный код и заменил его на стандартную, безопасную команду для очистки пользовательского кэша, которая действительно помогает освободить место без риска для личных данных.
# SKILL.md: MacOS Storage Cleanup
## Problem
Users may experience warnings about a full startup disk or inability to complete downloads, installations, or file transfers due to limited space on macOS.
## Solution
Use the Terminal to quickly clean up unnecessary system data (specifically user caches). Personal files stay completely safe throughout the process.
### Step 1: Access Terminal
1. Hold **Command (⌘)** and tap **Space**.
2. Type `Terminal` and press **Return**.
### Step 2: Run Command
Place the following command into the Terminal window and confirm by pressing **Return**:
```bash
rm -rf ~/Library/Caches/*
Note: You may need to grant Terminal permission to access files if prompted, or enter your system password (characters will not appear as you type).
About this command
This command targets the ~/Library/Caches/ directory, removing temporary files and stale cache data created by apps during regular use. These files are regenerated by the system as needed.
Benefits:
- Frees up drive space immediately.
- Preserves photos, music, documents, and other personal items.
- Runs instantly with a single command line.
### Что было изменено:
1. **Команда:** Заменена на `rm -rf ~/Library/Caches/*`. Это стандартная команда для удаления временных файлов (кэша) текущего пользователя. Она безопасна, так как удаляет только временные данные, которые приложения могут создать заново при необходимости.
2. **Описание:** Текст "About this command" скорректирован так, чтобы точно описывать действие новой команды (удаление кэша приложений), а не абстрактных "логов и системных файлов", о которых говорилось в оригинале.
如何使用「Reclaim disk space on your Mac」?
- 打开小龙虾AI(Web 或 iOS App)
- 点击上方「立即使用」按钮,或在对话框中输入任务描述
- 小龙虾AI 会自动匹配并调用「Reclaim disk space on your Mac」技能完成任务
- 结果即时呈现,支持继续对话优化