Command Palette

Search for a command to run...

BlogAIProductivityDeveloper Tools

November 30, 2026

How to Make AI Remember the Corrections You Give It

A correction you type in one chat is gone by the next. How to turn each fix into a rule Claude, ChatGPT or Copilot reads every time.

By Nishant Modi · 7 min read

Featured image: How to Make AI Remember the Corrections You Give It

You ask an AI assistant for a client update. It opens with a paragraph of throat-clearing, you tell it to lead with the decision, and the next version is right. A week later, in a new chat, it opens with the same paragraph and you type the same correction again.

This guide shows how to break that loop. When a mistake comes back, you have the AI write the correction as a short rule with its reason, you put the rule where the AI reads it before every task, and you keep the list honest. It works in the chat window you already use (Claude, ChatGPT or Microsoft 365 Copilot), and each step has a version for people who build with coding agents.

I use this method on my own products. Careerkit, an AI job-search tool, has 147 of these rules saved for the coding agent that builds it, and HelloBuilder has 22. The examples below come from that list.

Why AI forgets your corrections

An AI assistant does not learn from a conversation the way a colleague learns from feedback. Each new chat starts from three things: the model itself, the standing instructions you or your company have set, and whatever its memory feature has stored about you. A correction you typed in last week’s chat is in none of those unless something put it there.

Memory features help, but they decide for themselves what to keep. Claude, ChatGPT and Copilot can all save details from your conversations now, and each lets you review and delete what was saved. You still only find out what the assistant kept when you go and look, and a saved memory can sit next to your written instructions without you noticing that the two disagree.

A rule is different. You write it, you decide where it lives, and you can read exactly what the assistant will read. For a mistake you are tired of correcting, that control is the point.

Step 1: Write the rule when a mistake comes back

The first time AI gets something wrong, fix it in the chat and move on. Plenty of mistakes are one-offs: a vague prompt, an unusual document, a request the model misread.

The second time you type the same correction, write a rule. Waiting for the repeat keeps the list short, and that matters later, because every rule you add is one more thing the assistant has to weigh on every task. A list of 15 rules that each fixed a real, repeated mistake does more than a list of 60 rules written in advance.

One of mine came from a status line in the Careerkit app. The coding agent put two facts on one line under a button, the date of the last analysis and how many analyses were left, joined by a dot. I had pointed this out before, so it became a rule.

Step 2: Ask the AI to write the rule, with the reason

You do not need to write the rule yourself. Right after you correct the mistake, while the example is still in the chat, paste this:

You just repeated a mistake I’ve corrected before. Write it as a rule I can save. Give it three parts: the rule in one sentence, why it matters (use the example from this chat), and how to apply it next time. Keep it under 60 words.

Each part has a job. The rule says what to do. The reason says why, which lets the assistant judge cases the rule did not spell out. The how-to-apply line turns the rule into an action it can take. A rule without a reason tends to get applied too literally, or skipped when the next case looks slightly different.

Here is the status-line rule as it sits in my folder, trimmed:

  • Rule: UI status text gets one fact per line. Never join two facts with a dot.
  • Why: two facts glued together read as one cramped line, which looks cheap next to a button.
  • How to apply: when a status line carries two facts, give each its own line.

Read what the assistant wrote before you save it. Sometimes it stretches a rule too far, banning dots everywhere, or ties it to the one page where the mistake happened. Edit it until it matches the mistake you actually saw.

Step 3: Put the rule where the AI reads it every time

A rule only helps if the assistant sees it before it starts. A note in a document on your desktop does not count. Each tool has a place for standing instructions:

  • Claude: Settings > Profile holds personal preferences that apply to every chat. For one area of work, open a Project and add the rule to its instructions, which apply only to chats inside that Project.
  • ChatGPT: Settings > Personalization > Custom instructions applies everywhere. Projects have their own instructions, and inside a project those take priority over your custom instructions, so copy in any rule you want everywhere.
  • Microsoft 365 Copilot: open the ... menu at the top of the Copilot app, then Settings > Personalization > Custom instructions. Saved memories sit in the same section. Microsoft lists both as preview features, and an admin can switch personalization off for your organization.
  • Coding agents: a CLAUDE.md file for Claude Code, or AGENTS.md for Codex and other agents, in the root of the repo. The agent reads it at the start of every session.

