Fix disk-full errors in VM sandboxes
msapps-vm-disk-cleanuppluginsetup L2★3,035
davepoon/buildwithclaude ↗What it does
Free up disk space in Cowork VMs and sandboxes
Best for
Resolving 'disk full' errors during long sandbox sessions without restarting the VM.
Inputs
- · optional: cleanup targets (caches, temp files, old logs)
Outputs
- · freed disk space in GB
- · breakdown of cleaned categories (docker, temp, caches)
Requires
- · sandbox filesystem access
- · Cowork VM manager
Preconditions
running inside Cowork VM or Claude Code sandbox; write access to /tmp and cache directories
Failure modes
cleanup fails if process actively using cache; errors if cleanup process killed mid-run; space reclaimed less than expected if large artifacts created during cleanup
Trust signals
- · Cowork-aware cleanup targets
- · safe-to-delete filtering
- · automatic garbage collection