Who it is forA freelancer or small business owner whose invoices and receipts arrive as files in one folder and need filing by hand each week.
The problemEvery new invoice or receipt has to be found and moved manually, which is easy to forget.
The outcomeA watcher on the folder runs your rule when a file lands, and the first look only sets a baseline so existing files are not handled.
What you need first
- The Bloks desktop app installed on your machine
- At least one provider you can use: a Claude Code, Codex or Gemini CLI you already signed in to, or an API key for a chat engine
- A project folder or files the agent is allowed to work in
- For the iPhone steps: the Bloks iPhone app and a six digit pairing code from your Mac
Steps
- Open the agent you want to handle the files and tell it in plain words what to do, for example: when an invoice lands in this folder, file it.
- Or ask the agent to keep an eye on the folder, and let it file the watcher itself.
- Choose whether the watcher should rehearse on a copy first, so you can check its first actions.
- Check the first runs in the conversation and the change card under each reply.
- Adjust or remove the watcher in the agent's settings if the rule needs changing.
Prompt for your agent
Using the Bloks repo at hamedgitty/bloks, set up a watcher on the folder <incoming-folder> that files new invoices into <filing-folder>. Expected output: a watcher entry plus a change card for each filed file. Verify that the first look only created a baseline and that the first real file was filed as your rule says.
Caveat. The README says a folder is seen within seconds and a watcher fires at most six times an hour, so bursts of files will be handled over time rather than all at once.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for hamedgitty/bloks and "File incoming documents from a folder automatically"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer