ub2-smart-file-organizer
由 underbench2-gif 提供
Calendar & Scheduling简介
A skill that enables Claw to scan a directory, categorize files by type and content, and reorganize them.
描述
该技能的功能
Scans a directory recursively, categorizes files by extension and content type, and moves them into a logical folder structure. Detects duplicates by checksum and separates them for manual review. Every action is logged, and a dry-run mode shows a preview before any files move.
The change log and dry-run default mean you can preview and reverse any reorganization without risking permanent data loss.
何时使用
- Cleaning up a cluttered Downloads folder
- Finding duplicate photos scattered across multiple folders
- Sorting a mixed project directory into documents, images, and code
- Organizing backup files into year-based folders
- Auditing a shared drive before migrating to a new location
示例工作流
User asks: Organize my Downloads folder by file type
- 1
Recursively scans the Downloads directory and catalogs all files with sizes, types, and modification dates
- 2
Classifies each file into categories: documents, images, code, data, archives, media
- 3
Identifies duplicate files by comparing checksums and flags them for review
- 4
Proposes a new folder structure and presents a dry-run preview of all planned moves
- 5
Moves files into the new structure and writes every action to reorganization_log.txt
Downloads folder reorganized into typed subfolders, duplicates moved to _duplicates, and a full reorganization_log.txt written for rollback reference
安装
clawhub install underbench2-gif/ub2-smart-file-organizer运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。