Loading...
Loading...
Analyze disk space, find large files, stale data, and dev caches, and help the user safely free up disk space or move files to other drives (e.g. C to D). Use when the user asks what is taking up space, says their drive or disk is full, asks what to delete, asks what can be moved to another drive, wants to find large files, delete temporary files, or clean up disk storage.
npx skill4agent add jojoaarti/storage-sleuth storage-sleuth"AppData/Local/Temp""🟢 Temporary leftover files from closed apps (100% safe to clear)""userdata-qemu.img.qcow2""🔵 Android Virtual Device Phone Simulator (9 GB — Needed only if testing mobile apps; safe to move to D:\)""stremio-cache""🟢 Streamed video cache (Will auto-download again if you re-watch)"D:\CLEANMOVE DZIP <folder>1, 2C:\WindowsC:\Program Files/usr/bin.ssh.awsGet-Volume | Where-Object {$_.DriveLetter} | Select-Object DriveLetter, FileSystemType, @{Name="FreeGB";Expression={[Math]::Round($_.SizeRemaining/1GB,1)}}, @{Name="TotalGB";Expression={[Math]::Round($_.Size/1GB,1)}}, @{Name="UsedGB";Expression={[Math]::Round(($_.Size - $_.SizeRemaining)/1GB,1)}}, @{Name="PercentUsed";Expression={[Math]::Round((($_.Size - $_.SizeRemaining)/$_.Size)*100,1)}} | Format-Table -AutoSizedf -h# Scan User Profile top folders
$target = "C:\Users\$env:USERNAME"
Get-ChildItem -Path $target -Directory -ErrorAction SilentlyContinue | ForEach-Object {
$size = (Get-ChildItem -Path $_.FullName -File -Recurse -ErrorAction SilentlyContinue | Measure-Object -Property Length -Sum).Sum
[PSCustomObject]@{
Path = $_.FullName
SizeGB = [Math]::Round($size / 1GB, 2)
}
} | Where-Object { $_.SizeGB -gt 0.5 } | Sort-Object SizeGB -Descending | Format-Table -AutoSize
# Find files over 100 MB
Get-ChildItem -Path $target -File -Recurse -ErrorAction SilentlyContinue | Where-Object { $_.Length -gt 100MB } | Sort-Object Length -Descending | Select-Object @{Name="SizeGB";Expression={[Math]::Round($_.Length/1GB,2)}}, FullName | Select-Object -First 15 | Format-Table -AutoSize🔎 CASE FILE: DISK SPACE INVESTIGATION
💾 C: Drive Status: [████████░░] 86.1% Full (39.0 GB Free of 280.8 GB)
📊 STORAGE OUTLOOK PROJECTION:
Current: 39.0 GB Free
Potential: 97.6 GB Free (🚀 +58.6 GB Recovered!)
Here are the suspects found on your system:
🟢 100% Safe Cleanup Candidates (Zero Risk):
[1] Temporary Files & App Crash Dumps — 1.2 GB
(Leftover temporary files from closed apps and crash logs; 100% safe to clear)
[2] Software Setup Installers — 1.3 GB
(Old setup EXEs in Downloads like CursorSetup.exe already installed)
🟡 Large Clutter Candidates (Review & Delete):
[3] Movie Downloads — 10.0 GB
• Sinners.2025.mkv (6.0 GB)
• One.Battle.After.Another.mkv (4.0 GB)
🔵 Movable Assets (Transfer to D: Drive):
[4] Android Virtual Phone Simulator — 11.4 GB
• Location: C:\Users\<user>\.android\avd ➔ D:\Android_AVD_Backup\
[5] Logic Analyzer Capture Traces (log3) — 9.6 GB
• Location: C:\Users\<user>\Downloads\log3 ➔ D:\Archive\log3\
---
🎯 QUICK-ACTION DASHBOARD:
• Reply 'CLEAN' to instantly clear all 🟢 100% safe junk (Frees 2.5 GB).
• Reply 'MOVE D' to transfer all 🔵 heavy assets to D:\ drive (Frees 21.0 GB on C:).
• Reply '1', '2', '3' to process specific numbered items.
• Reply 'ZIP <folder>' to compress a folder and save 60%+ space.🔀 DRIVE TRANSFER ASSISTANT (C: ➔ D:)
Your C: drive has 39.0 GB free, while your D: drive has 350.0 GB free!
Here are heavy personal assets that are safe to move to D: without breaking Windows:
[1] Large Video & Media Files — 10.0 GB
• Target: C:\Users\<user>\Downloads\Movies ➔ D:\Movies\
[2] Hardware Trace Capture Logs — 9.6 GB
• Target: C:\Users\<user>\Downloads\log3 ➔ D:\Archive\log3\
[3] Android Virtual Phone Simulator — 11.4 GB
• Target: C:\Users\<user>\.android\avd ➔ D:\Android_AVD_Backup\
Moving these 3 items will free up 31.0 GB on your C: drive!
Reply 'MOVE D' to transfer all, or type the numbers you'd like to move (e.g. "1, 2").Add-Type -AssemblyName Microsoft.VisualBasic
# Delete a file to Recycle Bin:
[Microsoft.VisualBasic.FileIO.FileSystem]::DeleteFile("C:\Users\<user>\Downloads\movie.mkv", 'OnlyErrorDialogs', 'SendToRecycleBin')
# Delete a directory to Recycle Bin:
[Microsoft.VisualBasic.FileIO.FileSystem]::DeleteDirectory("C:\Users\<user>\Downloads\TempFolder", 'OnlyErrorDialogs', 'SendToRecycleBin')# Create destination directory if it doesn't exist
New-Item -ItemType Directory -Force -Path "D:\Archive\log3"
# Move item
Move-Item -Path "C:\Users\<user>\Downloads\log3" -Destination "D:\Archive\" -ForceCompress-Archive -Path "C:\Users\<user>\Documents\OldProject" -DestinationPath "C:\Users\<user>\Documents\OldProject.zip" -Force