Show HN: Clean, an agent skill that clears dev junk (freed 5.3 GB on first run)

Andassyn1 pts0 comments

skills/clean at main · andalabx/skills · GitHub

//files/disambiguate" data-turbo-transient="true" />

Skip to content

Search/

Sign in<br>Sign upAppearance settings

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

Uh oh!

There was an error while loading. Please reload this page.

andalabx

skills

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

FilesExpand file tree

main

/clean<br>Copy path

Directory actions

More options<br>More options

Directory actions

More options<br>More options

Latest commit

History<br>History<br>History

main

/clean<br>Copy path

Top

Folders and files<br>NameNameLast commit message<br>Last commit date<br>parent directory<br>..<br>README.md

README.md

SKILL.md

SKILL.md

View all files

README.md<br>Outline<br>/clean — Dev Environment Cleanup

Freed 5.3 GB on the first run.

A universal agent skill that clears dev junk across your entire environment. Works in Claude Code, Cursor, OpenAI Codex, OpenClaw, Hermes, Mercury, GitHub Copilot, and more — no per-agent setup.

Two modes

Mode<br>What it does

quick<br>Cleans silently, reports what was freed — no questions asked

super<br>Scans everything, ranks space hogs by size, you approve before anything is deleted

What it cleans

node_modules · .next builds · browser caches (Chrome, Edge, Firefox) · npm / pnpm / yarn · Python __pycache__ · pip · VS Code cache · OS temp · Claude temp

Works on: Windows · macOS · Linux

Usage

/clean → asks: quick or super?<br>/clean quick → runs immediately, no questions<br>/clean super → full scan, you decide what goes

Demo — quick mode

/clean results<br>──────────────────────────────────────────<br>Claude temp: 120 MB<br>OS temp: 95 MB<br>Browser caches: 240 MB (Chrome 233 | Edge 0 | Firefox 7)<br>node_modules: 1.2 GB (8 folders)<br>npm/pnpm/yarn: 340 MB (npm 180 | pnpm 110 | yarn 50)<br>.next builds: 5.2 GB (20 folders)<br>Python cache: 79 MB (75 folders)<br>VS Code cache: 21 MB<br>──────────────────────────────────────────<br>Total freed: 7.3 GB<br>Disk free now: 48 GB

Install

npx skills add andalabx/skills --skill clean

Or copy manually into your agent's skills directory:

Agent<br>Path

Claude Code<br>~/.claude/skills/

Cursor<br>~/.cursor/skills/

OpenAI Codex<br>~/.codex/skills/

OpenClaw<br>~/.openclaw/skills/

Hermes<br>~/.hermes/skills/

Mercury<br>~/.mercury/skills/dev/clean/

GitHub Copilot<br>.github/skills/ (project root)

After installing, start a new session and run /clean.

You can’t perform that action at this time.

skills clean agent skill claude freed

Related Articles