How to organise your company documents to work with AI

When we started letting AI agents work on our own folders, we ran an audit and got a surprise: 93% of the files we were syncing were not documents at all. They were around 124,000 internal pieces of software stored alongside the paperwork. Meanwhile, our client files did not even have an index.

If you already use Claude, ChatGPT, Gemini or any other assistant with your files, some of this will sound familiar:

  • The same contract appears three times: “contract final”, “contract FINAL (1)” and “contract final v2 good”. Nobody knows which one is valid.
  • To find anything, someone has to remember where it was saved. The knowledge lives in a person’s head, not in the system.
  • Every time the assistant starts a task, it reads through thousands of files to get its bearings. It is slow, and you pay for it.
  • Documents from different clients sit in the same folder. That is no longer untidiness: it is a confidentiality risk.

When only people are working, a mess is inconvenient. When an AI is working too, a mess becomes expensive and risky. So we rebuilt our document workspace from scratch, and this article explains how. At the end you can download the full guide, free and without leaving any details.

You don’t need any special software

The method works on ordinary folders (OneDrive, Google Drive, Dropbox or a shared drive) and plain text files. It is not a product you buy: it is a set of rules. They are the same rules any library has followed for centuries (separate rooms, numbered shelves, a card for every book and a general catalogue), applied to your folders.

Three principles behind everything

When a question comes up that no rule answers, these three ideas decide it.

1. Saving is never blocked; tidying can wait. If saving a file meant naming, classifying and logging it on the spot, people would go back to saving everything on their desktop. So any file can come in as it is, into an inbox folder. Tidying it is a later job, done by an agent following rules. A client sends you a photo of a receipt at seven in the evening: you drop it in the inbox and carry on. The next day, the agent names it, classifies it and files it.

2. The machine pays for checking, not the person or the agent. If every task starts by reviewing the whole structure, the same work is repeated a hundred times. Checks run once a week, automatically, with nobody watching. Whoever is working gets their bearings by reading one small file, never the whole tree.

3. Disorder is not the real problem; disorder nobody can see is. A document left unclassified for a week can still be found. What cannot happen is for it to drop off the radar. So the system measures and reports what is pending, instead of hiding it or pretending it does not exist.

In practice: people work freely, agents tidy with discipline, and the machine checks that both still add up.

The file name does all the sorting

A file’s name is its first index card. With a single format, everything sorts itself when you list a folder, without anyone arranging it by hand. Ours looks like this:

2026-03-12_NOTICE_vat-q4-2025-information-request.pdf

  • The date first, as year-month-day. That way alphabetical order is also chronological order. And it is the date of the document, not the day you downloaded it.
  • The type, in capitals, from a closed list: contract, report, notice, minutes and so on.
  • A short description in lower case, with words joined by hyphens. No client name: the folder already says that.
BeforeAfter
Contract FINAL (1).docx2026-02-01_CONTRACT_services-agreement.docx
scan_0415.pdf2026-04-14_RETURN_vat-q1-2026-receipt.pdf
Summary 2025 - v2 new.xlsx2026-01-31_REPORT_summary-2025_v2.xlsx

Accents, spaces, odd symbols and, above all, the words “final”, “definitive”, “copy” and “new” are banned from file names. Whether a document is a draft or current is recorded inside it, never in its name.

Folders follow the same logic: fixed numbering (01_Onboarding, 02_Tax, 07_Notices and so on), identical for every client. Folder 07 is always official notices, whoever the client is.

Four files that explain every folder

At the top level and in every client folder there are the same four text files. They let an agent, or a new member of the team, understand the folder in a minute without opening anything else:

  • CLAUDE.md (in other tools, AGENTS.md or README.md): how work is done here. It is the first thing the agent reads.
  • profile.md: who the client is and where things stand.
  • index.md: what is there and in what state.
  • log.md: the diary. What was done, why, and which files were touched. New entries go at the top and past entries are never rewritten.

This is where we learned an expensive lesson. The index for one of our clients grew to 1,225 lines that only said “pending”. Every agent that opened that client spent around 26,000 tokens (the unit an AI’s work is measured and billed in) just reading it, and about the same again updating it. Since then, the index is a map, not an inventory: it points the way, and the full list lives in a single general catalogue that regenerates itself.

