The file your AI agent wrote for itself is making it worse. Ten minutes fixes it.
Jamie Watters
Operational resilience and AI delivery practitioner. Technology since 1985.

Open your project and look for a file your agent wrote.
A memory file. A skills file. A CLAUDE.md or an AGENTS.md. A notes file it keeps between sessions. Something it was told to write down what it learned into, so the next session would be better.
Found it? Good.
Your agent wrote that. Your agent now reads it as instruction. And in between those two things, almost certainly, nothing checked whether what it wrote was any good.
That's the whole article. The rest is why it matters and what to do in the next ten minutes.
This has a name, and you're already doing it
When people say AI that improves itself, this is the boring version of it, and it's the version that's actually in your project right now. The agent does some work, writes down what it learned, and the next agent starts by treating that as true.
It's a loop. Work, write, load, work.
The thing nobody mentions is that the loop has no brakes. Nothing measures whether the file made the next run better or worse. It just gets longer.
Somebody measured this
A benchmark called SkillsBench ran the test properly, which almost nobody does. Same tasks, same models, three conditions: no skill files, skill files a human curated, and skill files the model wrote for itself.
The tasks weren't graded by an opinion. They were graded by tests that pass or fail.
Curated files raised the average pass rate by 16.6 percentage points (SkillsBench, 2026), from about a third of tasks to about half. That's a big lift and it's why skill files are having a moment.
Files the model wrote for itself came out below using no files at all, by between 8 and 11 points, on all three setups they tried (SkillsBench, 2026).
Sit with that for a second. The same mechanism. Helpful when a person looked at it. Actively harmful when nobody did.
What that actually means for you
It doesn't mean your agent writes rubbish. Some of what it writes is good.
It means nothing separates the good from the bad, so both accumulate. And that is why this is worth your ten minutes rather than a shrug: the benchmark measured it, but you don't need a benchmark to see it coming. If nothing ever removes a line, the file only grows. If the file only grows, the proportion of it that is stale, wrong or irrelevant only rises. That happens in every setup that has no step for taking things out, which is nearly all of them. And because they accumulate in the file the next agent reads first, the bad bits don't sit quietly in a corner. They arrive at the top of every session dressed as a fact.
A few specific ways it goes wrong, all of which I've found in my own setup:
Something true once becomes true forever. The agent hits a bug on a Tuesday, writes down "always do X to avoid Y", and you fix Y on Wednesday. The instruction stays.
A guess gets recorded as a finding. It couldn't work out why something failed, formed a theory, wrote the theory down. The next agent reads a theory and sees a fact.
The file gets long. Not wrong, just long. Everything in it competes for the agent's attention with everything else, and the useful line from March is now buried under forty lines of housekeeping.
None of these announce themselves. Your agent doesn't get visibly worse. It just quietly stops being as good as it was, and there's no error message for that.
The ten minute check
Go and open the file. Actually open it. Read the whole thing.
Then, for each thing in it, ask one question: would I have written this?
Not "is it true". Would you, knowing what you know about your project, have chosen to tell a new developer this on their first day.
You'll find three piles.
Things you'd have written. Keep them. These are the reason the file exists.
Things that are fine but don't matter. Delete them. They're not wrong, they're noise, and noise costs attention.
Things that are out of date, or a guess, or just odd. Delete these first. These are the ones doing damage.
I did this on my own setup and found that eighteen of my nineteen agent playbooks instructed the coordinator to write lessons into the file every later agent loads at startup. I wrote those instructions. I'd never once gone back and read what had been written into it.
Three things that stop it happening again
One. Date every line. Whatever your agent writes, make it write when. A line from six months ago and a line from yesterday should not look the same, and right now they do.
Two. Give it somewhere to put guesses. A separate section, marked as unconfirmed. The agent still records what it thinks, and the next one knows not to treat it as settled.
Three. Read the file on a schedule. Once a month, or after anything big changes. Put it in your calendar, because a rule you have to remember is a rule you'll skip.
None of that is clever. All of it is the difference between a file that helps and a file that accumulates.
The one idea worth keeping
The bit of this that surprised me, and that the benchmark showed clearly, is that the quality of the writing was never the issue. The model writes decent notes. The lift and the harm came from the same kind of file.
The only difference was whether anything looked at it before it got used.
So if you take one thing away: when you let a system write something that it, or something like it, will later read as instruction, you've made a decision about quality whether you meant to or not. Either something checks it, or nothing does.
Right now, for most people building with agents, nothing does.
Go and read the file.
The long version of this, with the papers, the numbers and where the research is weaker than the headlines suggest, is at AI self-improvement fails at the scorer. The SkillsBench figures above are from version 4 of that paper, revised 14 June 2026: 87 tasks across 8 domains, 18 model and harness configurations for the curated result, three for the self-generated one.