cleanup-unused-files

Solid

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.

AI & Automation 36 stars 22 forks Updated today MIT

Install

View on GitHub

Quality Score: 82/100

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

Skill Content

# Cleanup Unused Files Optimize for reclaiming disk space fast. Prefer obvious, reproducible junk over careful semantic analysis. ## Default stance - Target caches, build output, temp folders, and local tool state first. - Prefer exact paths over broad globs. - Be explicit about blast radius. - Treat anything under source directories as higher risk unless it is known build output. - If the cleanup touches machine-wide tool state or login/session data, call that out clearly before running it. ## Primary targets Common high-yield cleanup targets include: - project build output like `target/`, `dist/`, `.next/`, `coverage/`, `.turbo/` - package-manager caches - SDK/tool caches - app caches under `~/Library/Caches` - stale temp folders - old logs, dumps, and exports - backup/swap/temp files Examples of the user's preferred cleanup style: ```bash rm -rf ~/.codex rm -rf ~/Library/Caches rm -rf ~/.rustup rm -rf ~/.bun rm -rf ~/.npm rm -rf ~/.lmstudio rm -rf src-tauri/target ``` Also valid tool-native cleanup commands when they fit better: ```bash cargo clean --manifest-path src-tauri/Cargo.toml npm cache clean --force brew cleanup --prune=all rustup toolchain list | grep -v default | xargs -I{} rustup toolchain uninstall {} ``` ## Workflow ### 1) Identify cleanup scope Determine whether the user wants: - project-only cleanup - home-directory cache cleanup - machine-wide developer reset - maximum disk recovery regardless of re-download cost If the request is vague, de...

Details

Author
OpenCoven
Repository
OpenCoven/coven
Created
3 months ago
Last Updated
today
Language
Rust
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category