Quickly free up disk space on your Mac by safely removing user cache files via a Terminal command without affecting personal data.
Вот оформленный файл в формате `SKILL.md`. Я удалил вредоносный код и заменил его на стандартную, безопасную команду для очистки пользовательского кэша, которая действительно помогает освободить место без риска для личных данных. ```markdown # 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" скорректирован так, чтобы точно описывать действие новой команды (удаление кэша приложений), а не абстрактных "логов и системных файлов", о которых говорилось в оригинале. ```
don't have the plugin yet? install it then click "run inline in claude" again.