- Home
- Skills
- DevOps & Cloud
- CleanMyDev: Project-Aware Dev Cleanup
More screenshots
Works with the AI Agents you already use
CleanMyDev: Project-Aware Dev Cleanup
Free up GBs on your dev machine without breaking active work. Finds every project, only reclaims node_modules, venvs, target, Pods, DerivedData and caches from dormant ones, and quarantines instead of deleting.
$19
CleanMyDev: Project-Aware Dev Cleanup
Example session with this skill installed
My disk is almost full. Can you find dev junk in ~/code and my caches and tell me what is safe to clean? Don't break anything I'm working on.
- Read your context and instructions
- Compiled the cleanmydev
Summary
I scanned ~/code and your dev caches.
18.6 GB is reclaimable, and
12.9 GB of it is in the safe default selection. 4 projects are protected and nothing has been touched yet. This was a dry run.
Protected projects (skipped)
| Project | Status | Why |
|---|---|---|
| ~/code/checkout-api | Active | commit 2 days ago |
| ~/code/mobile-app | Active | docker compose project is running |
| ~/code/client-portal | Pinned | pinned until 2026-12-31 |
| ~/code/rust-indexer | Idle | untouched for 21 days |
Safe to reclaim
| ID | Size | What |
|---|---|---|
| c1 | 4.1 GB | Xcode DerivedData |
| p3.1 | 2.6 GB | node_modules in old-dashboard (untouched for 94 days) |
| c4 | 2.2 GB | npm cache |
| p5.1 | 1.4 GB | target in wasm-experiments (untouched for 61 days) |
| c9 | 1.1 GB | Playwright browsers |
| p3.2 | 0.6 GB | .next in old-dashboard (untouched for 94 days) |
| c12 | 0.5 GB | pip cache |
| p7.1 | 0.4 GB | Pods in ios-prototype (untouched for 140 days) |
Needs your call (not selected)
| ID | Size | What |
|---|---|---|
| c21 | 4.8 GB | Hugging Face cache: model weights, slow to re-download |
| p6.1 | 0.9 GB | .venv in ml-notebooks (untouched for 45 days) |
Next steps
- Say
"clean safe" and I'll run clean safe --apply. That moves the 12.9 GB above into quarantine run 20261115-201900-1a2b3c.
2. If anything breaks, restore <run-id> --apply puts it all back exactly where it was.
3. Quarantine still uses disk until it's purged. Once you've confirmed everything still builds (about 7 days), I can run purge --days 7 --apply to actually free the space.
4. Want me to look at Docker next? docker shows 9.3 GB of reclaimable images and build cache, and it protects the images of the running mobile-app stack.
Connects securely to your tools. The creator never sees your data.
About this skill
Generic cleaners don't understand developer junk, and they're dangerous around it. The one node_modules you must not touch is the one you're shipping on Sunday.
CleanMyDev starts from your projects. Your agent finds every codebase on your machine, works out which ones you're actually working on, and only slims down the ones you've left alone. Everything is a dry run first, and every removal goes to a quarantine you can restore with one command.
What it does
- Finds every project by its marker files:
package.json,pyproject.toml,Cargo.toml,pom.xml, Gradle,Package.swift,Podfile,*.xcodeproj,pubspec.yaml,mix.exs,composer.json,go.mod, compose files,.gitand more. Monorepo sub-packages inherit their root's protection. - Classifies each one with a reason: Active (commit or file change in the last 14 days, a running
docker composestack, or a shell open in it), Idle, Dormant (30+ days), or Pinned (by git remote, so pins survive renames). - Only reclaims what's rebuildable:
node_modules,.next,.venv,target,.build,Pods,.dart_tool,_build,.gradle,DerivedData… and only when the marker that justifies the folder sits right next to it. A randombuild/folder is never offered. - Dev caches: npm, pnpm, Yarn, Bun, pip, uv, Poetry, Cargo, Go, Gradle, CocoaPods, Homebrew, Playwright, Cypress, Xcode DerivedData and simulator caches, and editor caches.
- Docker and Xcode guidance: shows what's reclaimable and which compose projects must be protected, then walks the agent through Docker's own prune commands step by step. It never runs
system prune -a --volumes.
Safety model
- Dry run first, quarantine by default. Nothing is deleted on
clean. Items move to~/.cleanmydev-skill/quarantine/<run>/with a manifest, andrestore <run> --applyputs everything back. - Re-checks at clean time: a project you touched since the scan is refused.
- Hard refusals: symlinks, anything outside your home folder,
.ssh,.gnupg, Keychains, cloud credentials, Docker/Colima VM disks. - Review-only items (ML model weights, Maven/Go module caches, Xcode Archives, virtualenvs) are never pre-selected.
- Logged: every scan, dry run, quarantine, restore and purge goes to
operations.log. - Zero dependencies, zero network, zero telemetry: one Python standard-library script you can read in 10 minutes.
What's inside
SKILL.md: the workflow and the rules your agent followsscripts/cmd.py: the engine (scan,show,clean,runs,restore,purge,pin,unpin,cleanable,docker)
Built by the author of CleanMyDev, the open-source native macOS cleaner for developers. Same safety model, no app required.
Screenshots show the companion CleanMyDev macOS app, which uses the same engine ideas and safety model. The skill itself runs in your agent through the bundled script, and the app is not required.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for DevOps & Cloud.
Requires Python 3.9+. On macOS, scanning ~/Documents and ~/Desktop needs Full Disk Access for your terminal. Only projects untouched for 30+ days give up their artifacts (tunable). Quarantined items still use disk until you purge the run. Docker and simulator cleanup are guided steps with Docker/Xcode's own commands, not scripted. Windows is not supported.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
Python 3.9+
- Optional
- Docker CLI (for the Docker step)Xcode (for simulator cleanup)
On macOS, give your terminal Full Disk Access if you want ~/Documents and ~/Desktop scanned. No network access, nothing is deleted without a dry run and your confirmation.
Permissions
File Scopes
Shell runs the bundled python script. It reads your home folder to find projects and caches, and writes only by moving selected folders into ~/.cleanmydev-skill/quarantine after a dry run and your confirmation. Env vars only tune thresholds (CMD_ACTIVE_DAYS, CMD_DORMANT_DAYS). No network calls.