After the policy map comes practical hygiene: which task formulations and which data are safe in a free pipeline, which require anonymization, and which never go there at all. Pipeline practice shows: 90% of tasks run on “safe” data with no loss of quality.
The green list: safe for free
- Public documentation, articles, open repositories.
- Training and demo examples — fictional data.
- Technical questions without company context (“how to parse a date in Python”).
- Templates and rules (without mentioning clients or amounts).
- Translations and rewrites of public content.
- Anonymized structures: “client-1, amount-X, date-Y”.
The yellow list: only anonymized or paid
- Working documents with company metrics — replace names and figures with placeholders.
- Code with business logic — strip out domain constants, keep the skeleton.
- Client correspondence — generalize the scenario without names or amounts.
- Internal URLs and hostnames — replace them with examples.
Anonymization is a wrapper before the call: a replacement dictionary (real value → placeholder) and a reverse replacement after the response. For structured data it works nearly perfectly; for free-form text, look for indirect identifiers (rare addresses, deal details) manually or with a local model.
The red list: never in free
- Clients’ personal data (full names, phone numbers, addresses, passport details).
- Keys, tokens, passwords — any of them, even “test” ones (case: a key stolen from a chat conversation in 10 minutes).
- Commercial terms of deals, prices, NDA-covered material.
- Medical and financial data of specific people.
- Internal vulnerabilities and infrastructure data.
For the red list — local models (a GPT-OSS/Qwen layer on your own hardware) or vendor paid tiers with a no-training commitment. The complete system is in the provider logging map.
Hygiene in the project rules
## Privacy (in CLAUDE.md/AGENTS.md)
- Never paste keys, passwords, or tokens into prompts.
- Personal data only as placeholders (client-1, amount-X).
- Replace working domains and hostnames with examples.
- Before sending to an external API — check against the red list.A hook addition: an interceptor checks the outgoing text for key patterns (sk-, ghp_, nvapi-, AIza) and for the confidential list’s stop words. Instructions are requests; a hook is enforcement.
Case: a one-screen anonymization wrapper
A practical pipeline case: a wrapper before the call to a free API. The replacement dictionary is built before sending, and the response goes through a reverse replacement — the model answers about “client-1” while the customer receives an answer about the real client. All names, amounts, and addresses in the example are fictional. The skeleton of the logic in Python:
replacements = {
"Romashka LLC": "client-1",
"1 250 000": "amount-X",
"31.10.2026": "date-Y",
"ivanov@romashka.ru": "email-1",
}
safe_prompt = source_text
for real, fake in replacements.items():
safe_prompt = safe_prompt.replace(real, fake)
answer = call_free_api(safe_prompt) # call to the free layer
for real, fake in replacements.items():
answer = answer.replace(fake, real) # reverse replacementThree rules of the wrapper. First: the replacement dictionary lives next to the project and never goes into the request itself — otherwise anonymization loses its point. Second: before the call, the outgoing text is additionally checked by a hook for key patterns (sk-, ghp_, nvapi-, AIza) — the wrapper and the hook back each other up. Such a pair would have caught the chat-conversation key case too: the hook fires on the sk- pattern before anything is sent. Third: if the dictionary grows past a few dozen replacements, the task is by definition from the yellow list, and its place is in the paid or local layer.
For free-form text the wrapper is the first line of defense, not the last: indirect identifiers (rare addresses, deal details, project-specific terms) are reviewed by eye or with a local model before sending. For structured data — tables, exports, reports — the technique covers most of the yellow list with no loss of answer quality.
The economics of the technique are simple: five minutes on a replacement dictionary — and a yellow task runs in the free layer without a single secret. The wrapper pays for itself on the second task, and after that it simply works in the pipeline’s background. The dictionary only grows: every new yellow task adds a couple of lines to it, and finished placeholders are reused across projects.
Where the wrapper does not save you is also worth remembering. A free-form retelling of a client’s story contains no replaceable tokens but contains the story itself: the wrapper will replace zero occurrences, and the text goes to the free layer as is. The rule for such tasks: if there is nothing to replace, the task is from the red list and goes to the local layer.
Frequently asked questions
Are test keys safe? A test key with access to a test environment is a mid level; production keys fall under the red list.
What if a service says “data is not stored”? The free segment stores data en masse — even explicit warnings (Token Harbor, Mistral) are more honest than silence. Silence ≠ absence.
Does anonymization hurt quality? For most tasks — no: the model answers about “client-1” the same way it would about a name. Verify with a test on your own tasks.
How do you keep a team in check? A data map in the project + a rule in the memory files + a hook + a periodic history audit. Four layers — working hygiene.
What about images and files? The model sees everything attached: a screenshot of a real conversation is the same personal data, only as an image, and placeholders do not catch it. Before sending, black out the names and details or rebuild the mock with fictional values. A dashboard screenshot with figures goes through the same red list as text containing them.
Can you send the names of your own projects? A name without figures or clients is a yellow zone on the border of green: nobody will reconstruct the deal from it, but it reveals the domain of activity. It is safer to replace it with “project-1” — the quality of the answer does not change because of it.
What to do with session history? A history audit is part of hygiene: a search for key patterns and the red list’s stop words shows what has already leaked. A found key is revoked; found personal data is a reason to revisit the project rule. The audit runs on the same periodic cycle as the review of the project rules.
How do you explain the rule to the team in a minute? One sentence: “red is never sent, yellow only through the wrapper, green freely.” The list map in the project header makes the sentence checkable, and the hook turns it into automated control. A newcomer works from the map from day one, not from colleagues’ memory.
Data hygiene is not prohibitions but routing: green goes to the free layer, yellow goes anonymized, red stays local. The three lists above are ready-made project rules. The practice is current as of fall 2026.
