Skip to content
storage-reclaim logo

Storage Reclaim

storage-reclaim

Rapidly find and reclaim disk storage by identifying build artifacts, git garbage, temp files, and other space hogs. Use when disk is full or running low on space.

plurigrid/asi0installs67stars

SKILL.md

Full skill instructions

Storage Reclaim

Rapid parallel investigation and cleanup of disk storage.

Quick Start

# Top-level overview
du -sh /​path/​*/ 2>/​dev/​null | sort -hr | head -20

# Drill into specific directory
du -sh /​path/​subdir/​*/ 2>/​dev/​null | sort -hr | head -15

Common Space Hogs

1. Rust Build Artifacts (target/)

  • Location: Any Rust project root
  • Size: 1-10+ GB per project
  • Safe to delete: Yes (rebuilds on next cargo build)
# Find all Rust target directories
find ~ -type d -name "target" -exec du -sh {} \; 2>/​dev/​null | sort -hr | head -20

# Clean specific project
rm -rf /​path/​to/​project/​target

# Or use cargo
cd /​path/​to/​project && cargo clean

2. Git Garbage (tmp_pack files)

  • Location: .git/​objects/​pack/​tmp_pack_*
  • Cause: Interrupted git operations
  • Size: Can be gigabytes
# Check for git garbage
git count-objects -vH
# Look for "size-garbage" line

# Remove stale pack files
rm -f .git/​objects/​pack/​tmp_pack_*

# Verify cleanup
git count-objects -vH

3. Node Modules

  • Location: node_modules/ in JS projects
  • Size: 100MB - 2GB per project
# Find all node_modules
find ~ -type d -name "node_modules" -prune -exec du -sh {} \; 2>/​dev/​null | sort -hr

# Remove (can reinstall with npm install)
rm -rf /​path/​to/​project/​node_modules

4. Python Virtual Environments

  • Location: .venv/, venv/, env/
  • Size: 100MB - 1GB per environment
find ~ -type d \( -name ".venv" -o -name "venv" -o -name "env" \) -exec du -sh {} \; 2>/​dev/​null | sort -hr

5. Hidden Temp Directories

  • Location: .tmp/, .cache/, __pycache__/
  • Often overlooked by du on directories
# Check hidden dirs specifically
du -sh /​path/​.* 2>/​dev/​null | sort -hr | head -10

6. Julia Artifacts

  • Location: ~/​.julia/​artifacts/, ~/​.julia/​compiled/
  • Size: Can grow to many GB
du -sh ~/​.julia/​*/ 2>/​dev/​null | sort -hr

7. Docker

docker system df
docker system prune -a  # Remove all unused images/​containers

8. Homebrew

brew cleanup --dry-run  # Preview
brew cleanup            # Actually clean

Investigation Pattern

  1. Start broad: du -sh /​path/​*/ | sort -hr | head -20
  2. Drill into largest: Repeat for subdirectories
  3. Check hidden: du -sh /​path/​.* | sort -hr
  4. Git check: git count-objects -vH in any repo
  5. Clean safely: Remove build artifacts first (always regeneratable)

Safety Rules

  • Always safe to delete: target/, node_modules/, .tmp/, __pycache__/, build/
  • Check first: .git/ (might have garbage, might be real history)
  • Never delete blindly: Actual source code, .git/​objects/​pack/​*.pack (real packs)
  • Regeneratable: Anything that cargo build, npm install, pip install creates

Parallel Investigation

Run multiple du commands simultaneously for faster discovery:

# In parallel (use separate terminal or background)
du -sh ~/​project1/​*/ | sort -hr &
du -sh ~/​project2/​*/ | sort -hr &
wait

Scientific Skill Interleaving

This skill connects to the K-Dense-AI/​claude-scientific-skills ecosystem:

Graph Theory

  • networkx [○] via bicomodule
    • Universal graph hub

Bibliography References

  • general: 734 citations in bib.duckdb

Cat# Integration

This skill maps to Cat# = Comod(P) as a bicomodule in the equipment structure:

Trit: 0 (ERGODIC)
Home: Prof
Poly Op: ⊗
Kan Role: Adj
Color: #26D826

GF(3) Naturality

The skill participates in triads satisfying:

(-1) + (0) + (+1) ≡ 0 (mod 3)

This ensures compositional coherence in the Cat# equipment structure.

More skills from plurigrid

cargo logo
plurigrid/asi

cargo

Rust package manager (36 subcommands).

67 0
View

Translate Figma nodes into production-ready code with 1:1 visual fidelity using the Figma MCP workflow (design context, screenshots, assets, and project-convention translation). Trigger when the user provides Figma URLs or node IDs, or asks to implement designs or components that must match Figma...

67 0
View

**Status**: 🌳 Production Ready (upstream in StringZilla v3+) **Type**: High-Performance String Operations / SIMD-Accelerated Text Processing **Principle**: Zero-copy views, SIMD/SWAR acceleration, deterministic hashing **Frame**: Cross-language interoperability (C, C++, Python, Rust, Go, Swift, ...

67 0
View
conformal-ga logo
plurigrid/asi

conformal-ga

Conformal Geometric Algebra (CGA) for circles, spheres, and Möbius transformations

67 0
View

Verifies code implements exactly what documentation specifies for blockchain audits. Use when comparing code against whitepapers, finding gaps between specs and implementation, or performing compliance checks for protocol implementations.

67 0
View
zig-systems logo
plurigrid/asi

zig-systems

Systems programming and performance optimization using Zig. Provides low-level abstractions, memory-safe compiled code, and performance benchmarking. Use for system-level operations, optimization, and interoperability with C/POSIX APIs.

67 0
View
paypal-mcp logo
plurigrid/asi

paypal-mcp

PayPal MCP server integration for invoices, payments, subscriptions, disputes, and transaction reporting via @paypal/mcp.

67 0
View
unison logo
plurigrid/asi

unison

Unison language - content-addressed functional programming with abilities for effects, distributed computing, and structural types. Use for pure functional code, effect management, distributed systems, and refactoring-safe codebases.

67 0
View
tasks-acset logo
plurigrid/asi

tasks-acset

Google Tasks management via TasksACSet. Transforms task operations into GF(3)-typed Interactions, routes to triadic queues, detects saturation for task-zero-as-condensed-state.

67 0
View
c logo
plurigrid/asi

c

World C Skill

67 0
View
syrup logo
plurigrid/asi

syrup

Syrup binary serialization for OCapN/CapTP wire format. Canonical encoding for capability messages.

67 0
View
skill-installer logo
plurigrid/asi

skill-installer

Install Codex skills into $CODEX_HOME/skills from a curated list or a GitHub repo path. Use when a user asks to list installable skills, install a curated skill, or install a skill from another repo (including private repos).

67 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View