Scan a development workspace and remove regenerable dev caches (node_modules, .next, .venv, .turbo, etc.) from projects that have not been edited recently. Never deletes source code or .git. Use when the user asks to free disk space, clean stale node_modules, prune build artifacts, or tidy a monorepo/workspace.
Ships in akash-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Safely reclaim disk space by deleting only regenerable dependency and build folders from inactive projects the user selects, with one confirmation before anything is removed.
Only these directory names at project roots (folders with package.json, pyproject.toml, etc.):
| Folder | Typical restore |
|---|---|
node_modules | pnpm install / npm install |
.next | pnpm dev / next build |
.turbo | next Turbo run |
dist / build | package build script |
.venv / venv | uv sync / pip install -r requirements.txt |
.pytest_cache / .mypy_cache | recreated on test/typecheck |
.git, or entire project foldersworkspace-disk-cleanup/scripts/clean_dev_artifacts.py (stdlib + du on macOS/Linux)
| Flag | Default | Meaning |
|---|---|---|
--workspace | ~/workspace | Any directory to scan |
--threshold-days N | 14 | Stale = no source file changes in the last N days |
--exclude | (none) | Skip paths containing substring; repeat flag |
--list-only | off | Numbered list only; no selection or delete |
--select | (none) | 1,3,5 or all — which rows from the list |
--yes | off | Skip final prompt (only after user confirmed in chat) |
“Last active” = latest mtime of non-artifact files under that project root.
python3 scripts/clean_dev_artifacts.py --workspace ~/workspace --threshold-days 14
Select projects (1,3 / all / none)Type 'yes' to confirm--workspace (any path), --threshold-days (user may say e.g. “30 days”), and --exclude (active repo).--list-only and show the numbered list to the user.--select <their choice> — do not pass --yes until the user explicitly confirms deletion in chat.--yes to perform deletion (non-interactive).pnpm install, uv sync, etc.).Example:
# Step 1 — discover (threshold is configurable)
python3 scripts/clean_dev_artifacts.py \
--workspace ~/workspace \
--threshold-days 30 \
--exclude voice/evercall \
--list-only
# Step 2 — after user says "clean 1 and 3" and then "yes, go ahead"
python3 scripts/clean_dev_artifacts.py \
--workspace ~/workspace \
--threshold-days 30 \
--exclude voice/evercall \
--select 1,3 \
--yes
npx skills add akashp1712/skills --skill workspace-disk-cleanup
--yes or interactive yes).--threshold-days or removes --exclude without the user asking.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/akash-skills:workspace-disk-cleanupfrom akash-skills
akash-skills@akashp1712 is listed by akashp1712/claude-marketplace — review the source before installing
npx claudepluginhub akashp1712/claude-marketplace --plugin akash-skills6 skills in this plugin
/carousel-pressTurn writing into swipe-carousel slides for LinkedIn, Instagram, and TikTok in a warm editorial letterpress style — oversized serif headlines, mono eyebrows, hairline rules, one accent color, and a dot-grid dark treatment. Writes a .deck.md file and renders the size each platform actually wants (LinkedIn square PDF, Instagram 4:5 PNGs, TikTok 9:16 PNGs) using headless Chrome with no dependencies to install. Auto-applies when turning a post, article, README, or skill into slides. Triggered by /carousel-press./next-error-tsxWrite Next.js App Router error.tsx (and global-error.tsx) so a thrown page does not dump the production digest screen. Auto-applies when creating or editing a data-fetching page.tsx that has no sibling error boundary. Triggered by /next-error-tsx./next-loading-skeleton⚡ Instant Loading UI for Next.js - Auto-generate beautiful loading.tsx with shadcn/ui Skeleton placeholders. Perfect for dashboards, data tables, and profile pages. Zero wait time, maximum user satisfaction./prompt-guard🛡️ Unbreakable AI Security Guard - Highest-priority protection against prompt injection, jailbreaks, and malicious skill behavior. Auto-activates on threats and cannot be overridden./zero-to-heroGenerate a zero-to-hero markdown learning guide for any topic, with progressive chapters, ASCII art header, ASCII diagrams, sequence diagrams, analogies, and code examples. Use when the user asks to create a guide, tutorial, or learning doc on a topic. Supports pace (slow/normal/fast), depth (basic/advanced), and --analogy (with or without a value) to control the master analogy thread.