AI Agent Hub
Back to skills
Automated File Organizer icon

Automated File Organizer

Office Efficiency Updated 2026.08.30

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

Please install @user_d0b67476/file-organizer-gjn according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem

When a folder accumulates downloads, screenshots, code snippets, and documents, sorting them by hand is slow and easy to get wrong. file-organizer targets this narrow task: take a target folder and split its files into clearer subfolders based on file extensions, reducing the need to scan the directory manually.

How It Works And Limits

The workflow is direct:
- reads the files in the target folder
- classifies them by extension, for example .pdf/.md into documents and .py/.ts into code
- creates the matching subfolders and moves the files
- outputs an organization report

It is useful for local directories, download folders, or project asset folders. The main limitation is that classification is extension-based only; the skill does not infer semantic content from filenames or file bodies. Files without extensions, files with nonstandard suffixes, or files that must remain in place should be reviewed before running it. Moving files can break relative paths, asset references, or script dependencies, so use it with caution in directories where the layout is load-bearing.

Use Cases

  • A downloads folder mixes PDFs, images, code, and archives, and needs to be split by type before cleanup.
  • A project assets folder holds web resources, and code, images, and documents must be separated before building.
  • A desktop contains client deliverables, and documents, images, and videos need to be grouped for handoff.
  • A script output folder is mixed, and code, text documents, and archives need to be sorted for review.

Best For

  • An engineer who cleans up download folders and wants to separate PDFs, images, and code before archiving.
  • A frontend engineer managing project assets who needs to isolate web code from static resources.
  • An operations person preparing deliverables who needs to group client documents, images, and videos.
  • A support engineer doing local file cleanup who needs to sort a target directory by file type quickly.