🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Smart File Organizer

by @underbench2-gif

Scans and categorizes files in a directory, detects duplicates, and reorganizes them into a clear folder structure with safety features and rollback options.

Versionv1.0.0
Downloads1,252
Installs3
Stars⭐ 1
TERMINAL
clawhub install ub2-smart-file-organizer

πŸ“– About This Skill

Smart File Organizer

A skill that enables Claw to scan a directory, categorize files by type and content, and reorganize them into a clean, logical folder structure.

What This Skill Does

This skill provides an intelligent file organization workflow:

1. Directory Scanning β€” Recursively scan a target directory and catalog all files with their sizes, types, and modification dates 2. File Classification β€” Categorize files by extension and content type (documents, images, code, data, archives, media, etc.) 3. Duplicate Detection β€” Identify duplicate files by comparing checksums 4. Organization Plan β€” Propose a new folder structure based on file categories 5. Safe Reorganization β€” Move files into the new structure with a full log of all changes, enabling rollback if needed

How to Use

Point Claw at a directory and describe your organization goals:

  • "Organize my Downloads folder by file type"
  • "Scan this project directory and find all duplicate files"
  • "Sort these files into folders by year based on their modification date"
  • "Clean up this directory β€” group documents, images, and code separately"
  • Safety Features

  • Dry Run Mode β€” Preview the proposed changes before any files are moved (enabled by default)
  • Change Log β€” Every file move is logged to reorganization_log.txt for full traceability
  • No Deletions β€” The skill never deletes files; duplicates are moved to a _duplicates folder for manual review
  • Output

  • A summary report showing the file inventory and proposed/executed organization
  • A reorganization_log.txt file documenting every action taken
  • The reorganized directory structure