The most important rule: when in doubt, the agent stops and asks

An agent that never asks is probably guessing. In our method there are situations where the agent is not allowed to carry on:

  • If a document belongs to someone who is not on the client register, it does not create a new folder. It leaves the file in the inbox with a note: taking on a client is a business decision, not a filing one.
  • If something fits no category, it does not invent one.
  • It never writes a password into a file, and it never touches the folder where certificates are kept.

And one boundary we think matters for any company: filing organises; it does not rule. The agent that files classifies, names, places and logs. It does not judge whether a letter from the tax authority has been answered correctly, and it does not work out a deadline. If something catches its attention, it flags it as “pending, not reviewed” for the person in charge. The reason is simple: a conclusion written by someone who has only been sorting paper looks exactly like a verified one, and the next person will take it at face value.

What we learned by measuring

Almost every rule in the method comes from something we measured in our own workspace:

  • 240 old invoices renamed automatically ended up worse than before. The software took “Paid” as the supplier name and changed dates. Lesson: legacy files are not mass-renamed; they are recorded.
  • 343 false “pending” items a week came from files that two long-running projects regenerate on their own. Lesson: those projects are governed as a block, not piece by piece. Noise buries the signal.
  • From 1,606 to 722 pending items once we stopped measuring “unclassified documents” and started measuring “documents that should be classified and are not”. Lesson: measure what matters.

How to get started in your company

  1. Audit before you move anything. Take stock and measure. Without a starting picture you will not know whether you are improving.
  2. Separate the company from its clients, and decide which folders each type of client needs.
  3. Set a naming convention and closed lists of types and statuses.
  4. Create the governance files, starting with the rulebook at the top level.
  5. Move in small, reversible batches. Start with one pilot client.
  6. Automate the review: a weekly task that checks the rules and leaves a record.

Download the full guide (free, no sign-up)

We have put everything into a 22-page guide, in plain language with fictional examples. It includes the full folder structure, a naming cheat sheet, the index card for each document, the eight-step filing protocol, a worked example from start to finish and a ready-to-copy prompt for Claude, ChatGPT, Gemini or any other assistant, so it works by the same rules.

Download the guide (PDF) · Download the prompt (plain text)

No forms, no emails. Feel free to share it.

© 2026 Stoa Global Consulting S.L.U. Text and illustrations licensed under CC BY 4.0: you may share and adapt them, crediting Stoa Global Consulting and linking to stoaglobalconsulting.com. The licence does not cover the Stoa Global Consulting name and logo as a trade mark (Spanish registered trade mark no. 4,349,751).

And if what keeps you up at night is the numbers

Getting your documents in order is the first step towards decisions based on reliable information. Stoa is a fractional CFO services firm based in Málaga: we look after accounting, tax and management control for SMEs and start-ups in Spain, and we work this way, with AI and with order, on our clients’ documents too.

Want to talk about your company’s numbers? Get in touch.

This article describes a document organisation method. It does not constitute legal, tax or investment advice.

Frequently asked questions

How do I organise my company’s documents to work with AI?

Keep the company’s own documents separate from client documents, use fixed folder numbering and a single file name format (year-month-day date, type and description), and add a few text files to each folder that explain what is there and how work is done. That way the assistant gets its bearings by reading very little, instead of going through thousands of files.

What is the best way to name files?

Put the document’s date first in YYYY-MM-DD format, so alphabetical order matches chronological order; then the type in capitals and a short lower-case description. No accents, no spaces and no words like “final” or “definitive”: the status belongs inside the document.

Do I need document management software?

No. The method works on ordinary OneDrive, Google Drive, Dropbox or shared-drive folders and plain text files. The rules make it work, not the software.

Does it work with ChatGPT, Claude or Gemini?

Yes. The guide includes a prompt to paste into the instructions of a project or custom assistant in any of them. If the agent works directly on your folders, the same text is saved as CLAUDE.md or AGENTS.md at the top level.

Is the guide free?

Yes. It downloads directly, with no form and no email address, and it is published under a CC BY 4.0 licence: you may share and adapt it, crediting Stoa Global Consulting.

Sobre el autor

¿Reconoces alguno de estos errores en tu empresa?