/folder-tree-templates:drafts-and-finalsfrom Folder Tree Templates
Recurse through project folders and split versioned files into drafts/ and final/ subfolders by production state. Media, blogs, graphics.
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.
Walks a tree; in each folder it groups files that are versions of one piece of work (same base
name once marks like v2, _v1.3, draft2, final, FINAL, rev3, (1), copy, wip
are stripped) and moves the final into final/ and the rest into drafts/, beside them.
Files with no version marks and no siblings (assets like hero.png) stay where they are.
| Situation | Final | Confidence |
|---|---|---|
a file marked final/approved | it (highest version among finals; same mark across formats, e.g. logo_FINAL.png + .svg, all count) | high |
only draft / wip files | none: all go to drafts/ | high |
numbered versions (v1, v2, v3) | highest number, every format of it | medium |
tie, unmarked pick, or only (1)/copy duplicates | newest file | low: listed for review, not moved |
${CLAUDE_PLUGIN_ROOT}/scripts/organise.py states <TARGET>
(--no-recursive for one folder; --drafts-name, --final-name to match the user's words,
e.g. --final-name Final).groups_sample (folder, base, chosen final) and every needs_review group.
For review groups ask which file is final; the user can rename it with a final mark and you
re-plan, or accept --min-confidence low.--apply. Report moved and undo_log (organise.py undo <log>).Folders already named drafts/final are not re-processed. TARGET may be local, a mounted
volume or an rclone remote. To then discard drafts: keep-finals-only.
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./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"./setupSets up folder-tree-templates for a user — creates the private overlay with profile.env (default template, date source) and an empty templates folder. Use on "set up folder tree templates", "change my default folder template".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