-
-
Obligation Radar — A specialized AI Skill for UGREEN NAS that turns messy construction folders into verifiable purchasing records.
-
Discovers and reads scanned POs, delivery notes, and invoices using OCR, classifying files by content instead of filenames.
-
Reconstructs split shipments (60 + 40 = 100) and deduplicates rescanned delivery slips to eliminate false discrepancy alarms.
-
Flags unsupported billing (100 billed vs. 80 delivered) with exact source citations and human verification recommendations.
-
Safe orchestration: read-only file and document experts, with only one write action to save the final approved report.
-
Passes the official static checker with 0 errors and 0 warnings, verified against a 27-document construction test suite.
Inspiration
I watched my friend Amine—a construction engineer—spend an entire month buried in his laptop, manually sifting through hundreds of unorganized purchase orders, delivery notes, and supplier invoices. On construction sites, materials arrive in partial batches, paperwork gets scanned late, and a single order can span multiple delivery notes and invoices. Construction leaders spend roughly 35% of their time on non-productive work like hunting for project information. Amine didn't need another heavy ERP system or a cloud app that forces him to upload sensitive supplier contracts—he needed an assistant on his NAS that could reconstruct his fragmented project folders and show him the exact evidence before payment.
What it does
Obligation Radar — Know what was ordered. Prove what arrived. Question what was billed.
It is an AI Skill for construction SMEs that reconstructs fragmented purchasing records inside a selected NAS project folder:
- Identifies documents by content: Finds purchase orders, delivery notes, and invoices regardless of messy filenames, using OCR for scanned site documents.
- Reconstructs split deliveries: Consolidates multiple partial delivery notes (e.g., 60 + 40 units) against a single purchase order of 100 units, and deduplicates rescanned delivery notes so valid deliveries aren't falsely flagged.
- Flags unsupported billing: Isolates genuine discrepancies (e.g., 100 bags billed vs. 80 delivered) with exact source citations and a clear verification question for a human—never approving payments or accusing suppliers.
- Defends against prompt injection: Reports hidden instructions inside documents rather than obeying them.
How we built it
SKILL.md orchestrates UGREEN's three native expert agents (file-agent, document-agent, and knowledge-agent) in a strict read-only workflow, with only one write action: saving the final approved discrepancy report back to the NAS.
Challenges we ran into
Separating genuine billing discrepancies from normal construction workflows—such as valid split deliveries, duplicate scans, and missing PO references—without inventing confidence scores or labeling incomplete records as fraud.
Accomplishments that we're proud of
The Skill package passes the official UGREEN checker with zero errors, and we built a 27-document construction test project ready for NAS validation.
What we learned
An AI Skill is far more trustworthy when it distinguishes a documented explanation (like two partial deliveries totaling an order) from a genuine unresolved discrepancy.
What's next for Obligation Radar
Expanding from three-way material reconciliation into full contractor obligation tracking—monitoring contract payment schedules, retention amounts, and subcontractor milestones directly from the NAS.
Built With
- ai-skill
- construction
- document-intelligence
- markdown
- ugos
- ugreen-nas