Inspiration

Flip over an old family print and you'll often find the only record of who, when and where: "Aunt Sarah, July 1974." When families scan their photo boxes, that note gets separated from its picture. The front and back become two unrelated files, both dated the day they were scanned, and the handwriting never becomes searchable. We wanted the NAS that already holds those scans to read the backs, without a single family photo leaving the house.

What it does

Photo Backstory is a UGOS Skill for UGREEN AI NAS. You point it at a folder of scans and it:

  1. Pairs each scanned front with its scanned back (by _a/_b-style suffixes or by scan order), and asks you to confirm.
  2. Reads every back twice, once with vision-ocr and once with vision-vlm at temperature 0, extracting names, dates and places.
  3. Shows a review table with a confidence level for each pair and flags for blank backs, swapped pairs and date conflicts. You can fix anything before a single write happens, and it tells you how many approval prompts to expect.
  4. Writes only what you approve:
    • First, a Markdown backstory index: the permanent record, kept next to the file names.
    • Then a photo-backstory tag and a year tag on both scans (person and place tags are optional).
    • One album of the paired fronts.
    • Optional file dates.

It never deletes, moves, renames or edits EXIF data, and nothing leaves the NAS.

How we built it

Photo Backstory is pure Markdown: a SKILL.md plus three linked references, built with UGREEN's uliya-skill-kit 0.7.3. The Skill never calls a CLI directly. It delegates each step to UGOS's registered expert agents:

Step Expert agent Capabilities
List scans file-agent ug-filesystem ls, stat
Read backs photo-agent ug-photo vision-ocr, vision-vlm, meta
Save index knowledge-agent ug-knowledge save-text
Tag files file-agent ug-filemgr tag-list, tag-add, tag-add-file
Create album photo-agent ug-photo create-album
Set dates (optional) file-agent ug-filesystem chtimes

We checked every action, parameter and approval level against the kit's capability catalog (2.0.0). The package passes the kit's static checker with 0 errors and 0 warnings.

Challenges we ran into

  • Handwriting is messy. Instead of trusting one AI pass, we cross-check two readings. Any disagreement on a name or number becomes low confidence for a human to check, never a guess. Unreadable words stay [illegible], and dates keep only the precision actually written.
  • Approval fatigue. UGOS asks for approval per new tag and per file date. Tagging every name and place could mean dozens of prompts, so we cut default tags to two, made the rest opt-in, and tell the user the prompt count up front.
  • No EXIF writing. The published capabilities can't edit EXIF, so dates live in the index and tags, with file dates as an option.
  • The rules behind the docs. The kit's checker turned out stricter than the starter page (for example, no root README), so we built to the checker.

Accomplishments that we're proud of

  • A Skill that is read-only until you say yes, which matters for the people most afraid of an AI touching their family archive.
  • A clean static check, with every step grounded in a documented UGOS capability.
  • An idea that only makes sense on a NAS: private family photos, local vision models, and the scans already in place.

What we learned

The best Skill design leaves decisions to people: review tables, confidence flags, honest "nothing found" stops, and a durable plain-text record instead of trusting one model or one database.

What's next for Photo Backstory

  • Test handwriting accuracy on real cursive and pencil on the iDX6011 Pro.
  • Match transcribed names to existing face groups in UGOS Photos.
  • Extend the same reader to other handwritten keepsakes: recipe cards, postcards and letters.

Built With

  • markdown
  • ug-filemgr
  • ug-filesystem
  • ug-knowledge
  • ug-photo
  • ugos
  • ugreen-ai-nas
  • uliya-skill-kit
  • vision-ocr
  • vision-vlm
Share this project:

Updates

Submission history