File Organizer Assistant
Paste the following prompt into your AI chat to install this skill:
Please install @user_c73fb2fe/file-organizer-skill-v2 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Desktops, Downloads folders, and shared directories often accumulate files in the order they were saved, making later lookup slow. For engineers, the annoyance grows before handoff: documents, assets, code snippets, and archives need to be separated and filed, and manual moving can miss files or mix unrelated items. This skill targets a common case—organizing one known folder by file extension—by moving files into fixed category subfolders and reporting the result.
How it works
The skill takes a target folder path as input and classifies files by extension:
- Documents: .doc, .docx, .pdf, .txt, .md
- Images: .jpg, .png, .gif, .svg, .webp
- Code: .js, .py, .html, .css, .ts
- Archives: .zip, .rar, .7z, .tar.gz
- Video: .mp4, .avi, .mov, .mkv
It reads the files in the target folder, creates a subfolder for each category, moves the matching files into place, and outputs an organization report. Because classification is primarily extension-based, it is best suited for batch cleanup of download or temporary folders. If a file’s extension does not match its actual content, such as extensionless scripts or executables mislabeled as documents, manual review may be needed. The move operation changes directory structure, so verify the path and write permissions before running it.
Use Cases
- Before archiving downloaded assets, sort documents, images, code, and archives into type-based subfolders.
- Before project handoff, clean a work folder by separating PDFs, Markdown, and source files into fixed subdirectories.
- When taking over a shared folder, classify scattered screenshots, web code, and archives for easier lookup.
- In a temp folder with mixed videos and documents, organize by extension and produce a cleanup report.
Best For
- Engineers preparing deliverables: quickly archive documents, code, assets, and archives from a work folder by type.
- Product or ops staff managing shared drives: clear scattered files and place screenshots, documents, and archives into clear subfolders.
- Developers maintaining scripts or web pages: collect `.js`, `.py`, `.html`, and `.css` source files into a code folder before handoff.
- Data analysts organizing local materials: separate PDFs, text documents, and video assets into categories for easier lookup.
Related Skills
Updates Next.js documentation based on code changes in the active branch to help maintainers review PR documentation completeness.
Use a book title and author to search reviews, contents, and reader feedback, then generate a structured breakdown of historical or decision-logic books with key claims, concepts, quotes, and reading notes in Obsidian.
A multi-system divination advisor covering Bazi, Ziwei, tarot, feng shui, timing, and naming with structured interpretations.
Provides Bazi, Liu Yao, Qimen, Meihua, and date-selection guidance from classical references, with plain-language explanations and actionable suggestions.