Inspiration
Most of my receipts exist only as phone photos, and my phone backs up everything. When something breaks, the receipt is somewhere in thousands of photos and the manual is a PDF I downloaded once. The proof that a repair is free is usually already on the disk. Nobody can find it in time.
What it does
warranty-clock answers "what is still under warranty?" with one table: product, model, purchase date, warranty length quoted from the user's own receipt, card or manual, expiry date and days left. Every row lists the files it came from.
It reads by default. It writes only after the user says yes: a Markdown copy of the table saved to a folder they choose, and a warranty-soon tag on the files of items whose warranty ends within the alert window.
It never guesses a warranty period. If no file states one, the cell says "not stated".
How it is built
The Skill follows the Uliya Skill Development Standard and only delegates to registered experts:
- photo-agent (ug-photo): find receipt images and screenshots by OCR text within the purchase time range, return OCR text and dates.
- file-agent (ug-filesystem): find invoices, warranty cards and manuals by name and type in the confirmed folders.
- document-agent (ug-document): extract product, model, seller, date, amount and the warranty sentence with the receipt and invoice schemas, and ask manuals one question about the warranty term.
- The ledger is assembled in the conversation with fixed rules for matching records, conflicting periods and date math (references/ledger-rules.md).
- knowledge-agent (ug-knowledge save-text) and file-agent (ug-filemgr tag-list, tag-add, tag-add-file) run only after the user agrees and approves.
All five delegation states are handled, and an empty result stops the run with a plain message instead of widening the search. The package passes the official checker with zero errors and zero warnings.
Challenges
Round 1 has no device, so I could not see real OCR output. I kept every instruction self-contained and wrote down exactly which result each step passes on, so the device test day can show where OCR or extraction falls short.
What's next
On the test day: a TV receipt photo plus manual, an order screenshot close to expiry, and a receipt with no warranty sentence (see references/validation-plan.md).
Built With
- markdown
- nas
- ocr
- ugreen