system-cleanup

Analyzes macOS disk usage and removes caches, logs, and large files to free space.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill system-cleanup-yuezhen-huang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: system-cleanup
Source: https://github.com/yuezhen-huang/my-bytedance-skillhub/tree/main/system-cleanup
Command: npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill system-cleanup-yuezhen-huang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? macOS disks fill up with application caches, Go module caches, logs, and forgotten large files, and users often cannot tell what is consuming space or what is safe to delete. ## Core Features & Use Cases - Disk Usage Analysis: Inspect overall disk state with df and locate files larger than 100MB across the home directory. - Targeted Cleanup: Remove Lark/Feishu caches and logs, Go module caches, outdated Go toolchain versions, and system diagnostic reports. - Cleanup Reporting: Produce a before-and-after comparison report showing freed space and each cleanup action taken. - Use Case: Your Mac warns that startup disk is almost full. Use this Skill to identify that ~/go/pkg/mod and Feishu caches consume tens of GB, clean them safely, and receive a summary report of reclaimed space. ## Quick Start Analyze my Mac's disk usage, find the largest files and caches, and clean up safe items to free up space.

Frequently Asked Questions about system-cleanup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find large files taking up disk space on macOS?

Use find with a size filter, for example find ~ -type f -size +100M, then sort results by size to list the largest files first. Start with df -h to check overall partition usage before drilling into directories.

How to clean up Feishu/Lark cache on Mac?

Quit Feishu first, then delete its log and GPU cache directories under ~/Library/Application Support/LarkShell, such as sdk_storage/log and GrShaderCache. The LarkInternational folder can also be removed if the international version is unused.

Is it safe to delete the Go module cache at ~/go/pkg/mod?

Yes, deleting ~/go/pkg/mod/cache only removes downloaded module archives, which Go re-downloads on the next build. Do not delete working code directories like ~/go/gsdk or ~/go/pdi.

What should I not delete when cleaning up a Mac disk?

Avoid deleting active work code, files belonging to running applications, and anything you cannot identify. Quit applications before clearing their caches and ask the user before removing uncertain files.

Why is my Mac disk still full after deleting files?

Space may not be reclaimed if files are held by running processes, sitting in Trash, or stored in local snapshots. Re-run df -h after cleanup and compare against the baseline to confirm actual freed space.