SKILLS/ ORGANIZATION

sort-media-folders

Sort raw files on disk into a dated, categorized folder tree, dedupe, and reconcile counts.

media-info-batch ffprobe
ADD THIS SKILL
paste into a new chat

Copy this into a blank Wideframe chat. It tells the agent to build the skill, what to confirm with you first, the steps to follow, and how to verify the result.

PROMPT
I'd like you to add a skill to Wideframe called "sort-media-folders".

What it should do:
Sort raw files on disk into a dated, categorized folder tree, dedupe, and reconcile counts.

Before you run anything, ask me to confirm:
- The target folder hierarchy (by day, shoot, category, media type, or resolution)?
- Which source roots or drives to scan?
- Move, copy, or archive, and may duplicates be deleted?
- Date source for dated folders (capture date vs file date)?

Then do the work:
1. Enumerate every source file with size and a content hash.
2. Define the destination tree from the confirmed rule.
3. Detect duplicates by hash and pick one canonical copy.
4. Place each file into its destination slot (move or copy as confirmed).
5. Emit a reconciliation report: source count, placed count, duplicates, bytes.

Do not grade your own work. When the output is ready, hand it to a separate verification subagent that has its own context window. Give it the output, the choices I confirmed, and the pass criteria below. It reviews the quality, writes specific feedback, and returns PASS or FAIL.

Pass criteria:
- Placed count plus skipped count equals the source file count.
- The destination structure matches the declared hierarchy.
- No duplicate hashes remain in the active folders.
- Total bytes reconcile, confirming no file was lost.

If it returns FAIL, apply the feedback, redo the affected work, and verify again with a new subagent. Repeat until it returns PASS, then show me the result.

Once it works, save it as a reusable skill named "sort-media-folders" so I can run it again by saying /sort-media-folders.
RUN IT AGAIN

Once it’s saved, run it on the next project with /sort-media-folders, or just say:

“Sort this drive into folders by shoot day and media type, drop duplicates, and reconcile the counts.”

Run it on your own footage.

7-day free trial. Requires Apple Silicon.

RELATED SKILLS