Topic 4 of 5 · 4 min read
Pruning stale files and memories
Goal: Review a project's files, instructions and memories and remove or update the items that would mislead the next answer.
Persistent context goes stale like any filing cabinet, so review it on a schedule and remove what would mislead the next answer.
Check yourself · 1 of 3
Your project holds both a 2024 and a 2026 price list. What is the best fix?
Why it matters
The model cannot tell that a file is old. If a price list from last year sits in your project, it will use it, and sound just as sure as with the new one. The same goes for a memory note that was true once, or an instruction written for a job you no longer do. These errors are quiet. Nothing warns you. The answer just comes out a little wrong each time.
A simple review routine
Do this monthly, or whenever the job changes.
- List what is there. Open the project and the memory page. Write down every file, instruction and note.
- Ask three questions of each item:
- Is it still true?
- Is it still needed for this job?
- Does it clash with another item?
- Decide. Keep, update, replace or delete. When unsure, delete: you can add it back.
- Replace, do not stack. Remove the old version when you add a new one. Two versions of one file are a trap.
- Test. Open a fresh chat, ask a question the old item would have affected, and check the answer.
Before and after
Before: A project has "prices-2024.xlsx" and "prices-2026.xlsx", plus an instruction: "Always quote in dollars". The business now sells in euros. Quotes come out with mixed currencies.
After: The 2024 file is deleted. The instruction now says "Quote in euros". Memory notes about the old currency are removed. A test quote comes out right.
What goes wrong
- Duplicate versions. The model picks one at random, or blends both.
- Instructions that stay behind. A rule for last quarter's campaign still shapes every answer.
- Memory drift. Small guesses saved as fact add up.
- Fear of deleting. People keep everything "just in case", and the pile grows until it hurts.
- No test after cleaning. You assume it worked and never check.
Examples
A quick audit table
| Item | True now? | Needed? | Action |
|---|---|---|---|
| price-list-2024.xlsx | No | No | Delete |
| Instruction: quote in dollars | No | Yes | Update to euros |
| Memory: lives in Leeds | Yes | Yes | Keep |
The test question
After cleaning, ask: "What currency should I quote in, and which price list are you using?" The answer shows whether stale items are still in play.
Key points
- The model cannot tell that a file or note is outdated, so it uses stale context with full confidence.
- Review project files, instructions and memories on a schedule and whenever the job changes.
- For each item ask: is it true, is it needed, does it clash with another item.
- Replace old versions instead of stacking new ones beside them.
- After cleaning, test with a fresh chat to confirm the old item no longer steers the answer.
Common mistakes
- Adding the new file without removing the old one.
- Never reading the memory list after the first week.
- Keeping everything out of fear of losing it.
- Not testing after changing instructions or files.
Check yourself · 2 of 3
Which question belongs in a review of each stored item?
Check yourself · 3 of 3
After deleting an old instruction, how do you check it worked?
Practice items, not counted towards your mastery.
Start here
- What are projects? (Claude Help Center) (opens in a new tab)DocsFree
How a Claude project keeps a knowledge base and custom instructions for every chat inside it.
- Projects in ChatGPT (OpenAI Help) (opens in a new tab)DocsFree
What a ChatGPT project holds: files, instructions and chats, and how sharing works.
- Memory in ChatGPT (opens in a new tab)ArticleFree
How saved memories and chat history references work, and how to view, delete or turn them off.