1181652815-hub/clean-windows-c-drive-skill / skills/clean-windows-c-drive
clean-windows-c-drive
VerifiedProvide a standalone Simplified Chinese Windows app and CLI workflows to assess C: drive health, clean a fixed allowlist of regenerable junk, find large user files, detect exact duplicates with SHA-256, and relocate or recycle explicitly approved ordinary user files without breaking Windows or installed applications. Use for the C: cleanup app, safe or deep cleanup, large-file or duplicate cleanup, health checks, space diagnosis, or moving ordinary files off C:. Always run the health gate and preview, protect system/personal/configuration data, keep one duplicate per group, and require explicit approval before changes.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 13.2 KB |
| agents/openai.yaml | config | 357 B |
| references/deep-clean-policy.md | markdown | 2.0 KB |
| references/health-policy.md | markdown | 2.1 KB |
| references/relocation-policy.md | markdown | 1.8 KB |
| references/safety-catalog.md | markdown | 2.8 KB |
| references/user-file-cleanup-policy.md | markdown | 1.2 KB |
| scripts/Find-CDriveDuplicateFiles.ps1 | script | 2.4 KB |
| scripts/Find-CDriveLargeFiles.ps1 | script | 1.1 KB |
| scripts/Get-CDriveCleanupReport.ps1 | script | 4.0 KB |
| scripts/Invoke-DeepCDriveCleanup.ps1 | script | 8.8 KB |
| scripts/Invoke-SafeCDriveCleanup.ps1 | script | 4.9 KB |
| scripts/Invoke-SafeFileRelocation.ps1 | script | 5.7 KB |
| scripts/Invoke-SafeUserFileCleanup.ps1 | script | 3.2 KB |
| scripts/New-SafeRelocationPlan.ps1 | script | 4.3 KB |
| scripts/Start-CDriveManager.ps1 | script | 23.4 KB |
| scripts/Test-CDriveHealth.ps1 | script | 7.5 KB |
| scripts/UserFileSafety.ps1 | script | 3.7 KB |
references/safety-catalog.md
View on GitHub# Windows C: Cleanup Safety Catalog
## Low risk through Windows controls
| Category | Preferred mechanism | Note |
|---|---|---|
| Temporary files | Settings > System > Storage > Temporary files | Review every selected category. |
| Thumbnails | Temporary files | Windows regenerates them; previews may load slowly once. |
| DirectX shader cache | Temporary files | Apps regenerate it; first launch may briefly stutter. |
| Delivery Optimization files | Temporary files | Windows can download required content again. |
| Windows error reports | Temporary files | Keep when troubleshooting a current failure. |
## Conditional
| Category | Consequence or required check |
|---|---|
| Recycle Bin | Emptying removes the normal restore path; inspect it first. |
| Downloads in Temporary files | Personal data, not cache. Keep unchecked unless exact items are approved. |
| Windows.old | Removal can prevent rollback. Use Windows Temporary files, never manual deletion. |
| Windows Update cleanup | Use Windows controls; restart may be required. |
| WinSxS | Analyze with DISM; use only StartComponentCleanup and never manual deletion or ResetBase. |
| Driver packages | Removal reduces rollback options. Use supported Windows controls. |
| Hibernation file | Disabling hibernation may also disable Fast Startup. Require separate approval. |
| Restore points | Removal reduces recovery options. Confirm backups and recovery needs. |
| App/browser caches | Close the app and prefer its cleanup UI; caches may include offline data. |
| Installed apps | Uninstall through Settings after checking saved data, licenses, and reinstallability. |
| OneDrive local copies | Verify healthy sync, then use “Free up space”; do not delete synced files. |
| Memory dumps | Keep while diagnosing crashes; review before removal. |
## User review only
Treat Downloads, Desktop, Documents, media, archives, ISOs, installers, repositories, build artifacts, WSL, Docker, VMs, game libraries, mail, browser profiles, and cloud-sync roots as user data. Never infer deletion permission from age, size, type, duplication, or apparent inactivity.
## Protected
Do not manually remove content from Windows, WinSxS, Installer, System32, SysWOW64, DriverStore, Program Files, Program Files (x86), ProgramData, System Volume Information, Recovery, Boot, EFI/recovery partitions, registry hives, pagefile.sys, or swapfile.sys.
Do not use ownership or ACL changes, service disabling, registry cleaning, Windows-folder compression, or third-party cleanup tools as shortcuts.
## Stop and diagnose first
Stop cleanup when storage health or filesystem errors appear; free space repeatedly collapses due to logs, dumps, updates, malware, or a runaway app; Windows Update, antivirus, servicing, or backup is active; the device is organization-managed; or only protected/irreplaceable data remains.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |