Safe File Organizer
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_1ef40dad/file-organizer-x924.
About this skill
Problem
Local directories often mix documents, images, source files, archives, and videos. Manual moving can miss nested folders, overwrite same-name files, or leave a half-finished state after a permission error. file-organizer treats classification as a previewable, confirmable, and rollback-safe file-management action.
How It Works
- Scan and preview: Reads the target folder, processes the current directory by default, and uses
-r / --recursivefor subdirectories. It skips built-in paths such asnode_modules,.git, and__pycache__, and can read.organizer-ignorefor user-defined patterns. - Extension-based sorting: Groups files into
Documents,Images,Code,Archives,Video, andOther;.organizer-rules.jsoncan merge custom category rules. - Two-phase execution: Shows quantity and size before acting, then pre-checks accessibility, ambiguous classification, and destination conflicts before moving. Failures trigger rollback.
- Undo and audit: Generates
.organizer-manifest.json,.organizer-log.md, and cross-platform undo scripts, with--rollbackfor restoration.
Limits
Best for personal project trees, download folders, or document libraries that need bulk categorization. It does not inspect file content or infer semantic ownership; for deeply nested, locked, or permission-restricted trees, use --preview first.
Use Cases
- Tidying a Downloads folder by grouping PDFs, images, and archives into folders after preview.
- Sorting mixed project notes, scripts, and assets using `.organizer-rules.json` for custom categories.
- Recursively cleaning a resource tree while ignoring `node_modules`, `build`, and `.git` to avoid moving dependencies.
- Reverting a failed bulk move caused by same-name conflicts or permission errors, then reviewing the log.
Best For
- Engineers organizing Downloads folders who want typed subfolders, preview, and undo.
- Designers maintaining asset directories who need custom extension rules without overwrites.
- Ops engineers cleaning nested resource trees while ignoring dependency and build folders.
- Analysts organizing local datasets who need preview and rollback to protect source files.
Related Skills
A one-shot coding agent built on Claude Code CLI that runs non-interactively, supports a specified workdir, and can be monitored in the foreground or background.
An engineering assistant for static HTML/CSS/JS pages, design-token extraction, IE8-compatible review, and structured delivery.
An engineering workflow for requirement analysis, scenario modeling, risk planning, quality gates, testing, and knowledge capture, with lightweight, standard, and full modes.
Establish a project style baseline before generation, then constrain output to match existing conventions.