AI Agent Hub
Back to skills
Auto File Organizer icon

Auto File Organizer

Development Updated 2026.08.30

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

Please follow https://skillhub.cn/install/skillhub.md and install @user_c4775d0f/jingmao-jk2-ljs-1zu-101.

About this skill

The Problem It Solves

When downloads, shared drives, or project roots accumulate scattered files, manual cleanup is slow and easy to botch. Auto File Organizer is suited to grouping a known set of files into subfolders by type, date, or custom rules, with deduplication, batch renaming, and cleanup that can be previewed before changes and audited afterward.

Core Capabilities and Workflow

  • Extension-based classification: places pdf, png, mp4, py, zip, and similar files into Documents, Images, Videos, Code, Archives, and other folders.
  • Date-based archiving: creates structures such as YYYY/MM/ or YYYY-MM/ from modification time or requested creation time.
  • Deduplication: computes SHA-256 hashes, groups duplicates, and asks which copy to keep before deletion.
  • Batch renaming: supports prefixes, suffixes, sequential numbering, and date insertion, with an old → new preview first.
  • Safety controls: scans and reports file count, size, category distribution, and conflicts; asks for confirmation with Execute, Dry run, Customize, or Cancel; renames incoming collisions as _1, _2; skips locked or hidden files and reports them.

Where It Fits

It works well for routine developer, ops, and file-management directories where downloads, assets, docs, and code are mixed together. It should not be assumed to handle system directories, permission-sensitive paths, hidden files, or automatic overwrites. Deduplication, renaming, and bulk moves depend on user confirmation. For large sets of locked files, complex symlinks, or business-specific classification rules, run a Dry run first and customize the mappings.

Use Cases

  • Downloads are mixed with images, docs, and installers; sort them by extension into category folders.
  • A project root has many temporary scripts and assets; group them by file type and date.
  • A shared drive has suspected duplicate PDFs; group them by hash and confirm which copy to keep.
  • An asset folder needs batch renaming with consistent sequence numbers and dates.

Best For

  • Full-stack engineer maintaining local dev directories, wanting code, docs, and assets grouped by extension.
  • Ops staff tidying a downloads drive, needing safe large-file moves and locked-file skips.
  • Designer archiving assets, wanting images and fonts organized by date and file type.
  • QA engineer cleaning temp project directories, needing deduplication and empty-folder removal.