clean-system
Skill1 starsChanged 3 months agoMITView on GitHub
Use when ext4 disk space is low, package caches are bloated, or after intensive development builds requiring APT, UV, PNPM, Bun, and /tmp cache eviction
1 other project uses a version of this.
Adopted by
Most recently taken up by
- MasihMoafi/skillstheir own version, first seen Nov 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- MasihMoafi/skills★ 8same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository65 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- async-python-patternsSkill
- bash-defensive-patternsSkill
- brainstormingSkill
- clean-systemSkill
- debian-linux-triageSkill
- dispatching-parallel-agentsSkill
- dotfilesSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- handoffSkill
- harness-checkSkill
- mcp-builderSkill
- perf-tuneSkill
- prompt-architectSkill
- python-mcp-server-generatorSkill
- python-performance-optimizationSkill
- python-testing-patternsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-and-hardeningSkill
- subagent-driven-developmentSkill
- sys-diagSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- tmux-agentsSkill
- update-runtimesSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
- wsl-snapshotSkill
- async-python-patternsSkill
- bash-defensive-patternsSkill
- brainstormingSkill
- debian-linux-triageSkill
- dispatching-parallel-agentsSkill
- dotfilesSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- handoffSkill
- harness-checkSkill
- mcp-builderSkill
- perf-tuneSkill
- prompt-architectSkill
- python-mcp-server-generatorSkill
- python-performance-optimizationSkill
- python-testing-patternsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- security-and-hardeningSkill
- subagent-driven-developmentSkill
- sys-diagSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- tmux-agentsSkill
- update-runtimesSkill
- using-git-worktreesSkill
- The first 60 shown.
The file
Files
Safe System Cleanup Skill
Reclaims disk space on the native ext4 WSL root volume by safely removing package caches, unreferenced dependencies, runtime cache stores, and temporary files.
Trigger Scenarios
- Root volume (
/) storage exceeding warning thresholds (>80% utilization) - Bloated APT archive caches following system updates
- Accumulated Python UV package caches or orphaned virtual environments
- Stale PNPM store items, Bun install caches, or lingering
/tmpartifacts
Invocation
${CLAUDE_PROJECT_DIR}/scripts/clean_system.sh [flags]Command Options
| Option | Description |
| (none) | Standard safe cleanup (APT cache/autoremove, UV cache, PNPM/Bun cache, /tmp files) |
--dry-run | Inspects and estimates reclaimable disk space without deleting files |
--all | Includes aggressive compiler and build cache eviction |
Safety Classification
- Tier 2 (Controlled System Operation): Authorized cleanup script preserving configuration files and active repositories.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

