clean-up

Solid

Procedural guide for auditing and safely reclaiming disk space on the system. Covers package manager caches (uv, pip, npm, conda, pnpm), Docker caches/images, transient agent files (.ES), and temp/backup files. Never deletes without explicit user confirmation.

Code & Development 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Safe System Clean-up Skill This skill provides a structured workflow for identifying, auditing, and safely reclaiming disk space across package manager caches, Docker resources, shell backups, and temporary files. > [!IMPORTANT] > **Safety First:** Never execute deletion or purge commands without presenting the targeted files/directories and their sizes to the user and obtaining explicit, written permission. --- ## 1. Audit Phase (Detection) To begin a clean-up, scan the system for space-consuming targets using non-destructive commands. Categorize findings into the following groups: ### A. Package Manager Caches Check the sizes of common package directories: * **uv cache:** `du -sh ~/.cache/uv` * **pip cache:** `du -sh ~/.cache/pip` * **Conda package cache:** `du -sh ~/miniconda3/pkgs` * **npm cache:** `du -sh ~/.npm/_cacache` * **pnpm store:** `du -sh ~/.local/share/pnpm/store` (and check for registered projects via `pnpm store status`) ### B. Docker Storage Check active/stopped containers, unused images, and builder caches: * `docker system df` * `docker ps -a` (to identify any running or stopped containers and their compose project directories) ### C. Transient Agent files & Backups * **Episodic State files:** `.ES/` folders or `ES.md` logs in repository roots. * **Shell history/alias backups:** `~/.bash_history-*.tmp` files, `~/.bash_aliases.bak-*` backups. * **Configuration backups:** Sibling `.bak` files in `~/.openclaw` or `~/.codex`. --- ## 2. Review and C...

Details

Author
MasihMoafi
Repository
MasihMoafi/skills
Created
1 months ago
Last Updated
today
Language
N/A
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

computer-clean

Audit and reclaim disk space on macOS. Discovers cache hogs, dev caches, dead app data, old Downloads, dup installers, and obsolete container/VM images. Use when user says 'clean disk', 'free up space', 'computer-clean', 'cleanup mac', 'disk full', or shows ≥85% disk usage.

2 Updated today
vanducng
AI & Automation Listed

disk-space-audit

Scan and analyze disk space usage on Windows and macOS (with Linux references), then produce a categorized cleanup report — and, only when the user explicitly asks, execute cleanup with per-item confirmation. Use this skill whenever the user asks to "scan C drive", "analyze disk space", "find what's eating my storage", "clean up system drive", "磁盘空间分析", "清理 C 盘", "扫描磁盘占用", "找重复文件", "find duplicates", or wants a breakdown of where disk space went. Also trigger when user mentions disk full, low space warnings, or wants to know what can be safely deleted. The audit phase is always read-only. The cleanup phase requires explicit, per-item user confirmation and never proceeds on ambiguous intent.

0 Updated 5 days ago
Haaaiawd
AI & Automation Solid

cleanup-unused-files

Aggressively clean disk space by removing caches, build artifacts, temporary folders, tool state, and other reproducible local junk from repos and developer machines. Use when the user asks to free space, nuke caches, wipe local build output, remove stale tool directories, clear package-manager caches, reset local developer state, or do a broad cleanup of bulky unused files.

36 Updated today
OpenCoven