Inspiration
A NAS is meant to be where your photos live safely, but over time photos pile up. Every phone backup adds more photos, bursts of ten nearly identical shots where you only want to keep a few, and thousands of screenshots. Buried among those screenshots are the ones that were useful when you took them but not anymore.
Usually people either keep everything until storage runs out, or spend alot of time sifting through all their photos and deleting the ones they don't want. Existing dedupe tools only catch byte-for-byte copies, and AI photo cleaners usually need you to upload your library to someone else’s cloud. I wanted a cleanup assistant that’s smart enough to judge which shot is best, careful enough to rescue the useful screenshots, and private enough that your photos never leave your own NAS.
What it does
Photo Cleanup scans a folder, album or date range you choose and builds a single report with three sections:
- Exact duplicates, each with a suggested copy to keep
- Burst and near-duplicate shots, scored by the NAS’s vision model on sharpness, focus, eyes open, exposure and framing, with the best shot recommended.
- Screenshots, read with OCR and labelled keep, clear or unsure, with a one-line summary of anything worth saving.
You can pick what to clean up and whether to move it to a review folder (the default, easy to undo) or delete it. You can also save the report as a note first, so the screenshot info outlives the screenshots. Nothing changes until you approve it.
How we built it
Photo Cleanup is an orchestration Skill for UGREEN’s Uliya assistant, written as a single SKILL.md. It doesn’t touch files directly. It delegates each job to the NAS’s built-in expert agents:
file-agent runs the duplicate scan (ug-filemgr scan-dedupe) and, later, the approved cleanup (file-workflow, ug-filesystem) photo-agent reads capture metadata (meta), finds screenshots (search-screen), scores shots (vision-vlm) and extracts screenshot text (vision-ocr) knowledge-agent saves the optional report (save-text)
I used the Uliya Skill Kit’s capability catalog to check that every step maps to a real, published action, and its static checker to validate the Skill. The workflow is built around safety. The three scans are read-only, only real results from one step are passed to the next, and every write goes through the NAS’s own approval prompt.
Challenges we ran into
Since I do not have a NAS on hand to explore the capability limits or test my skill. This first submission is mainly based on documentation on what the NAS is capable at.
Accomplishments that we're proud of
What we learned
What's next for Photo Cleanup
-Test on real UGREEN hardware to tune the burst window, check that the vision scores are consistent, and confirm whether deleted files go to the recycle bin -Add video support -Save per-folder settings
Built With
- claude
- markdown