D Drive File Auto Archiver
Paste the following prompt into your AI chat to install this skill:
Please install @user_efb2ed8f/01-9-02 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When a local folder accumulates images, documents, videos, code, and installers, manual dragging can miss files, overwrite files by mistake, or leave temporary data on the C drive. This skill turns “tidy up this folder” into a confirmable batch archive action: files are moved by extension into preset folders under D:\FileArchive, reducing clutter and consolidating results on the D drive.
How It Works
It scans the current directory, excludes subfolders and dot-prefixed hidden files, and builds a move preview, such as photo.png to D:\FileArchive\Images\ and report.pdf to D:\FileArchive\Documents\. Only after user confirmation does it create the target directories and move files. If a same-name file already exists at the destination, it renames the new file, for example photo(1).png, to avoid overwriting. After completion, it reports successful and failed moves; failed files remain in the original directory, and empty archived folders can optionally be cleaned up.
Boundaries and Notes
This skill is aimed at Windows local folder cleanup, with the target path tied to the D drive by default. It classifies by extension, does not inspect file contents, and skips hidden files. Check D drive permissions and free space before running. Review the preview list carefully, especially if sensitive files might be moved to a shared or backed-up disk.
Use Cases
- Sort a cluttered Windows project directory by moving images, PDFs, code, and archives into matching D drive FileArchive folders after preview confirmation.
- Clean a desktop or shared folder by generating a file move preview, confirming it, then batch-moving items without overwriting duplicates.
- Move videos, documents, and installers out of a temporary C drive directory into a single D drive archive structure by extension.
- Check successful and failed moves after archiving, keep failed files in place, and optionally delete emptied folders after confirmation.
Best For
- Office users managing Windows files who want to sort desktop or project clutter into D drive type folders.
- Document organizers who download images, PDFs, and installers and need a preview plus duplicate-safe archiving.
- Local developers who want to move code, docs, archives, and build outputs by extension while keeping failures.
- IT support staff who need to batch-migrate a shared or temp folder to a D drive structure with success counts.
Related Skills
Organizes files by extension into subfolders like Documents, Code, and Archives, then outputs a report.
Extract tables, formulas, charts, and layout from invoices, reports, papers, and multi-column documents.
Generates a multi-sheet Excel report containing only structured data tables from byteplan-analysis results.
Automatically sort directory files into type-based folders, with dry-run preview, reports, and JSON custom rules.