Guide

Never correct it twice: one-line rules for ChatGPT and Claude projects

Turn the correction into a written rule. Straight after you correct ChatGPT or Claude, type “What should you have known before you started? Write it as one rule, on one line.” Read the rule, tighten it, then paste it into the instructions of a project. In both products, project instructions apply to every chat in that project, so the next draft starts with the rule. Memory may carry some preferences across chats, but OpenAI says ChatGPT’s memory does not keep every detail, and on Claude Team and Enterprise memory is off for each member until they turn it on. Rules guide the assistant rather than enforce anything, so the draft still gets read.

Project instructions. Project instructions are standing instructions saved in a ChatGPT or Claude project that apply to every chat in that project and nowhere else.

1AYM is an OpenAI Select Partner.

Checked . The Claude Help Center pages on projects, project sharing, personalization features, memory and Organization instructions, the Claude Code docs on memory and best practices, the OpenAI Help Center pages on projects, memory and custom instructions, and OpenAI’s Codex docs on AGENTS.md and memories were read on this date. Menu names and plan limits change between releases.

Never correct it twice · 56 seconds, with captions

Why the same correction keeps coming back

The film on this page opens on a board summary that starts by thanking everyone for their hard work, and it is the third time this month someone has told the assistant to stop. Each correction did its job in the chat where it was typed. The next chat started from the same defaults, so the same paragraph of thanks came back.

The usual answer is that the assistant has a memory, and it may help. Claude saves memory as topics while you chat, and you can see and edit each one under Settings > Memory [1]. ChatGPT with Memory on can remember relevant preferences and details from your chats, and OpenAI says it does not keep every detail of every conversation [2]. On Claude Team and Enterprise an owner decides whether memory is available at all, and it stays off for each member until they turn it on [1]. A correction that lands in memory is something the assistant may recall. A rule written into a project’s instructions is something every chat in that project is given.

Both vendors already give this advice for their coding tools, where the instructions live in a file in the repository. Anthropic says to add an instruction when Claude makes the same mistake a second time, or when you catch yourself retyping a correction from the last session [3]. OpenAI says to add a rule after you see the same mistake repeated, and when the agent gets something wrong, to correct it and tell it to update its instruction file, AGENTS.md, so the fix carries into future sessions [4]. The play in the film takes that habit out of engineering and into everyday chat work: never correct it twice, make it write the rule.

The prompt: make it write the rule

Use it straight after a correction, while the mistake and the fix are both in the chat. At that moment the assistant can see what it produced, what you changed and what you said about it, which is everything the rule needs.

Type this after you correct it
What should you have known before you started? Write it as one rule, on one line.

In the film the answer comes back as “Board summaries open with the decision, never with thanks.” That is a usable rule. It names the document, says what to do and says what to stop doing.

Read the rule before you keep it. An assistant summarising its own mistake can produce something as vague as “be more concise”, which nobody could check a draft against. Anthropic’s advice for instruction files is to write rules concrete enough to verify [3], so edit until a colleague could look at a draft and say whether the rule was followed. Then paste it into the project’s instructions yourself and put the date beside it, so the monthly clean-up can tell old rules from new ones.

Why one rule on one line works

The prompt is two sentences, and each one does a separate job. The question changes what the assistant looks for, and the format keeps the answer small enough to live in instructions for months.

It asks about the start, not the mistake
“What should you have known before you started?” points the assistant at the context it was missing when it started. Missing context is the one thing an instruction can supply, because instructions are in place before the work begins.
One line keeps the list short
Anthropic’s test for every line of an instruction file is whether removing it would cause mistakes, and if not, to cut it, because a bloated file makes Claude ignore the instructions that matter [5]. A one-line rule is easy to test that way and easy to delete once it stops earning its place.
A reason can share the line
Anthropic’s prompting guidance is to explain the reason behind a constraint, because Claude generalises from the explanation [6]. A short reason fits after a comma: “Board summaries open with the decision, never with thanks, because the decision is what the board reads first.”
A person decides what every chat starts with
The assistant drafts the rule; you edit it and paste it. Doing that step by hand keeps a person in charge of what a whole project, and perhaps a whole team, is told before every chat.

Variation: collect the rules before you close a long session

A long working session produces corrections you never typed as corrections: a preference mentioned in passing, a decision made halfway through, a format you settled on after three attempts. Before you close the chat, ask for all of them at once, and give the assistant your current rules so it can flag the clashes.

