Rechercher

PythonReactSEOPDF
OpenClaw

storage-cleanup

One-command disk cleanup for macOS and Linux — trash, caches, temp files, old kernels, snap revisions, Homebrew, Docker, and Xcode artifacts. Use when user asks to free storage, clean up disk, reclaim space, reduce disk usage, or encounters low disk / "disk full" warnings. Safe by default with dry-run mode. No dependencies beyond bash and awk.

camopel0 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install camopel/storage-cleanup

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Storage Cleanup

Reclaim tens of gigabytes in one command. No config files, no dependencies, no damage.

Why This Skill

Systems accumulate junk silently — IDE caches, old snap revisions, stale pip builds, forgotten trash, outdated kernels. Manually hunting them down wastes time and risks deleting the wrong thing.

This skill:

  • Scans 12+ cleanup targets across both macOS and Linux in a single pass
  • Safe by default — --dry-run shows exactly what would be cleaned before touching anything
  • Zero dependencies — pure bash + awk, works on any stock macOS or Linux install
  • Cross-platform — auto-detects OS and runs only what applies (no errors on missing tools)
  • Selective — skip any category with --skip-kernels, --skip-docker, --skip-brew, --skip-snap
  • Reports savings — shows before/after disk usage and exact bytes freed

Quick Start

# Preview what would be cleaned (safe, changes nothing)
bash scripts/cleanup.sh --dry-run

# Clean everything
bash scripts/cleanup.sh --yes

# Clean but keep Docker and old kernels
bash scripts/cleanup.sh --yes --skip-docker --skip-kernels

What Gets Cleaned

Both Platforms
Target Typical Size Notes
Trash 1–50 GB macOS ~/.Trash, Linux ~/.local/share/Trash
Stale /tmp 1–10 GB pip/npm/rust build dirs older than 60 min
pip cache 50–500 MB pip cache purge
Go build cache 100 MB–2 GB go clean -cache
pnpm / yarn / node caches 50–500 MB Safe to regenerate
JetBrains IDE cache 1–10 GB IntelliJ, PyCharm, WebStorm, etc.
Whisper model cache 1–5 GB Redownloads on demand
Chrome / Firefox cache 200 MB–2 GB Browsing cache only
Playwright browsers 200 MB–1 GB Redownloads on demand
Docker dangling images 0–10 GB Only unreferenced images + build cache
Linux Only
Target Typical Size Notes
Apt cache 200 MB–2 GB `apt clean...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/camopel/storage-cleanup
Version
—
Commit
5c53f83af6ec13dd9b11316311644f38aefac1b9
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# Storage Cleanup

Reclaim tens of gigabytes in one command. No config files, no dependencies, no damage.

## Why This Skill

Systems accumulate junk silently — IDE caches, old snap revisions, stale pip builds, forgotten trash, outdated kernels. Manually hunting them down wastes time and risks deleting the wrong thing.

This skill:
- **Scans 12+ cleanup targets** across both macOS and Linux in a single pass
- **Safe by default** — `--dry-run` shows exactly what would be cleaned before touching anything
- **Zero dependencies** — pure bash + awk, works on any stock macOS or Linux install
- **Cross-platform** — auto-detects OS and runs only what applies (no errors on missing tools)
- **Selective** — skip any category with `--skip-kernels`, `--skip-docker`, `--skip-brew`, `--skip-snap`
- **Reports savings** — shows before/after disk usage and exact bytes freed

## Quick Start

```bash
# Preview what would be cleaned (safe, changes nothing)
bash scripts/cleanup.sh --dry-run

# Clean everything
bash scripts/cleanup.sh --yes

# Clean but keep Docker and old kernels
bash scripts/cleanup.sh --yes --skip-docker --skip-kernels
```

## What Gets Cleaned

### Both Platforms
| Target | Typical Size | Notes |
|--------|-------------|-------|
| Trash | 1–50 GB | macOS `~/.Trash`, Linux `~/.local/share/Trash` |
| Stale `/tmp` | 1–10 GB | pip/npm/rust build dirs older than 60 min |
| pip cache | 50–500 MB | `pip cache purge` |
| Go build cache | 100 MB–2 GB | `go clean -cache` |
| pnpm / yarn / node caches | 50–500 MB | Safe to regenerate |
| JetBrains IDE cache | 1–10 GB | IntelliJ, PyCharm, WebStorm, etc. |
| Whisper model cache | 1–5 GB | Redownloads on demand |
| Chrome / Firefox cache | 200 MB–2 GB | Browsing cache only |
| Playwright browsers | 200 MB–1 GB | Redownloads on demand |
| Docker dangling images | 0–10 GB | Only unreferenced images + build cache |

### Linux Only
| Target | Typical Size | Notes |
|--------|-------------|-------|
| Apt cache | 200 MB–2 GB | `apt clean...

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.