Clean up Downloads
Sort loose files in the Downloads folder into tidy per-type subfolders. Non-destructive: only moves files, never deletes, never overwrites.
Steps
list_directoryon the user's Downloads folder (~/Downloads, or ask if it's elsewhere).- Bucket each file (ignore folders) by extension:
- Documents — pdf, doc, docx, txt, md, ppt, pptx, xls, xlsx, csv, epub
- Images — png, jpg, jpeg, gif, webp, svg, heic, bmp
- Video — mp4, mkv, mov, avi, webm
- Audio — mp3, wav, flac, m4a, ogg
- Installers — exe, msi, dmg, appimage
- Archives — zip, rar, 7z, tar, gz
- Other — everything else
- For each bucket that has at least one file,
create_directoryDownloads/<Bucket>if it doesn't exist. move_patheach file into its bucket. If a file with the same name already exists in the target, append(2),(3), … to the name — never overwrite.- Report a short summary: how many files moved into each bucket.
Don't
- Don't touch subfolders the user already created (only loose files at the top level).
- Don't move files currently in use / locked — skip and mention them.
- Don't delete anything. This skill only organizes.