Type this at the end of a session
List every preference, rule and decision I gave you in this chat that should apply next time. Write each as one rule, on one line. Flag any that clash with each other or with the rules below.

[Paste the rules from this project's instructions here]

Copy the merged list back into the project’s instructions, keeping only the rules you would defend to a colleague. It suits people who would rather tidy up once at the end of a session than stop after every correction.

Variation: prune the list once a month

Rules go stale. A report template changes, or a preference turns out to be one person’s taste, or two rules written months apart start to pull against each other. Anthropic’s reading of a rule Claude keeps breaking is that the file is probably too long and the rule is getting lost [5], so the list needs cutting as often as it needs adding to.

Type this once a month
Here are the rules from this project's instructions. Point out any that are out of date, vague, duplicated or in conflict with each other, and suggest a shorter list. Say why for every rule you would drop.

[Paste the rules here]

The assistant suggests and a person decides. On a shared project that person should be named: Anthropic’s advice for shared instruction files is to give each one an owner and review changes to it like code [7].

Where the rules live in Claude and ChatGPT

Both products keep three kinds of standing context apart: instructions for one project, instructions for every chat, and memory. The play uses the first, because a project is where one recurring job lives, and a rule about board summaries has no business in every other chat you run.

Where project instructions, account-wide instructions and memory sit in Claude and ChatGPT, as each vendor documents them
DimensionClaudeChatGPT
Project instructionsOpen the project, select Set project instructions, write them and select Save instructions. Claude applies them to every chat in that project [8].In the project, open the more options menu, then Project settings. Project instructions apply only within that project and override your global custom instructions [9].
Sharing the projectTeam and Enterprise plans, with Can view or Can edit access [10]. Anyone with Can view sees the project’s knowledge and instructions, and each member’s chats stay private unless they share them [11].Free, Go, Plus, Pro, Business, Enterprise and Edu, with chat or edit access. Members can view the project’s chats, files and member list, and a shared project always uses project-only memory [9].
Instructions for every chatInstructions for Claude is an account-wide setting that applies to all your conversations [12]. On Team and Enterprise, owners can set Organization instructions of up to 3,000 characters, which Claude follows in every conversation across the organisation [13].Custom instructions, under Settings, Personalization on web and desktop, are considered across your chats: up to 1,500 characters on Free and Go, and 5,000 on Plus, Pro, Business, Enterprise and Education [14].
MemorySaved as topics while you chat and listed under Settings > Memory. On by default on Free, Pro and Max; on Team and Enterprise, owners control it and it is off for each member until they turn it on [1].Managed under Settings, Personalization, Memory. It remembers relevant preferences and details, not every detail of every conversation [2]. A project can use Default memory or Project-only memory [9].

Every row was checked on the vendor’s own page on 11 October 2026. Menu names and plan limits move between releases, so check them against your own workspace before you write them into a team guide.

Claude Cowork has one more home for rules. When you select a local folder in Cowork on desktop, Folder instructions hold that folder’s context, and Claude can update them itself during a session [15]. There the assistant keeps the rules for you, so read what it writes the way you would read a colleague’s edit.

Sharing the rules with a team

A rule that saves one person a correction saves a team the same correction, and the film reaches that point on its own: share the project and every colleague’s chats in it start from the same list. The price is that one person’s taste becomes everyone’s default, so decide who edits the instructions before you share them.

The owner matters more once the list is shared. Anthropic’s guidance on Organization instructions is that they should be short, specific and tested, because they are included in every message and contradictory ones may not be followed reliably [13]. The same holds for a shared project: one owner, a short list, and a date on every rule.

Then keep the rules clean. Claude shows a shared project’s instructions to anyone with Can view [11], and ChatGPT lets every member of a shared project see its chats and files [9]. The rules reach all of them, so client names, confidential figures and anything about a named person stay out. Run this in a work account your company administers, such as ChatGPT Business or Enterprise or Claude Team or Enterprise, and keep confidential material out of personal accounts. Which of those plans to buy is its own decision, and our guide to the four ChatGPT and Claude business plans sets them side by side.

What goes wrong, and the honest limits

The play cuts repeat corrections. It does not end them, and it brings a few problems of its own, each with a simple counter.

Rules guide; they do not enforce
Anthropic describes Claude Code’s instruction file as context, with no promise of strict compliance [3], and its Organization instructions as prompt-level rather than hard enforcement [13]. OpenAI says written guidance on its own is not enforcement and should be paired with things that enforce it [16]. In the film one colleague’s report still arrives with thanks at the top. Read the draft.
Long lists get partly ignored
Emphasise one line at most, because Anthropic notes that when many lines are emphasised, none stands out [5]. A rule that keeps getting broken is the signal to run the monthly prune early.
Self-written rules can be vague
Edit every rule until it can be checked against a draft. A rule nobody can check is one nobody can apply consistently, the assistant included.
Rules written months apart can clash
Two rules can pull in opposite directions without anyone noticing, and contradictory instructions may not be followed reliably. The end-of-session prompt flags clashes as they arrive; the monthly prune catches the rest.
A shared project is a shared document
Everything in the instructions reaches everyone the project is shared with, as the section on sharing sets out. No client names and no confidential figures, however convenient the rule would be with them in.

Where 1AYM fits

Setting up and rolling out ChatGPT and Claude for companies is core 1AYM work, and so are the instructions, skills and permissions around them. On a rollout we would set up the shared projects each team works in, give every project’s instructions an owner and a review date, and keep client names and confidential figures out of them. Where a rule has to hold every time rather than most of the time, we would build it as a control the system enforces, which is our AI governance implementation work.

It can start small. 1AYM takes fixed-scope statements of work as well as larger builds, and fixed-scope work can start within a day of the scope being signed. If a second opinion on how your teams keep their rules would help, book a call or email enquiries@1aym.com.

For engineers: the same play with CLAUDE.md and AGENTS.md, and where enforcement lives

In Claude Code and Codex the instructions are a file in the repository, so the play becomes a habit around one file. Each point is from Anthropic’s or OpenAI’s documentation as checked on 11 October 2026; paths and commands move between releases.

Claude Code reads CLAUDE.md
CLAUDE.md is a plain markdown file Claude Code reads at the start of every session. There are four layers: an organisation file deployed by IT, a personal file at ~/.claude/CLAUDE.md, a project file shared through source control and a local CLAUDE.local.md for one person. Larger projects can split rules into .claude/rules/ files that load only when Claude works on matching files. If a repository has an AGENTS.md and no CLAUDE.md, current Claude Code reads the AGENTS.md as its project instructions [3].
Ask for CLAUDE.md by name
Auto memory is a separate system in which Claude writes notes for itself from your corrections; it is on by default in local sessions and stored on that one machine. Asking Claude Code to remember something saves it to auto memory, and putting it in CLAUDE.md takes an explicit request [3]. When the rule belongs to the team, end the prompt with “and add it to CLAUDE.md”, then review the diff.
Codex reads AGENTS.md
Codex reads AGENTS.md files before doing any work: ~/.codex/AGENTS.md for personal rules, the repository root for team rules and subfolders for local ones, with guidance closer to the working folder winning [17]. OpenAI’s advice is to add a rule after the same mistake repeats and, when the agent gets something wrong, to tell it to update AGENTS.md [4]. Codex Memories are separate, off by default and stored locally, and OpenAI says to keep required team guidance in AGENTS.md or checked-in documentation and treat memories as a recall layer [18].
Enforcement belongs in hooks and settings
Anthropic says that if something must happen every time with no exceptions, it belongs in a hook, because instruction files are advisory and hooks are deterministic [5], and that real guardrails are hooks, permissions and, for an organisation, managed settings [7]. OpenAI says to pair AGENTS.md with pre-commit hooks, linters and type checkers [16].
Review the file like code
Give the shared instruction file one owner and review changes to it like code [7]. Test every line by asking whether removing it would cause mistakes [5]. Facts go in the instruction file; a procedure that keeps getting pasted belongs in a skill, which loads only when it is used [7].
Promote a rule on a trigger
Anthropic’s ladder for Claude Code: a mistake made twice becomes an instruction, a playbook pasted a third time becomes a skill, something that must happen every time becomes a hook, and a second repository needing the same setup becomes a plugin [19].
Test a rule like a fix
Keep the request that caused the correction. After the rule goes in, run it again in a fresh session and check the output against the rule. Anthropic recommends the same order for skills: run real tasks without the instruction, note where they fail, then write just enough instruction to pass [20].

Sources

  1. [1]Claude Help Center, Use Claude’s chat search and memory to build on previous context, checked 11 October 2026
  2. [2]OpenAI Help Center, Memory in ChatGPT, checked 11 October 2026
  3. [3]Claude Code docs, the memory page on CLAUDE.md and auto memory, checked 11 October 2026
  4. [4]OpenAI, Codex best practices guide, checked 11 October 2026
  5. [5]Claude Code docs, best practices, checked 11 October 2026
  6. [6]Claude Platform docs, Claude prompting best practices, checked 11 October 2026
  7. [7]Claude blog, on steering Claude Code with skills, hooks, rules and subagents, checked 11 October 2026
  8. [8]Claude Help Center, How can I create and manage projects?, checked 11 October 2026
  9. [9]OpenAI Help Center, Projects in ChatGPT, checked 11 October 2026
  10. [10]Claude Help Center, What are projects?, checked 11 October 2026
  11. [11]Claude Help Center, Project visibility and sharing, checked 11 October 2026
  12. [12]Claude Help Center, Understanding Claude’s personalization features, checked 11 October 2026
  13. [13]Claude Help Center, Set organization instructions, checked 11 October 2026
  14. [14]OpenAI Help Center, ChatGPT Custom Instructions, checked 11 October 2026
  15. [15]Claude Help Center, Get started with Claude Cowork, checked 11 October 2026
  16. [16]OpenAI, Codex customization overview, checked 11 October 2026
  17. [17]OpenAI, Custom instructions with AGENTS.md, checked 11 October 2026
  18. [18]OpenAI, Memories documentation, checked 11 October 2026
  19. [19]Claude Code docs, features overview, checked 11 October 2026
  20. [20]Claude Platform docs, Agent Skills best practices, checked 11 October 2026

Questions people ask about project instructions

How do I make ChatGPT remember a correction?

Write it into instructions rather than relying on memory. Ask ChatGPT to state the lesson as one rule on one line, then paste it into the project’s instructions from the more options menu, Project settings. Project instructions apply to every chat in that project and override your global custom instructions. Memory may pick up preferences as well, but OpenAI says it does not keep every detail of every conversation.

Where do I put project instructions in Claude?

Open the project, select Set project instructions, write them and select Save instructions. Claude applies them to every chat in that project, and only there. To give a team the same rules, share the project, which needs a Team or Enterprise plan; anyone with Can view access can read the instructions.

What is the difference between custom instructions and project instructions in ChatGPT?

Custom instructions sit under Settings, Personalization and are considered across all your chats. Project instructions apply only inside one project and override your custom instructions there. OpenAI’s Help Center adds that in Enterprise and Edu workspaces personal custom instructions are not available inside projects at all, only the project’s own.

Does Claude’s memory do the same job as project instructions?

No, they are separate. Memory is saved as topics while you chat and can be edited under Settings > Memory; on Team and Enterprise an owner controls whether it is available, and it is off for each member until they turn it on. Project instructions are text you write, and Claude applies them to every chat in the project.

Can colleagues see the instructions in a shared project?

Yes, in both products. In Claude, anyone given Can view sees the project’s knowledge and instructions, though each member’s chats stay private unless they share them. In ChatGPT, members of a shared project can view its chats, files and member list. Keep client names and confidential figures out of the rules.

Will ChatGPT or Claude always follow project instructions?

No. Both vendors treat written instructions as guidance. Anthropic calls its organisation-wide instructions prompt-level rather than hard enforcement, and OpenAI says written guidance on its own is not enforcement. A rule cuts repeat mistakes, someone still reads the draft, and anything that must happen every time needs a control the system enforces.

How long should a list of AI rules be?

As short as it can be while still preventing mistakes. Anthropic’s test for each line is whether removing it would cause mistakes, and it warns that a bloated file makes Claude ignore the instructions that matter. Claude’s Organization instructions allow up to 3,000 characters for a whole company. One line per rule, pruned monthly, keeps a project’s list readable.

More in this topic

  • The account-wide layer under these project rules: the assistant interviews you once and writes the page every chat starts from.

  • When the lesson is a procedure with steps rather than a one-line rule, have the assistant package the finished job as a skill.

  • A sheet of approved company facts in the same shared project, with one rule that marks anything missing as a gap.

Further

  • AI governance implementation · For the rules that must hold every time: permissions and gates the system enforces, where an instruction can only guide.

We build these systems for a living. See the engagement files for what that looks like in practice, or write to us if yours is the next one.

Last reviewed · 1AYM