Make Claude use a big folder of files properly with Claude

The struggle: You upload a pile of files to a Project and Claude misses facts it should have found, so you do not trust any answer.

What you end up with: A Project set up with a file index and a test set of questions, so you know when Claude finds the right fact.

Big folders hit the context window, and a Project then switches to retrieval, which can miss details. Add an index, split messy files, and test with questions whose answers you know.

Tools: Claude. Level: Pro. Time: 45 min.

Use it if

  • You uploaded many contracts, notes or reports
  • Answers feel patchy or sound confident but wrong
  • You rely on the answers for client work

Skip it if

  • Your files would fit in one chat anyway
  • You need exact figures from tables, which belong in a spreadsheet

What you need first

  • A paid Claude plan
  • A folder of files you can read yourself

The method

  1. Load the files with clear names (Claude: Projects)

    Open Projects, click + New Project and click + on the project page to add your files. Rename files before upload so each name says what it is, and split files that mix several topics.

    You get: A Project with sensibly named files.

    Tip: Names help you check later. 'Notes final 3' tells nobody anything.

  2. Build a file index (Claude: Chat)

    Ask Claude to list every file and what it contains. Check the list against your folder, and save the final index as one more file in the Project.

    Prompt to copy:

    List every file in this Project, one line each: the file name, what it contains, its date if stated, and the questions it can answer. If a file is empty, unreadable or looks truncated, say so. Do not summarise anything you cannot see.

    You get: An index file you checked.

    Tip: If Claude lists a file wrongly, the file may not have been read. Re-upload it.

  3. Write retrieval rules (Claude: Projects)

    Click Set project instructions, add rules that make Claude name the file for every fact, and click Save instructions.

    Prompt to copy:

    For every answer, name the file and the passage you used. If the files do not contain the answer, say 'not in the files' and stop. When two files disagree, show both and do not choose. Never fill gaps from general knowledge.

    You get: Instructions that force sources.

    Tip: Insist on a file name for every answer. A fact with no file is a guess.

  4. Test with known answers (Claude: Chat)

    Write ten questions whose answers you already know from the files, including two with no answer. Ask them in a new chat and mark each right, wrong or missed. A Project switches to retrieval mode on paid plans when knowledge nears the context window.

    Prompt to copy:

    Answer these test questions from the Project files only. For each: the answer, the file name, and your confidence. If you cannot find it, say so. Questions: [paste ten]

    You get: A score that shows if retrieval works for you.

    Tip: Include a question about something small and deep in a long file. That is where retrieval misses.

  5. Fix what failed (Claude: Chat)

    For each miss, ask Claude where the fact lives. Split that file, rename it, or move the fact into a short summary file, and retest. Keep a person checking any answer that goes to a client.

    You get: A Project that passes your test set.

    Tip: Retest after every change to the files. Otherwise old tests tell you nothing.

Where this goes wrong

  • Retrieval can miss details in long files. Never treat a missed fact as proof it is not there.
  • Check every figure or quote against the source before it goes to a client.
  • Scanned PDFs and images may not read well. Test them separately.

Sources

More like this

Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.