Install
openclaw skills install @zoeee886/file-organizerSort and organize files in a directory by type or by modification date, with dry-run preview, duplicate-name handling, and an auto-generated organization report. Use when the user wants to clean up, sort, categorize, or organize files in a folder, or asks for a file classification/overview report.
openclaw skills install @zoeee886/file-organizerOrganizes loose files in a directory into categorized subfolders, either by file type or by modification date. Supports a dry-run mode that only previews changes, and generates a Markdown summary report of what was moved where.
Use this skill when the user asks to:
by-type or by-date).organize-report.md summarizing the result.| Extension(s) | Target folder |
|---|---|
| jpg, jpeg, png, gif, bmp, webp, svg, ico | Images |
| pdf, doc, docx, xls, xlsx, ppt, pptx, txt, md, csv, odt | Documents |
| mp4, avi, mkv, mov, wmv, flv, webm | Videos |
| mp3, wav, flac, aac, ogg, m4a | Audio |
| zip, rar, 7z, tar, gz, bz2 | Archives |
| py, js, ts, java, c, cpp, h, go, rs, html, css, json, xml, sh, ps1, sql | Code |
| anything else | Others |
Files without an extension (e.g. README) go to Others.
.).photo (1).jpg. Never overwrite.powershell -ExecutionPolicy Bypass -File scripts/organize-files.ps1 -Dir . -DryRun
powershell -ExecutionPolicy Bypass -File scripts/organize-files.ps1 -Dir . -ByDate
Parameters:
| Parameter | Default | Description |
|---|---|---|
-Dir | . | Target directory to organize |
-ByType | on | Group files by type (default mode) |
-ByDate | off | Group files by year-month instead (e.g. 2026-08) |
-DryRun | off | Preview only; move nothing |
-Recurse | off | Also organize files in subfolders |
The script prints a summary table and writes organize-report.md (unless in
dry-run mode).