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/relocation-policy.md
View on GitHub# Safe Relocation Policy
## Automatically eligible
The bundled planner may consider only regular files inside the current user's Downloads folder that:
- are on C:;
- meet the configured size and age thresholds;
- have an allowlisted archive, disk-image, installer, or media extension;
- are not reparse points, offline placeholders, shortcuts, encrypted profile data, or in use;
- are copied to a non-C fixed local volume with enough reserve space.
The default thresholds are 250 MiB and 30 days. Age and size identify candidates, not permission. The user must approve the exact manifest.
## Copy-verify-delete requirement
For each approved file:
1. Revalidate the source and destination against the manifest.
2. Refuse destination overwrite.
3. Verify the source size and SHA-256 hash have not changed.
4. Copy to the destination.
5. Verify destination size and SHA-256.
6. Delete the source only after verification.
7. If any step fails, preserve the source and report the outcome.
## Never use generic relocation
Do not generically move Windows, Program Files, ProgramData, AppData, package caches, browser/mail profiles, OneDrive or other sync roots, Desktop, Documents, repositories, WSL, Docker, virtual machines, game libraries, shortcuts, system files, or application configuration.
Use the application's supported feature instead:
- Installed app: Settings > Apps > Installed apps > Move, only when offered.
- Game: the launcher's library move feature.
- OneDrive: verify sync, then use Files On-Demand “Free up space.”
- Documents/Pictures/Videos: Windows folder Properties > Location, with separate approval and a backup.
Do not create junctions or symbolic links to disguise manual moves. They can break updates, uninstallers, backup tools, permissions, and recovery.
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 |