← Back to home

Too Many Files to Keep Up With? I Built a Local Service: Drop Them in a Folder, AI Renames, Sorts, and Indexes Them

Long-Form Video · EP0055 July 1, 2026 5:00
What this episode covers

In the AI era, my daily file output went from a handful to dozens or hundreds—web pages, proposals, audio, video, with bizarre names and every format under the sun. My old manual naming-and-filing system completely collapsed.

So I built a local background service: it watches an inbox folder, and every time a file lands, a model reads its contents, renames it, sorts it, and indexes it. A dozen seconds and it's done.

Companion files · Drop them into Claude Code

In the AI era, everyone’s capacity to process information has been multiplied many times over. I used to read and write maybe a few files a day, and I could manage them by hand quite neatly—building a personal knowledge system in Obsidian, Notion, or Evernote. Being the fussy, J-type person I am, I’d even work out a consistent naming scheme for every file before saving it, so I could find it later.

Then the AI era changed that. My daily output climbed to dozens of files, sometimes over a hundred, and keeping that manual system alive was beyond me. So I worked out an approach and put it into practice. I’m sharing it in the hope that it sparks something for you.

A local service that watches a folder

This little program monitors one folder on my machine. Every time I drop a file in, it uses a model to read the file’s contents, then automatically renames it, classifies it, and builds a thorough index—all according to my own habits.

The design goes like this. I have a temp folder holding everything I download plus every file people send me over chat apps. These files have bizarre names and come in every format imaginable. The background program continuously watches that folder for changes and determines the file type:

  • documents or images go to Claude, reading and viewing on subscription quota;
  • audio or video go to Gemini for analysis.

All I do is tell it my standard, drop the file in, and wait a moment. It sorts and processes everything the way I specified, and builds a thorough index I can page through in a browser. It splits things into folders by content type—the ones I use constantly are meeting notes, video scripts, health records, financial information, plus client proposals and knowledge and methodologies I’ve collected.

The key part: two retrieval middle layers

This approach fits me especially well, because a lot of what I produce with AI is web documents, or audio and video whose contents can’t be searched directly. The industry-standard Obsidian approach turns everything into Markdown files for storage and management. But staring at a pile of plain text littered with markup is hard work for a human—nowhere near as direct as just looking at the web page or the proposal itself.

But flip it around: web pages and multimedia are unfriendly document formats for an agent.

So I built two of what I call “retrieval middle layers.” There’s exactly one goal: when I need something, or an agent needs to call something, it knows which document to reach for and which pieces of information to pull into context for further processing. So after the model finishes reading a file, it doesn’t stop at giving it a memorable name—it boils the contents down to a short summary and tags it the way I’d tag it, which builds a directory listing meant for agents to read.

If what lands in the temp folder is a folder rather than a single file, it recognizes that too—and if it identifies the folder as a piece of software stored in folder form, it packs it into an archive and stores that. The whole process takes somewhere between a dozen and twenty seconds.

Demo: loose files in the root, everything in its place a dozen seconds later

Let me demo. This folder has already been through a first pass. Let’s simulate a mess: throw it some files with no names and no classification and watch what it does. Drop in what needs processing, wait a dozen seconds, and it finishes sorting on its own. Refresh the folder and the loose files in the root are gone—they’ve been moved into specific folders.

Open the video folder and you can see it renamed things in a standard format after interpreting the content: a specific date, the content type, then a one-line content summary. Same for audio. That image I just dropped in got automatically identified as “full-body character art of a male in 3D anime style” and stored in the right place.

This is only the first layer of organization. It also hooks into a lot of Claude Code scheduled jobs—for example, the financial folder has invoices in it, so it periodically fills out my expense reports from those invoices (I have a separate episode specifically on that skill and the invoice-filling capability). It also links this content back to my corresponding projects. How? Because it built a very detailed set of indexing rules and an index layer over those folders. Here are the ninety-odd files I haven’t archived recently. Every one has a filename plus a one-line index entry, so an agent can find it and call it fast.

The same goes for the web pages, other documents, and images Claude Code produces: they all get generated into this temp directory and renamed, classified, and stored in real time. And CC remembers the process, which eliminates the old embarrassment of wanting a file and not being able to find it.

It isn’t a skill, it’s a local service

To be clear: this isn’t a skill. It’s a local service I built. Take my source code and modify or extend it—everyone organizes files differently. But this approach genuinely satisfies my organizing compulsion, and it’s saved me an enormous amount of time.

Going further: distill your identity core

There are extensions worth trying. When I consult for clients, a lot of those web pages contain large amounts of my methodology, my views, my value ordering. One extra thing I do is periodically extract that material into an “identity core” document. With that document in place, Claude Code makes decisions and executes according to my value ordering when planning, drafting proposals, and doing the work—which makes my CC better and better.

That’s it for today. See you tomorrow.


Today’s service is fully open source and free (MIT); the repo is at github.com/xntj-ai/guiwei. It’s a local background service, not a skill—take the code, plug in your own model keys (documents and images via an OpenAI-compatible endpoint, audio and video via Gemini), tweak it to your own filing habits, and it’s ready.

The form that makes a file friendly to humans is usually the form that makes it unfriendly to agents—so I gave it two retrieval middle layers.