File Classification Organizer
Paste the following prompt into your AI chat to install this skill:
Please install @user_56dd517d/file-organizer-1 by following https://skillhub.cn/install/skillhub.md.
About this skill
The Problem
When a folder mixes Office documents, scripts, archives, screenshots, videos, and shortcuts, finding a file usually depends on remembering its exact name. file-organizer addresses that specific case: a top-level directory is cluttered by file type, and the goal is to make the directory structure predictable by grouping files into type-based folders.
How It Works
- Scan: Lists files in the target path, skipping existing subfolders, hidden files,
.Tempdirectories, and system files such asdesktop.iniandThumbs.db. - Classify: Maps extensions to categories. For example,
.docx,.pdf, and.txtgo to documents;.py,.js, and.htmlgo to code;.zip,.rar, and.7zgo to archives;.pngand.svggo to images;.mp4and.movgo to video;.lnkgoes to shortcuts. - Apply: Reuses an existing category folder in the target path when present; otherwise creates folders such as
Documents/,Code/,Archives/,Images/,Video/,Shortcuts/, orOther/. - Report: After moving files, outputs a per-category list so you can verify where each file was placed.
Boundaries
This skill fits type-based cleanup, especially for downloads, temporary work folders, or attachment-heavy directories. It relies on file extensions rather than content, dates, or business meaning, so it is not enough when files must be organized by project, client, month, or naming convention. Because the workflow moves files, confirm the target path and keep a path record or backup before running it.
Use Cases
- When downloads pile up web pages, screenshots, archives, and notes, group them by type.
- When a project folder mixes PDFs, Excel files, scripts, and images, classify them quickly.
- After receiving client files, archive Word, PPT, archives, and screenshots by type.
- When cleaning a legacy desktop folder, move code, video, and shortcuts into fixed subfolders.
Best For
- A test engineer cleaning downloads who needs to separate screenshots, archives, and scripts.
- A presales consultant managing client deliverables who needs to archive documents, archives, and images.
- An ops engineer maintaining a legacy desktop folder who needs fixed subfolders for code, video, and shortcuts.
- A product manager organizing a personal folder who needs PDFs, Office files, and images separated by type.
Related Skills
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.
A six-stage pipeline for turning .docx templates and source materials into enterprise documents with preserved styles, mapped TOCs, Mermaid diagrams, and token-budget controls.