LaunchKit · 2026
Back to Skills

ub2-smart-file-organizer

A skill that enables Claw to scan a directory, categorize files by type and content, and reorganize them.

0
628 downloads
by @underbench2-gif

Setup & Installation

openclaw skills install @underbench2-gif/ub2-smart-file-organizer

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install ub2-smart-file-organizer

What This Skill Does

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.

When to use it

  • 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

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Organize my Downloads folder by file type

AGENT
  1. 1Recursively scans the Downloads directory and catalogs all files with sizes, types, and modification dates
  2. 2Classifies each file into categories: documents, images, code, data, archives, media
  3. 3Identifies duplicate files by comparing checksums and flags them for review
  4. 4Proposes a new folder structure and presents a dry-run preview of all planned moves
  5. 5Moves files into the new structure and writes every action to reorganization_log.txt
OUTPUT

Downloads folder reorganized into typed subfolders, duplicates moved to _duplicates, and a full reorganization_log.txt written for rollback reference