AI engineering · 1 December 2026 · 11 min read
Delete your instructions? What to do about the prose that goes stale in your codebase
Claude Code's creator says to delete your AI instruction files every few months and see what the model does without them. He has a point, and it reaches well beyond AI: every codebase is full of prose that quietly stops being true. Here's what to delete, what to turn into checks, what to keep, and what to watch now that tools ship their own instructions.
- AI engineering
- AI coding agents
- Documentation
- Security
- For CTOs and tech leads
- For engineers
In this article
- What did Boris Cherny actually say?
- Why does prose go stale?
- Why does it matter more with AI agents?
- So should you delete it all?
- How do we keep our own prose from going stale?
- What about instructions you didn't write?
- What are the trade-offs?
- What does this mean for your business?
- What should your team do first?
- FAQ
The short answer: Prose in a codebase goes stale because nothing fails when it's wrong. A test that no longer matches the code turns red. A README, a code comment or an AI instruction file that no longer matches the code just sits there being believed. With AI agents that's worse than it used to be, because agents read your prose literally and act on it, so a stale sentence becomes a wrong action. The answer isn't to write no prose, and it isn't to keep everything. It's to sort it: delete what the model or the code already says, turn every rule you can into a check that fails, and keep the prose that only a person could write, the why, in one place, short, and checked where you can.
What did Boris Cherny actually say?
Boris Cherny, who created Claude Code, has been giving people some surprising advice: every six months or so, delete your CLAUDE.md file, your skills and your hooks, and see what the model does without them. His point is that models improve faster than our instructions do. Pages of guidance written to steer last year's model often just get in the way of this year's. Anthropic reportedly took the same medicine itself, cutting most of Claude Code's own built-in system prompt for its newest model because the model no longer needed it. (Coverage of the remarks.)
Most write-ups read it as an experiment rather than a clean-out: remove everything, watch what the model does, and add an instruction back only when it gets the same thing wrong more than once. Several also point out the exception: hooks that block destructive commands or enforce security rules aren't advice the model will grow out of, and should stay.
In the same week, Anthropic went a step further in the same direction. MCP servers can now ship their own skills: connect a tool like a CRM or a ticketing system, and it brings its own instructions for how to use it. You write less, and it works out of the box. But, as plenty of people have noted, those instructions now come from the company behind the tool, and they can change whenever the server does.
Both stories are about the same thing, and it isn't really AI. It's prose: text in or around your codebase that tells someone, person or machine, how things work. And prose has a well-known problem.
Why does prose go stale?
Because it isn't connected to anything.
Code is checked every time it runs. Tests are checked every time they run. Prose isn't checked at all. Change the code and the comment above it stays exactly as it was. Rename a service and the README still describes the old name. Change how deployments work and the runbook still lists the old steps. Nobody is careless. There's simply no moment at which anything tells them the prose is now wrong.
So prose decays quietly, in a few familiar ways:
It describes a state that no longer exists. "The payments service is being migrated to the new queue." It was, two years ago.
It repeats something said elsewhere. The same rule written in three files, updated in one.
It explains code that has since changed. The comment says the function retries three times. It hasn't for a while.
It was written for someone who no longer needs it. A paragraph warning about a pitfall the framework fixed, or a model weakness the next model doesn't have.
It's simply too long to read. Past a certain length, people skim, and agents follow whichever part they weigh most.
Why does it matter more with AI agents?
A person reading a stale README usually notices something's off. The service it names doesn't exist, the command fails, they ask a colleague. Stale prose costs them some time.
An agent is far more literal. If your instructions say "always run the old migration script before deploying", it will try to. If the architecture document says two services talk directly to each other, it will write code that assumes they do. If two files give slightly different rules, it will pick one, and you won't know which. Agent instructions aren't documentation any more. They're closer to configuration, and stale configuration produces wrong behaviour.
It also matters because agents will happily write more prose. Ask one to document something and you'll get a long, confident, well-structured page, accurate on the day it's written and unchecked from then on.
So should you delete it all?
Not quite. Cherny's advice is a good test, but "delete everything" taken literally throws away the parts that matter most. The useful question isn't "do we have too much prose?" It's "what kind of prose is this?" There are roughly four kinds, and each wants different treatment.
1. Prose the model or the code already says: delete it
"Write clean code." "Use descriptive variable names." "This function adds two numbers." Anything a good model does by default, or the code says plainly, is noise. It costs reading time, it can go stale, and it adds nothing. This is the part Cherny's experiment finds: delete it, and nothing changes.
2. Rules: turn them into checks
"Never commit secrets." "Every public route must require sign-in unless listed." "No commit over a hundred files." These are rules, and a rule written as prose is a rule waiting to be broken, by a person on a deadline or an agent that skimmed. Wherever a rule can be checked by a machine, make it a check: a test, a linter, a hook, a commit gate. Then the prose can shrink to one line saying the check exists and why.
This is also why the exception for security hooks matters. A hook that refuses a dangerous command isn't instructions. It's a check. It doesn't go stale in the same way, because the moment it stops matching reality it fails, loudly.
3. Reasons and decisions: keep them, short and in one place
"We chose the slower database because the client's data must stay in one region." "We tried caching here; it caused stale prices; don't." No model can work these out from the code, because they aren't in the code. They're the history and the intent behind it. This is the most valuable prose in a codebase, and the most likely to be lost in a clean-out. Keep it, write down who decided it and when, and keep it in one place so it's said once.
4. State: keep it out of the instructions
"We're halfway through the migration." "Staging is running last week's build." State changes daily, so prose describing it is stale almost immediately. Keep state in one clearly named place that's expected to change, like a handover note or a status file, and keep it out of the files that say how to work. Then the how-to-work files only change when the way of working does.
How do we keep our own prose from going stale?
Our own projects carry a fair amount of prose for agents, because we run a lot of them. Here's what keeps it from rotting:
Each rule is written once and cited, never restated. Rules live in one set of files, each with a short ID. Everything else refers to the rule by its ID. A check fails if the same passage of eight or more words appears in two instruction files, or if a file cites an ID that doesn't exist.
Instructions say how to work, never what state things are in. State lives in a single handover note, rewritten at the end of each working session, and a check makes sure it's there and current.
Every rule that can be checked is a check. Commit size, secret scanning, which routes are public, which files an agent may touch: each is enforced by a hook or a test, and each of those has been seen to fail on purpose. The prose just says why.
Instruction files are small. Our main one is a page or so, mostly pointers. Detail loads only when an agent touches the part of the code it's about.
Lessons are short and dated. When something costs us, we write down what happened and what to do instead, the same day, with the date. A lesson with a date can be judged later. One without looks equally true forever.
None of this makes the prose permanent. It makes it cheap to find what's wrong and safe to delete what's no longer needed.
What about instructions you didn't write?
This is the point the MCP skills news raises, and it's a fair one. A skill that ships with a tool is prose too, but it's prose you didn't write, don't review and can't see change. If the vendor updates it, your agent's behaviour changes without a single commit in your repository.
That isn't a reason to avoid it. Vendor-written instructions are often better than anything you'd write about their tool, and they'll be kept up to date by people who know it. But it's worth treating them the way you'd treat any dependency:
Know what's installed. Which tools bring their own instructions, and what can they do?
Read them once. At least the first time. You'd read a script before running it.
Keep your checks yours. A vendor's instructions can change how an agent uses their tool. They shouldn't be able to switch off the checks that protect your code, your data or your production systems. Those live in your hooks, your tests and your permissions, where only you change them.
Prefer tools whose instructions you can pin or review. Where a version can be fixed, or changes can be seen before they take effect, use that.
The less prose you write yourself, the more your safety rests on checks rather than words. That's a good trade, as long as the checks are actually there.
What are the trade-offs?
Deleting saves attention, but loses history. Delete the "why" and someone, or something, will make the same mistake again. Delete the restated rules and generic advice first. Delete reasons last, and only when they no longer apply.
Checks are reliable, but slower to write. A one-line instruction takes a minute. A check that enforces it might take an hour. For rules that matter, that's cheap. For preferences, a line of prose is fine.
Short instructions rely on a good model. Cherny's advice assumes a strong recent model. With a smaller or older one, more guidance may really help. Test, don't assume.
Vendor instructions save effort, but move control. You get working tools faster, and you accept that their behaviour can change outside your review.
Checking prose is possible, but partial. You can check for duplicates, dead references and missing files. You can't check whether a reason is still true. Dates and a regular review cover the rest.
What does this mean for your business?
Your codebase almost certainly contains instructions that are no longer true, in READMEs, wikis, runbooks, code comments and, increasingly, in files written for AI agents. Each one is a small chance of someone, or something, doing the wrong thing with confidence.
The fix is cheap. Find the prose, sort it into the four kinds, and treat each as it deserves. You'll end up with less to read, rules that hold whether or not anyone read them, and the reasons behind your decisions kept where the next person can find them.
What should your team do first?
Try Cherny's experiment, carefully. On a branch, remove your AI instruction files, but keep the hooks and checks that enforce safety. Run a few real tasks. Add back only what the model actually needed.
Find one rule that only exists as prose, and turn it into a check.
Search for duplicated instructions. Any rule written in more than one place is already on its way to disagreeing with itself.
Move status out of how-to documents and into one place that's expected to change.
List the tools your agents use that bring their own instructions, and read what they say.
FAQ
Should I delete my CLAUDE.md file? Try working without it, on a branch, and see what changes. Keep what the model actually needs, keep anything that's a safety rule (preferably as a hook or a check, not prose) and keep the reasons behind your decisions. Delete the rest.
What is the difference between documentation and a check? Documentation describes how things should be and can't tell you when it's wrong. A check tests how things are and fails when they're wrong. Where a rule can be a check, make it one, and keep the documentation for the reason behind it.
What are skills over MCP? A way for a tool's MCP server to ship instructions, called skills, along with its tools, so an AI agent knows how to use the tool as soon as it's connected. The skills come from the tool's maker and update with their server.
How do you stop AI instruction files going stale? Keep them short, say each rule once, keep changing state out of them, turn enforceable rules into checks and date the lessons. Then review them whenever the model changes, because what a model needs to be told changes with it.
Sources
Anthropic, MCP servers can now ship skills, run tasks, and more with Claude: skills over MCP, in public beta from 24 November 2026; a server's skills update with the server.
Luca Di Domenico, Delete your CLAUDE.md every 6 months: Boris Cherny's advice: a write-up of Cherny's advice to delete instruction files, skills and hooks periodically and see what the model does without them.
We embed engineers who keep a codebase and its documentation in step, including the parts written for AI agents. If your documentation and your code have stopped agreeing, we're happy to talk.
Related articles
Write down why, not just what
Code shows what a system does, not why it does it that way. Short, dated decision records keep the why available for new engineers and AI agents alike.
For CTOs and tech leads, Founders
5 June 20264 min read
Guardrails, not guidelines: how to stop AI coding agents breaking your architecture
Coding agents are brilliant at the task in front of them and blind to the system around it. Here's why they quietly erode your architecture, and the guardrails we use to stop it.
For CTOs and tech leads, Engineers
21 July 20268 min read
How do you let AI into your systems without leaking secrets?
Assume the AI can see everything you give it, and give it nothing it doesn’t need. Then back that up with rules your tools enforce, so you aren’t relying on the AI, or a busy engineer, to behave.
For CTOs and tech leads, Founders
12 August 20263 min read
Read something that sounds like your problem?
A free 15-minute intro with our CEO. Bring the article, and he’ll tell you which service fits, if any. If a spreadsheet and two rules would do the job, we’ll say so.