Light C: C-Drive Space Cleanup Expert
Paste the following prompt into your AI chat to install this skill:
Please install @user_8c3c5215/c-drive-tools according to https://skillhub.cn/install/skillhub.md.
About this skill
The Problem It Solves
Windows C drive issues are often not a lack of capacity, but space consumed by temp directories, browser caches, Windows Update leftovers, and large files. Manually locating these files is slow and risks deleting important files. This skill breaks C drive cleanup into three executable actions: analyze usage, clean safely, and repair suspected system file corruption.
How It Works and Where It Applies
- Space analysis: run
analyze_space.ps1to report total C drive capacity, used/free space, top-level directory usage, files over100MB, and common high-usage locations. - Temporary cleanup: run
clean_temp_files.ps1, which by default cleans user temp, system temp, Prefetch, Recycle Bin, browser caches, and DNS caches only when older than 7 days; use-DryRunto preview; Windows Update cache must be explicitly enabled. - System repair: run
repair_system_files.ps1, which executes DISM component store cleanup, health checks, image scan/restore, thenSFC /scannow.
Boundaries: it is for local Windows 10/11 maintenance, not antivirus, backup, or professional disk recovery. Repair requires administrator rights and a stable network connection; do not manually delete pagefile.sys; hiberfil.sys can be removed with powercfg -h off, but hibernation will be disabled. Prefer analysis first, then preview, then execute.
Use Cases
- After a C drive alert, identify large files and top-level directories before choosing what to clean.
- When browser caches, system temp folders, and Recycle Bin grow, preview and remove stale caches safely.
- When system errors or slow startup suggest Windows image corruption, run DISM and SFC repairs.
- During monthly Windows endpoint maintenance, check freed space and recommend further migration actions.
Best For
- IT operations engineers handling Windows endpoint alerts
- Systems engineers cleaning local Windows development environments
- Help desk support resolving slow machines and low disk space tickets
- System administrators maintaining Windows endpoint baselines
Related Skills
Scan a Windows directory to find the top 10 largest files and output a colored table plus JSON results.
An engineer-focused HTTP request smuggling handbook covering CL.TE, TE.CL, TE.TE obfuscation, HTTP/2 downgrade, and client-side desync detection.
Analyzes network captures from Wireshark, tcpdump, Fiddler, and Charles, then pinpoints TCP, HTTP, DNS, and TLS issues with filter expressions and remediation steps.
Lightweight Python Linux HIDS exposing SSH brute-force, web attack, and webshell alerts via MCP with ban controls.