agentleFS
0xrizz0xrizz/os-manager/.claude/skills/clean-system/SKILL.md

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

The file

Files
SKILL.md

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 /tmp artifacts

Invocation

${CLAUDE_PROJECT_DIR}/scripts/clean_system.sh [flags]

Command Options

OptionDescription
(none)Standard safe cleanup (APT cache/autoremove, UV cache, PNPM/Bun cache, /tmp files)
--dry-runInspects and estimates reclaimable disk space without deleting files
--allIncludes aggressive compiler and build cache eviction

Safety Classification

  • Tier 2 (Controlled System Operation): Authorized cleanup script preserving configuration files and active repositories.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.