Inspiration

Filling in a form is mostly a scavenger hunt. A visa application wants your passport number, every address you've lived at and every country you've visited in the last five years. A supplier security questionnaire wants your encryption policy, your certificate numbers and how long you keep customer data. The answers almost always exist already, in scans, PDFs and phone photos sitting on a NAS. What's missing is someone to go and dig them out, and nobody wants to upload a passport or an internal security policy to a cloud chatbot to do it.

The UGREEN AI NAS already has experts that read documents, search photos by place and time, and save text, all on the device. Put together, that's the whole scavenger hunt. Before committing to the idea, I went through every public entry I could find for this hackathon. Receipts and warranties, insurance claims and photo albums had each been built dozens of times. No public entry answered a form's questions:

$$\frac{\text{entries that answer a form's questions}}{\text{public UGREEN entries}} = \frac{0}{468}$$

That settled it.

What it does

You give Uliya a form, say who it's about and which folders it may read. The form can be a PDF, a Word file, a photo of a paper form, or a list of questions pasted into the chat. Form Filler then:

  • answers each question from your own files, quoting the file and the exact line it came from;
  • says not found instead of guessing when no file supports an answer;
  • shows conflicting values side by side, for example two leases with two different addresses, and lets you choose;
  • rebuilds address, job and travel history: addresses from leases, jobs from payslips and contracts, and "countries visited in the last five years" from photo locations, cross-checked against boarding passes and visas;
  • handles forms that cover several people, such as a spouse and children, using only each person's own documents;
  • never answers declarations or legal questions such as "Have you ever been refused a visa?"; those always go back to you;
  • for teams, reuses last year's approved answers from a shared answer library and flags the ones whose sources have changed;
  • saves one dated answer sheet after you approve it, with the modified time and SHA-256 checksum of every cited file, so it doubles as an audit record.

It works the same way for a household filling in a rental application and for an office answering a bank or tender questionnaire. Identity numbers are masked in the chat, and the Skill calls no outside services.

How I built it

I built it with the official UGOS Skill Creation Tool (uliya-skill-kit 0.7.3). A Uliya Skill is pure Markdown: no scripts and no code, just an orchestration plan that hands each job to a registered expert. So the first step was the capability catalog, which lists 6 experts, 9 CLIs and 78 actions, and finding the smallest set that covers the job:

  • ug-document (document-agent) reads the form and answers questions with quoted evidence.
  • ug-photo (photo-agent) reads photographed forms and finds trips by location and date.
  • ug-filesystem (file-agent) finds source files in the approved folders and fingerprints them.
  • ug-knowledge (knowledge-agent) saves the approved answer sheet.

The workflow has ten steps and eight delegations. Nine steps only read; the tenth is the single write, and it waits for your approval and never overwrites anything. Each step passes forward only the real result of the step before it.

A few simple rules do most of the work. A question becomes a conflict when its sources disagree, where V(q) is the set of distinct values found for question q:

$$\text{conflict}(q) \iff \lvert V(q) \rvert > 1$$

Trips are split into separate visits whenever there's a long gap between consecutive photos taken in the same country:

$$\Delta t > 30\ \text{days} \;\Rightarrow\; \text{a new visit starts}$$

And because the saved sheet stores each source's checksum h, anyone can re-check it later:

$$h(\text{file today}) \neq h(\text{file in the sheet}) \;\Rightarrow\; \text{the source changed after we answered}$$

The package also includes four reference files: the answer-sheet format, the travel-history rules, setup and testing notes for households and teams, and the hackathon disclosure.

It passes the official checker with 0 errors and 0 warnings, but it hasn't run on a NAS yet. Device testing happens on the finalist testing day, so this story describes the designed behaviour.

Challenges I ran into

  • The template failed its own checker. The kit's starter template uses headings and an evidence-line format that the static checker rejects. I stopped treating the docs as the spec and treated the checker as the spec, until it reported 0 errors and 0 warnings.
  • Innocent words break the build. An apostrophe inside a single-quoted delegate line, the American spelling "canceled", or a README in the ZIP are all errors. I rewrote every instruction to avoid possessives entirely.
  • Experts only talk through one-line instructions. There's no shared memory between them, so big hand-offs are impractical. I kept the steps small, capped each run at 25 questions and send them to the experts in batches of eight.
  • The local model may not know today's date. "The last five years" means nothing without it, so the Skill confirms exact start and end dates with you before it searches.
  • The docs disagreed about OCR. Some builders reported that the document expert can't read scanned images, while UGREEN's FAQ says it can. I designed a fallback that reads the photo with vision-ocr if the first read fails.
  • Not overclaiming. I wanted to say "enterprise archiving", but the catalog has no retention, legal-hold or backup actions. So Form Filler produces auditable, fingerprinted records and leaves long-term retention to UGOS snapshots and backup. That's honest, and still useful.
  • 500 words is not a lot. The proposal's ten answers had a hard budget:

$$w(1) + w(2) + \cdots + w(10) = 470 \le 500$$

What I learned

  • "Not found" is a feature. A confident wrong answer on a visa form is worse than a blank.
  • An orchestration Skill is really a contract: every step has to say what it receives, what it returns and what happens when the result is empty.
  • Some questions should never be automated. Declarations and legal questions always go back to the person who signs the form, even when a file seems to answer them.
  • Privacy is mostly design. One approved write, masked numbers in the chat and nothing sent to outside services build more trust than any promise in a description.
  • The novelty came from combining capabilities around a job everyone has (documents, photo locations and time) rather than from one clever feature.

What's next

  • Validate everything on a real iDX6011 Pro: OCR on photographed forms, per-country photo dates, and reuse checks against a real answer library.
  • If UGOS adds a way to write into PDF form fields, fill the original form directly instead of producing an answer sheet.
  • Translate foreign-language forms, so the questions and the answers can be in different languages.

Built With

  • agent-skills
  • ai-nas
  • document-ai
  • exif
  • form-automation
  • human-in-the-loop
  • idx6011
  • local-llm
  • markdown
  • multi-agent
  • nas
  • ocr
  • on-device-ai
  • privacy-first
  • questionnaire
  • self-hosted
  • sha-256
  • ug-document
  • ug-filesystem
  • ug-knowledge
  • ug-photo
  • ugos
  • ugreen
  • uliya
  • uliya-skill-kit
Share this project:

Updates

Submission history