Skip to content
TakoAPI
Back to skills

ub2-smart-file-organizer

by underbench2-gif

Calendar & Scheduling
628Downloads reported by clawskills.sh
0Views
0 likesSign in to like this skill
—Not yet rated
Your rating

Brief

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

Description

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

INPUT

User asks: Organize my Downloads folder by file type

AGENT
  1. 1

    Recursively scans the Downloads directory and catalogs all files with sizes, types, and modification dates

  2. 2

    Classifies each file into categories: documents, images, code, data, archives, media

  3. 3

    Identifies duplicate files by comparing checksums and flags them for review

  4. 4

    Proposes a new folder structure and presents a dry-run preview of all planned moves

  5. 5

    Moves 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

Installation

clawhub install underbench2-gif/ub2-smart-file-organizer

Run the CLI command, or paste the prompt into Claude Code, Cursor, Codex or whichever coding agent you use.

Links