← Everything you can learn here

For builders

Your AI deletes its best lessons every 30 days

Claude Code keeps your session transcripts for 30 days by default, then deletes them. Once a week, have it list the mistakes it repeated and turn each into one line in your CLAUDE.md.

The prompt
Read my Claude Code sessions from the last 7 days.

List the 10 mistakes you made more than once. For each one, write a single short line I can add to my CLAUDE.md file so you don't make it again.

Only include mistakes that happened at least twice. Keep each line plain and specific.

How to use it

  1. Once a week, open Claude Code in your project and paste the prompt above.
  2. Read the 10 repeated mistakes it lists, and cut any that aren't real.
  3. Add each one as a single line to your CLAUDE.md file. Next week, it doesn't repeat them.

Watch the Short

Things I've built with this