Skip to main content

wsl-optimize

Stars0
Forks0
UpdatedJuly 31, 2026 at 08:02

Diagnose and fix memory and disk exhaustion on a WSL2 dev machine that runs many AI coding agents. Use when WSL feels slow, runs out of memory or disk, when VS Code disconnects from WSL or the distro shuts down with no error, when the user says "WSL crashed", "WSL keeps dying", "free up space", "what's using my memory", "reclaim disk", "compact the vhdx", or for routine maintenance. Drives the wslreport, wsl-reclaim, wsl-compact, capmem, and wsl-optimize-doctor command-line tools with a safety-first workflow.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
2 files
SKILL.md
readonly