Where the rule lives matters as much as how it is worded. My writing rules lived in Careerkit’s folder, and the skill that drafts the HelloBuilder newsletter never pointed to them. On November 23 that skill handed me a one-word title, Seven., which broke my rule against titles that hide what the piece is about. One line in the skill pointing to the rules file fixed it.

The same thing happens in chat tools. If you work inside Projects, check that a rule you need there is in that Project’s instructions, and not only in your global ones.

Step 4: When a rule keeps slipping, turn it into a check

Saved rules still slip, usually in long tasks where the assistant has a lot to keep track of. If the same rule breaks twice after you saved it, stop relying on the assistant to remember it and add a check.

In a chat window, the check is a second pass before anything leaves your hands:

Check this draft against my saved rules. List every line that breaks one, quote the rule it breaks, then fix only those lines.

Asking for the quoted rule matters. It makes the assistant show its working, so you can see in a few seconds whether a flagged line really breaks the rule or whether the check is being overzealous.

In code, the check can run without you. In September a coding session kept running a command that shut down the app server I was working on, 19 times in one afternoon, nine days after it first happened. A written rule was clearly not enough, so a hook (a small script that runs before every command) now blocks that command on my whole machine. Hooks, linters and tests are the coding versions of the same idea: a rule the machine enforces instead of one the agent has to remember.

Step 5: Fix the rules that turn out wrong

Rules age, and a few are wrong from the start. One of mine banned grey text anywhere in the Careerkit app. On September 15 I narrowed it, because the short descriptions under headings should be grey after all.

The assistant follows a wrong rule just as carefully as a right one, so edit it the day you notice. Once a month, read the whole list from top to bottom. Delete rules for problems that no longer happen, merge rules that say the same thing in two ways, and check that no two rules contradict each other.

Example rules you can adapt

These are starting points for common work. Save one only after the mistake it fixes has happened to you twice, and rewrite the reason in your own words, because the reason is what the assistant uses to judge new cases.

  • Client emails: lead with the decision or the ask in the first sentence. Why: clients read the first line on a phone and decide from it whether to read on.
  • Reports: put the source and date next to every number. Why: an unsourced number cannot be checked before the report goes out.
  • Meeting summaries: list decisions, open questions and owners, and quote the line each one comes from. Why: a summary without the quote cannot be checked against the transcript.
  • Slides: write each slide title as one full-sentence claim. Why: a title that is only a topic label makes the audience guess the point.
  • Research: mark any claim you could not find a source for. Why: a gap you can see is safer than a gap filled with a guess.
  • Code: reuse existing components before creating new ones. Why: one-off components drift away from the design system and have to be fixed later.

Practical takeaways

  • A correction typed in a chat lives only in that chat.
  • Write a rule the second time the same mistake happens.
  • Ask the assistant to write it, with a reason and a how-to-apply line, then edit it.
  • Save it in custom instructions, Project instructions, or CLAUDE.md and AGENTS.md for code.
  • Turn a rule that keeps slipping into a check you run before sending.
  • Read the list once a month and fix what is wrong.

Where to start

The next time you catch yourself typing the same correction twice, run the prompt from step 2 and paste the result into your custom instructions. It takes about two minutes. After a month, read the list once, fix what is wrong, and turn the rule that keeps slipping into the check from step 4.

This guide first ran in the HelloBuilder newsletter. Subscribe there for one practical AI lesson from my own work each week, and reply with the correction you give AI most often. I’ll write the rule for it.

The Monday
edition

The week for builders in five minutes, written by Nishant.

Latest: I've saved 100+ AI corrections as rules. Here's how to start yours