You would like to ask Claude for a summary of the documents, a timeline or a first draft of a formal notice. But the documents hold the name of your client, the name of the other party, an address, an IBAN. RAGbase Shield is made for this moment.
You add Shield to the Claude app, on Mac and on Windows. For the folder you choose in the Shield window, it replaces the names with codes, on your computer, before Claude reads the documents. Facts, dates, amounts and the law stay readable: Claude can do the work. The real names come back only on your computer, in the final document.
Shield is free and open source. To try it, open the Install page on the computer where Claude is installed.
What Shield changes for you
- You use Claude on a client folder: a summary, a timeline, a draft letter or draft pleadings.
- Claude reads the documents with codes in place of the names: PERSONNE_A, SOCIETE_A, IBAN_1.
- The law stays readable: articles, courts, laws, dates and amounts stay as they are.
- The real names come back in the final document, on your computer.
- Shield runs on your computer and sends nothing to RAGbase.
Add Shield to Claude
You need the Claude app, on a Mac or a Windows PC, with a paid Claude plan. Open it and sign in before you click.
- On the Install page, click the button for your computer: “Add Shield to Claude on Mac” or “Add Shield to Claude on Windows”.
- The Claude app opens. Click “Sync”, then “Add”.
- Claude explains that Shield holds a program that runs on your computer. This is normal: this program keeps your original documents and the real names with you. Click “Continue”.
That is all: nothing else to install. If your Claude app is in French, the three buttons are named “Synchro”, “Ajouter” and “Continuer”. In a firm with a Claude Team or Enterprise account, the administrator can block the adding of Shield: ask the administrator to allow it.
Protect a client folder
- Open a new conversation and write “Protect a folder with Shield”. If your Claude app has a “Cowork” tab, open the conversation in that tab.
- A RAGbase Shield window opens on top of Claude. Choose the folder of one client (2,000 files or 2 GB at most). On a Mac, the first time, macOS may ask you to allow access to the folder: click “Allow”.
- Shield gives Claude a code, for example DOSSIER_1, and reads the folder on your computer.
- Ask for your work, for example: “Summarise the documents of DOSSIER_1 and draw up a timeline of the facts”.
Claude reads the documents with codes in place of the names, and answers with these codes. Inside one client folder, a person keeps the same code. “M. Mercadier”, “Thibault Mercadier” and “MERCADIER Thibault” all become PERSONNE_A (a fictional example). So Claude can follow a person from one document to the next. To talk about a person in the conversation, write their code or their role, such as “the landlord”, not their name.
Get the final document, with the real names
When you are happy with the work, write “Save the final document with Shield”. Shield writes the document, with the real names, into the “Shield - sorties” folder, inside the client folder. Claude only gets a confirmation and a file code, without the real names. Open the document on your computer and check it before you send it.
What leaves, what stays with you
What reaches Anthropic, the provider of Claude: the masked text with codes, the facts, the dates (except dates of birth), the amounts, the courts, the laws, the articles cited, the folder code (DOSSIER_1) and your question.
What stays on your computer: the real names and the real numbers, the table that links codes to names (encrypted), its key, the real name of the folder and the final document.
This is local, reversible pseudonymisation, not anonymisation. Masking everything is easy, but then Claude cannot do the work. Shield masks your clients’ data and keeps the law readable. On the four French benchmarks of the Results page, Shield has the highest overall score (F1) of the tools compared, for example 96.9 on FR-PII-Bench.
What is not protected
Shield protects only what goes through it. Only the folder chosen in the Shield window is protected. These three actions are not protected:
- attaching a file to the conversation;
- choosing a folder near the message field (the work folder of the conversation);
- typing or pasting text with real names.
Remember this sentence: “Do not attach documents and do not choose the folder near the message field: only the folder chosen in the Shield window is protected.” Text already sent cannot be recalled.
The limit to know
Detection is never complete: a rare name can slip through, so check the sensitive passages and the final document. Shield does not read scanned PDFs, because it has no OCR: it tells you so. The other limits are on the Limits and compliance page.
Try Shield on your next client folder
Shield is free and open source (Apache-2.0 licence), and its code is public on GitHub. It runs on your computer and sends nothing to RAGbase. You only pay for your Claude plan.
To start, open the Install page and click “Add Shield to Claude on Mac” or “Add Shield to Claude on Windows”. Then open a new conversation and write “Protect a folder with Shield”. To see the masking without installing anything, try the demo.
Sources
- The Install, FAQ, Results and Limits and compliance pages of this site.
- Public source code of RAGbase Shield: https://github.com/ragbase/ragbase-shield