AI Agent Hub
Back to skills
C Drive Cleanup Transfer Master icon

C Drive Cleanup Transfer Master

IT Ops & Security Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_07db7e52/xiaoliu666 according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

After prolonged Windows use, the C: drive can fill up with AppData, IDE caches, package-manager caches, and hidden user directories. Deleting them directly risks breaking app configs and user data.

How It Works

The skill follows a “scan first, propose, user confirmation, migrate one by one” workflow:
- scan.ps1 identifies large directories on C: and proposes migration candidates.
- It prioritizes moving AppData\Roaming, AppData\Local, and %USERPROFILE%\.xxx paths to D: instead of deleting them.
- Migration uses robocopy, renames the source to .bak, confirms the app still works, then removes the source, and creates a junction with mklink /J so apps keep reading the original path.
- When it hits locked paths such as AppData\Local\Microsoft, occupied files, or permission issues, it skips, asks the user to close apps, or adjusts flags like /COPY:DAT.

Boundaries

It fits user-level caches, AI IDE caches, WeChat/QQ/WPS/Playwright, and uv/pip/npm caches. Avoid system registry caches, Edge WebCache, or files locked by running processes. Confirm free space on D: and close critical apps before migrating.

Use Cases

  • C drive is nearly full; scan AppData and user hidden caches before moving them to D
  • WeChat, WPS, or IDE caches are large; move configs to D while keeping original paths
  • PowerShell migration hits locked files; skip blocked paths and retry movable items
  • Clean C without deleting data; propose migrations and confirm each move

Best For

  • Windows ops: clear C-drive space alerts by migrating user-level caches
  • Desktop support: clean WeChat/WPS/IDE data while preserving logins and plugins
  • Full-stack developers: move Playwright, npm/pip, and AI IDE caches
  • IT security: verify file locks, permissions, and skipped directories during migration