Intelligent File Classifier
Paste the following prompt into your AI chat to install this skill:
Install @user_8bc43348/file-classifier by following https://skillhub.cn/install/skillhub.md.
About this skill
Problem It Solves
When local file trees accumulate downloads, project copies, backups, and shared folders, organizing by extension or year often loses business context. file-classifier handles bulk directory cleanup by inventorying, classifying, migrating, and validating files without deleting or overwriting the source.
How It Works
The skill requires an original directory and a target directory, then checks disk space and read/write permissions. Each run creates a YYYYMMDDNN task prefix to link related output files.
Core steps include:
- Inventory: traverses the source tree, counts files and folders, records depth and top-level distribution, and detects professional domains.
- Classification plan: prioritizes domain-specific taxonomy, with management or scenario-based categories as fallback; folders marked as project, system, complete, collection, version, or containing README-style files are migrated as whole units.
- Migration details: emits Markdown and Excel tables mapping each entry to a new path, noting nested folders, whole-unit moves, and rename decisions.
- Copy execution: creates target directories, copies files with Copy-Item to preserve metadata, appends numeric suffixes on name conflicts, and logs failures.
- Validation reports: produces inventory, planning, detail, and result reports for review.
Boundaries
It is best for complex directories where project folders must remain intact, not for cleanup or deletion. Users should ensure the source is read-only, the target is writable, and avoid pre-existing name collisions; top-level folders should stay between 15 and 30, and non-archive trees should generally stay within three levels.
Use Cases
- Plan and copy multi-year project files into domain-based folders while preserving whole units.
- Generate inventory, migration tables, and validation reports for mixed Downloads or shared folders.
- Migrate old PC documents while keeping project, system, and collection folders intact on a new disk.
- Archive policies, proposals, and contracts into a target tree with controlled top-level categories.
Best For
- Document owners managing long-term project files who need domain classification without splitting folders
- IT staff taking over old drives or shares and needing migration tables plus validation reports
- Admins or project managers organizing policies, proposals, and contracts into a planned target tree
- Collaboration admins handling shared files who need conflict suffixes and failure logs
Related Skills
Generate and edit .pptx decks with python-pptx, applying structured layouts, design rules, native charts, and visual QA to reduce template-like output.
Tencent Cloud Table Recognition V3 is an OCR skill for detecting and recognizing tables in images or PDFs, supporting various table types like linear and borderless tables, with Excel export.
The complete set of online document operation tools provided by Tencent Docs MCP, supporting creation, querying, and editing of smart docs, Excel, PPT, mind maps, and more.
Turn a topic, notes, or tables into a complete PPT plan with logic, page layouts, visual and chart guidance, and natural defense scripts.