AI Agent Hub
Back to skills
File Category Organizer icon

File Category Organizer

Business Operations Updated 2026.08.30

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

Please follow https://skillhub.cn/install/skillhub.md to install @user_64676732/jingmao-jk2-wyz-102.

About this skill

Problem It Solves

When a target folder contains mixed documents, images, code, archives, audio, and video, manual sorting can miss files or overwrite duplicate names. This skill performs extension-based organization for a single directory, moving files into predictable subfolders while preserving before-and-after counts.

How It Works

It reads files in the user-specified folder, without recursing into subfolders by default; if the path is empty, it uses the current working directory. It groups files by extension into documents, images, code, archives, videos, audio, and other, creating only the categories that contain files. During moves, duplicate filenames receive sequence suffixes to avoid overwriting. It then reports the total file count, counts per category, failed files, and a before/after directory summary. In preview mode, it only generates the classification list without moving files.

Boundaries

It only organizes files; it does not delete or modify file contents and skips hidden files, system files, and files starting with .. Classification depends mainly on file extensions, not file content; permission failures are reported. It fits delivery cleanup, asset archiving, and pre-classification before further review.

Use Cases

  • After receiving a mixed client delivery folder, classify documents, code, and archives into subfolders to avoid missing files.
  • Before organizing local assets, generate a preview list to check where .png/.mp4/.zip files will go before moving them.
  • Archive project delivery documents and spreadsheets by moving .docx/.xlsx/.pdf files into a documents folder and reporting counts.
  • Clean up scattered files in a shared folder by archiving audio and video while preventing same-name files from overwriting.

Best For

  • Project assistants responsible for delivery-folder cleanup who need files grouped into subfolders and a summary report.
  • Operations staff maintaining shared asset drives who need images, video, and archives separated without overwriting same-name files.
  • Developers organizing local code and document delivery packages who need source files split from docs by extension.
  • Data-labeling teammates performing pre-classification who only need a category list without moving files.