AI Agent Hub
Back to skills
Directory File Organizer icon

Directory File Organizer

Office Efficiency Updated 2026.08.30

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

Please install @user_d581dca4/666 according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

When a folder mixes screenshots, contracts, scripts, installers, and assets, locating the right files by hand gets noisy. This skill addresses a low-risk directory cleanup problem: it does not rewrite file contents, rename by date, or process subdirectories; it moves direct files in a specified directory into type-based folders by extension. It fits a quick pass over a downloads folder, a temporary workspace, or a delivery root before deeper organization.

How It Works

  • Preview before moving: after a directory path is provided, it scans files and shows a classification preview; the move happens only after confirmation.
  • Extension-based rules: common types such as jpg, docx, mp4, py, zip, and psd are mapped to folders, with unmatched files placed in Other.
  • Conservative boundaries: it processes only direct files in the target directory, skips files already in matching category folders, and leaves dot-prefixed hidden files untouched.
  • Traceable results: duplicate names receive numeric suffixes, such as file_1.txt, and each run is recorded in .organizer_log.json for review or undo.

Limits

It works best for flat directories with clear file types. If subdirectories need merging, filenames need bulk cleanup, or items need project-level archiving, the skill will not do that. For cloud-synced files, read-only files, or archives whose contents need inspection, check manually first.

Use Cases

  • Clean a mixed downloads folder by moving images, documents, and archives into type-based folders.
  • Before delivery, sort root-level scripts, data, and PDFs into code, document, and archive folders.
  • Review a classification preview for a temporary project directory with mixed assets and code, then confirm.
  • Group direct files on a desktop by extension and keep the move log for optional undo.

Best For

  • Operations staff who receive mixed deliverables and need root files grouped into type folders
  • Engineers who maintain shared directories and want direct files sorted by extension quickly
  • Designers handling project assets and code who need a move preview before execution
  • Release coordinators who clean delivery roots and rely on logs to undo misplaced moves