← ClaudeAtlas

storagelisted

Disk audit and dedup-hint skill. Reports repo sizes, oversized files, worktree bloat, and surfaces candidates for archival/cleanup. Cross-cutting machine-layer skill, sibling to /pp and /heart.
frankxai/Starlight-Intelligence-System · ★ 5 · AI & Automation · score 83
Install: claude install-skill frankxai/Starlight-Intelligence-System
# /storage — Disk Audit & Dedup Hints Cross-cutting machine-layer skill. Where `/pp` watches RAM/CPU and `/heart` watches daemons, `/storage` watches where the disk is going. ## When to invoke - Disk space warning (under 50 GB free) - After a heavy build or worktree-heavy week - When `pp` flags storage as a constraint - Before a `git clone` of a large repo - Periodically (weekly or per `weekly-recap`) ## What to check | Signal | Why it matters | |---|---| | Top 10 repos by size | Identifies the heaviest costs | | Repos > 5 GB | Often hide nested worktrees / vendored deps / build artifacts | | Files > 100 MB tracked in git | Should be LFS or .gitignored | | Worktrees (`git worktree list`) | Each worktree is a full working copy | | node_modules / .venv on disk | Cumulative drain across repos | | Memory Bus mempalace size | Vector DB can grow large unchecked | | Audit log accumulation | `memory/_audit/*.jsonl` files past 30 days | ## Quick implementation ```powershell # Resolve the latest portfolio audit JSON (daily cron writes a new one) $auditDir = 'C:\Users\frank\Starlight-Intelligence-System\memory\_audit' $auditPath = Get-ChildItem -Path $auditDir -Filter 'repo-portfolio-*.json' -File -ErrorAction SilentlyContinue | Sort-Object Name -Descending | Select-Object -First 1 | ForEach-Object FullName if (-not $auditPath) { Write-Host 'No repo-portfolio audit found — run tools/audit-repo-portfolio.ps1 first' -ForegroundColor Yellow return } $audit = Get-Content