OpenClaw Skill
file-organizer-skill
Organize files in directories by grouping them into folders based on their extensions or date. Includes Dry-Run, Recursive, and Undo capabilities.
Install
$npx clawhub@latest install file-organizer-skill
View on GitHubv1.0.0
All-time installs51
Active installs45
Stars4
File Organizer (Gold Standard)
Features
- Smart Sorting: Group by Extension (Default) or Date (Year/Month).
- Safety: Conflict resolution (auto-rename), Dry Run mode, and Undo capability.
- Deep Clean: Recursive scanning option.
- Audit: Generates
organize_history.jsonfor tracking.
Usage
Basic Sort (by Extension)
bash
python3 scripts/organize.py /path/to/folderDate Sort (Year/Month)
Great for photos or archives.
bash
python3 scripts/organize.py /path/to/folder --dateDry Run (Simulate)
See what would happen without moving anything.
bash
python3 scripts/organize.py /path/to/folder --dry-runUndo
Revert changes using the history file.
bash
python3 scripts/organize.py --undo /path/to/folder/organize_history.jsonConfig
Modify scripts/organize.py get_default_mapping() to add custom extensions.
Created by
@1999azzarPersistent memory
Give your OpenClaw agent a memory layer
Mem0 remembers users and context across sessions so you send fewer tokens and get better answers.
Try Mem0Mem0 + OpenClaw guide