AI Agent Hub
Back to skills
File Auto Archiver for D Drive icon

File Auto Archiver for D Drive

Office Efficiency Updated 2026.08.30

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

Please install @user_e7b2640f/file-auto-archiver-d according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Loose assets, documents, code, and installers in one folder are easy to misplace when moved manually. This skill targets Windows D drive archiving, classifying files by extension into fixed folders under D:\FileArchive\ instead of consuming C drive space.

How It Works

Preview first, then move. It lists regular files in the current directory, excludes subdirectories and . hidden files, and generates a target path for each file, for example photo.png → D:\FileArchive\Images\photo.png. Execution happens only after user confirmation.

It classifies files by extension:
- Images: jpg, png, webp, and similar formats
- Documents: pdf, docx, xlsx, md, and similar formats
- Code: py, js, json, html, and similar formats
- Archives and installers: zip, rar, exe, msi, and similar formats

It creates missing category folders before moving. If a same-name file exists, it renames the new file, such as pic.jpg → pic(1).jpg, so existing files are not overwritten. After completion, it reports success and failure counts; failed files remain in the original directory.

Boundaries

This is best for organizing loose files in a single directory, especially when archiving to a D drive. It does not recurse into subdirectories, does not process system hidden files, and does not move its own skill file. Check D drive permissions and available space before running it.

Use Cases

  • Clean up scattered downloads, moving images, PDFs, code, and installers into D drive FileArchive folders.
  • Before taking over a project folder, archive documents, archives, and media from the current directory away from working files.
  • Organize course folders by routing videos, presentations, documents, and code samples into fixed D drive categories and a report.
  • Move a batch of assets after preview, auto-renaming duplicates so existing D drive versions are not overwritten.

Best For

  • Windows asset managers who need to move current-folder images, videos, and documents into D drive categories.
  • Engineers taking over machines who need to clear scattered files while preserving failures and avoiding D drive overwrites.
  • Educators preparing courses who need to archive videos, presentations, documents, and code samples into fixed folders.
  • Claude users automating local file tasks who need a path preview before any move is executed.