# I stopped correcting Claude twice. Here's the 3-line habit behind it.

> Source: <https://dev.to/knowhowseller/i-stopped-correcting-claude-twice-heres-the-3-line-habit-behind-it-2281>
> Published: 2026-11-28 13:30:03+00:00

**Recommendation:** When Claude makes a mistake, log the rule and the reason behind it in a lessons file, and prune it regularly so it stays useful.
More in the playbook "Working with AI coding agents": <https://wpnews.pro/playbooks/coding-agents>

The most expensive sentence in my Claude Code sessions used to be: **"No, I told you this last week."**

I'm not a developer. I run a small company and use Claude Code for proposals, research, contracts and follow-ups. The model is good. My problem was that every correction I made died with the session.

So I made one rule: **a correction is not finished until it becomes a lesson.**

When I say "no, that's wrong", three things happen:

That's it. Here's what a real entry looks like:

```
## "Remove the number" means leave a blank
- What happened: I asked Claude to remove an amount from a contract draft. It deleted the whole clause.
- Rule: when I point at a number and say "remove", replace only the number with a blank.
- Why: the clause still matters; I just haven't agreed on the figure yet.
```

A bare rule gets followed literally and misses the cases next to it.

One line of **why** fixes that. "Leave a blank *because the clause still matters*" also covers dates, percentages and names I haven't settled yet, which I never wrote separate rules for.

A lessons file that grows forever becomes noise. Two things keep mine useful:

I don't type "save this as a lesson" anymore. A small hook watches for phrases like "no", "that's wrong", "I already said" and reminds Claude to offer a lesson. I only approve or skip.

The goal isn't a perfect assistant. It's **never being corrected twice for the same thing.** That one is achievable.

How do you handle repeated mistakes with AI tools — rules files, custom instructions, or just patience?

*The free starter files from this series are also on [Product Hunt](https://www.producthunt.com/products/claude-code-memory-starter?launch=claude-code-memory-starter). Feedback there is very welcome.*

*Disclosure: I drafted this with help from Claude and edited it myself.*
