/folder-tree-templates:sort-media-by-resolutionfrom Folder Tree Templates
Sort video or images into folders by resolution (4K, 1080p, megapixels), aspect ratio (16x9, 9x16) or orientation. Local or cloud.
Ships in Folder Tree Templates. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Reads each file's displayed dimensions with exiftool (rotation applied, so a phone clip shot
upright counts as 1080x1920, portrait).
| Ask | --structure (or --by) |
|---|---|
| video by resolution | video-by-resolution (8K, 4K, 1440p, 1080p, 720p, 480p, below-480p) |
| video by aspect ratio | video-by-aspect (16x9, 9x16, 4x3, 1x1, 21x9 …) |
| both | video-by-resolution-then-aspect |
| images by resolution | images-by-resolution (megapixel bands) |
| images by orientation | images-by-orientation |
| exact sizes | --by resolution:exact --only Video (folders like 3840x2160) |
| mixed media folder | media-by-type-then-resolution |
Video classes use the long or short edge with 10% tolerance, so 3840x1600 and 4096x2160 are 4K.
${CLAUDE_PLUGIN_ROOT}/scripts/organise.py compose <SRC> --structure <name>.
Structures with an only: list leave other file kinds where they are.buckets. unknown-resolution files: exiftool missing, an unreadable file, or on a
remote a header that didn't contain the metadata; list them.--apply. Report moved, undo_log.SRC may be local, mounted, or an rclone remote remote:path (header and tail reads, no full
downloads). More combinations: compose-structure.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/add-templateAdds a new dated folder-tree template (a pattern such as {yyyy}/{mm}-{mon} or {yy}/Q-{mm}) to the user's private template store, validated and ready for seed, restructure and sort. Use on "add a folder template", "save this layout as a template"./compose-structureOrganise a folder by combined facets, e.g. by file type then year/month, or video by resolution then aspect ratio. Local, mounted or rclone./drafts-and-finalsRecurse through project folders and split versioned files into drafts/ and final/ subfolders by production state. Media, blogs, graphics./keep-finals-onlyRemove draft versions across project folders and keep only the final of each piece of work. Moves drafts to _superseded/ or deletes them./restructure-treeReorganises an existing dated folder tree into another template, e.g. Jan/Feb folders into 25/01, or flat 010126 folders into year/month/day. Detects the current layout, plans moves, applies with undo. Use on "restructure these folders", "convert to year/month"./seed-treeCreates a dated folder tree (months, year/month, year/month/day, flat DDMMYY, current-and-past years) from a template in a folder that lacks one. Use on "set up month folders", "seed the folder tree", "create year folders here".folder-tree-templates@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin folder-tree-templates