Do an AI's
own lessons
work?
Can't play sound? The illustrated version is right below.
Read the transcript
The full narration of the video.
Of seven lessons an AI wrote for itself, only two truly worked. Many AI coding assistants now look back after a job. Where did I get stuck? How do I avoid it next time? Once a person approves, the suggestions go into a project's instruction file. The next AI reads it before starting work.
It's like a student's mistake notebook. Get it wrong once, write it down, don't repeat it. Its real name is a retro skill, run with /retro. The notebook is a plain text file in the project, often called CLAUDE.md. But you only know if a notebook helps by sitting a real test.
In late October, two software researchers set exactly that test. They had an AI fix thirty real bugs from open-source projects. After each fix, it ran a retro. In total: a hundred and twenty-five suggestions. Some went into the instruction files. Then came a new task that should hit the same snag. Five runs without the notebook, five runs with it.
In the end, only seven comparisons could actually tell. The first real winner was simple: this project runs its tests with its own tool, the usual one isn't installed. Before: five out of five runs grabbed the wrong tool first. After: zero.
The other was a list of tests that were already broken. When a test failed, the AI just checked the list, no more double-checking. And the rest? The broken tests on the list weren't the ones the next task ran into. The notebook described the last exam. A new exam didn't match. Four changed nothing; one helped a little.
Some notebooks backfired. One list said: any failure not on this list is your fault. On an unrelated task, four of five runs went off to double-check, and time grew from eighty-two seconds to two hundred forty-five. Some suggestions had nothing to do with what happened, just check the formatting before you commit. One was set up properly. In five runs, the AI never read it.
And did the bugs get fixed? With or without the notebook, results differed by one run at most. So a notebook should hold rules for the whole project, like which tool runs the tests. Those keep paying off. What broke on one particular day can go stale on the next task. Re-test every note now and then, and delete what doesn't help.
Each setup ran only five times, on hand-picked tasks, so it needs more testing. Of the rules you've written for an AI, which one did it actually use?
Seven lessons, two lit up
An AI writes itself lessons after a job. Put to a real test, only two of seven truly worked.
For anyone who has AI write code every day, and lets it keep its own lessons.
An AI's mistake notebook
Many AI coding assistants now look back after a job: where did I get stuck, and how do I avoid it next time? Once a person approves, the suggestions go into an instruction file in the project. The next AI reads it before it starts.
It's like a student's mistake notebook: get it wrong once, write it down, don't repeat it.
Its real name: a retro skill, run with /retro. The notebook is a plain text file in the project, often called CLAUDE.md.
Five runs without,
five runs with
You only know if a notebook helps by sitting a real test. In late October, two software researchers set exactly that test.
They had an AI fix 30 real bugs from open-source projects. After each fix it ran a retro, 125 suggestions in all. Some went into instruction files. Then came new tasks that should hit the same snag: five runs without the notebook, five runs with it.
In the end, only seven comparisons could actually tell.
In the others, the five runs without the notebook never hit the snag at all, so there was nothing to compare.
The two that lit up
Both are plain: they describe how this project always is.
The misses,
and one that backfired
And did the bugs get fixed? With or without the notebook, results differed by one run at most.
What belongs in the notebook
One more difference from a student: a student writes and reads their own notebook. Here a fresh AI reads it each time, and whether it reads or trusts a note depends on how it's written. So re-test every note now and then, and delete what doesn't help.
Each setup ran only five times, on hand-picked tasks, so it needs more testing.
To see how an AI rewrites its own manual, see Let it rewrite its own manual.
Quick check
Which note in an AI's mistake notebook is most likely to help next time?
Project-wide rules help every time. What broke once may not match the next task, and over-strict notes send the AI on extra laps.



