How to update CLAUDE.md when it's out of date and Claude keeps following old rules
Your CLAUDE.md still describes last month's project, and Claude Code keeps working from it.
To update CLAUDE.md, run /doctor prompt-audit to find outdated or conflicting lines, then open the file with /memory and fix them. For the decisions that changed outside the repo, ReMynd's Claude switch lets Claude Code search your screen history, so it can look up what you read in a Slack thread or a shared doc after you installed ReMynd.
Anthropic's docs say the audit requires Claude Code v2.1.283 or later, and that nothing in your files changes until you ask Claude to apply its proposed edits.
CLAUDE.md out of date because the real decisions happened in Slack threads and docs? Let Claude Code search what you saw. Download the ReMynd desktop app
Why does CLAUDE.md go stale in the first place?
In our view, CLAUDE.md goes stale because the things that changed are often things Claude can't see. Anthropic's best practices say Claude starts every task by reading your code and finds your file layout and conventions there. What it can't find is the information that was never in the repo, like a decision your team made in a meeting. We think that's the part of CLAUDE.md that goes stale fastest, because nobody writes it down when it changes.

Illustration made for this post: audit, edit, trim, then add what changed outside the repo.
The 4 pillars of a CLAUDE.md that stays current
A CLAUDE.md stays current when you audit it, edit it, keep it short and add what the repo can't show.
- Audit it. Anthropic's memory docs say
/doctor prompt-auditlooks for problems such as instructions written for older models, references to files or commands that don't exist, and files that contradict each other. - Edit it where it lives.
/memorylists your CLAUDE.md, CLAUDE.local.md and other memory file locations, and selecting a file opens it in your editor. You can also ask Claude directly, like "add this to CLAUDE.md". - Keep it short. The docs say to target under 200 lines per CLAUDE.md file, because longer files consume more context and reduce adherence. Instructions that matter for only part of the codebase belong in path-scoped rules.
- Add what the repo can't show. The best practices list decisions that aren't in the repo and anything you've had to correct twice already as things the file should hold.
Which tool fixes which kind of stale?
Each kind of stale CLAUDE.md has its own fix in Claude Code. Each row comes from Anthropic's docs as of December 2026, except the ReMynd row.
| Symptom | What to run or do | Source |
|---|---|---|
| Old commands, missing files, contradictions | /doctor prompt-audit, then ask Claude to apply the edits you agree with | Anthropic memory docs |
| You don't know which files loaded | /context all, then check the list under Memory files | Anthropic memory docs |
| You want a fresh pass on an existing file | /init, which suggests improvements rather than overwriting it | Anthropic memory docs |
| The file is too long | Trim it, or move part-only instructions into path-scoped rules | Anthropic memory docs |
| Claude makes the same mistake a second time | Add the correction to CLAUDE.md | Anthropic memory docs |
| A decision changed in Slack, a call or a doc | Ask Claude Code to search your screen history, then write the line yourself | ReMynd's Claude Code page |
How do I update an out of date CLAUDE.md?
Use this simple decision path, in order:
- Check what loaded. Run
/context alland look under Memory files. If a file is missing there, Claude can't see it. - Run the audit. Run
/doctor prompt-audit. You get a report of findings with proposed edits. - Apply what you agree with. Ask Claude to apply those edits. Nothing changes until you do.
- Edit by hand. Run
/memory, open the file, and delete lines that no longer match how the project works. - Trim. Get under the line target above. Move rules for one part of the codebase into path-scoped rules.
- Add this week's decisions. If ReMynd was running, ask Claude Code something like "search ReMynd for what we decided about deploys in Slack this week", then write that decision into CLAUDE.md yourself.
- Re-check. Start a new session and run
/context allagain.
How does ReMynd help with CLAUDE.md?
ReMynd records your computer screen, makes it searchable, and keeps the searchable index on your computer. Its Claude Code page has the setup on a Mac:
- Download ReMynd for Mac, grant screen-recording permission, and let it run. There is nothing to search until it has been recording. Apple's guide says that permission lives in System Settings under Privacy & Security, Screen & System Audio Recording.
- In ReMynd, open Settings → Integrations and turn on Claude Code.
- In a terminal, run
~/.local/bin/remynd help. - Ask Claude Code about something you saw, like a stack trace, a config value, or a page you had open.
That page calls it context at the moment you ask, not a copy of your screen that Claude keeps. CLAUDE.md is still the file you own.
What are the limits?
- ReMynd's Claude Code page describes searching and reading your history, not writing CLAUDE.md. You write the lines.
- ReMynd captures only what is on your screen, starting from install. It cannot recover past work, and it cannot see background or cloud agents. Text recognition reads the window you're working in, not the ones behind it.
- Claude Code does not get ReMynd's MCP server automatically. It gets the ReMynd command and a skill, and the CLI page has the steps to add the helper yourself.
- Claude Code uses Anthropic's model under your account, so what it retrieves may be sent to that model, the same way anything you paste into it would be.
- Anthropic's docs say CLAUDE.md is context, not enforced configuration. To block an action regardless of what Claude decides, they point to a PreToolUse hook instead.
- These steps match Anthropic's docs on the date above. The audit needs the version above, and it's unavailable while the bundled /claude-api skill is turned off.
- On a Mac, ReMynd needs Apple silicon and macOS 15 or later. ReMynd also runs on Windows 11 (x64 or arm64).
The short version
Audit, edit, trim, then add the decisions that never made it into the repo. If the same repo also has an AGENTS.md for Codex, AGENTS.md vs CLAUDE.md covers which file each agent reads by default. If Claude keeps proposing a fix you already ruled out, read Claude Code keeps suggesting the fix I already tried.
Tired of CLAUDE.md lagging behind decisions made in Slack threads and docs? Let Claude Code search what you saw. Download the ReMynd desktop app