augmentic

Resources · Guide 17 · MEMORY

Keep long AI chats on your rules in ChatGPT, Claude and Gemini

A model can only see a fixed amount of text at once, its context window, measured in tokens (100 tokens is roughly 75 English words). Your messages, your files and its own replies all share that space, and when it fills up the app drops or summarises the older parts, which is when your rules quietly slip. The fix is to keep your rules and reference material where the app supplies them to every chat (project instructions, project files, memory), restate the key rules in long chats, and hand over to a fresh chat before the old one gets too long.

TimeAbout 20 minutes to set up a project once, then a minute for each hand-over CostFree: everything here works on free plans. Paid plans give bigger windows, for example ChatGPT Instant goes from 27K tokens on Free to 128K on Pro, and Gemini from 32K without a plan to 1 million on Google AI Pro. LevelBeginner
Works with

How it works

The context window is a fixed amount of text the model can see at once. As a chat grows, the oldest part falls out (dropped or summarised, depending on the app), so rules written once at the start stop applying. Project instructions are given to every chat again.

What you'll make

  • The context window you actually get in ChatGPT, Claude and Gemini on each plan, as of October 2026
  • A one-page rules card you can paste into any app's project instructions
  • Where instructions, files and memory live in each app, and the limits on each
  • A rule-check prompt for long chats and a hand-over prompt that moves a long chat into a fresh one

What you need

ChatGPT

Projects (instructions, files, project memory), custom instructions and Memory

Claude

Projects (instructions, project knowledge), profile instructions, memory, and automatic summarising of long chats on paid plans

Gemini

Notebooks (sources and instructions), Gems (moving to skills from November 2026) and saved info under Personal context

Step by step

7 steps
  1. Know how big your window is

    As of October 2026, ChatGPT's plan table gives GPT Instant a total window of 27K tokens on Free, 54K on Go and Plus, and 128K on Pro. Reasoning (Thinking) models get 256K on Go and Plus and 400K on Pro; for Free it says "varies". The part left for your own input is smaller, because instructions, memories and reasoning use the same space: OpenAI puts Instant input at about 12 pages of text on Free, 40 on Go and Plus, and 250 on Pro.

    Claude on paid plans: 1M tokens on the newest models (Opus 5 and 5.5, Sonnet 5 and 5.5, Haiku 5.5), 500K on some older ones, 200K otherwise. Anthropic does not publish a figure for the free plan. Gemini: 32K tokens without a Google AI plan, 128K on AI Plus, 1 million on AI Pro and Ultra.

    To translate: 100 tokens is roughly 75 English words, so 32K tokens is about 24,000 words of conversation, including the model's replies. Long replies fill the window fastest.

  2. Write your rules down once, as a short card

    Rules typed in message 3 of a 200-message chat are the first thing to go. Write them as a numbered card instead: who it is for, the voice, the hard rules (words to avoid, formats, spelling), and what to do when unsure. Keep it under about 300 words. Short rules are cheaper to restate and easier for the model to follow.

    Ask Claude or ChatGPT to turn your messy notes into the card, then edit it yourself.

    Ask Claude or ChatGPT
    Turn my notes below into a rules card for an AI assistant. Format: a title line, then numbered rules, each one short and testable ("British spelling", "no emoji", "captions under 125 characters"), grouped under Audience, Voice, Hard rules, Formats, and When unsure. Under 300 words. Keep my wording where it is clear. Flag any rule that contradicts another. My notes: [PASTE]
  3. Put the card where every chat gets it

    Put the card in a project's instructions, not in a message. In ChatGPT open the project, select the more options menu (•••), then Project settings; project instructions apply only inside that project and override your global custom instructions. In Claude, add it as the project's instructions. In Gemini, use a notebook's instructions, or a Gem's instructions (Google is turning Gems into skills for personal accounts from November 2026).

    Rules that apply to everything you do go in the global setting instead: ChatGPT Settings > Personalization > Custom instructions (1,500 characters on Free and Go, 5,000 on Plus and above), Claude Settings > Your Claude, where instructions apply to all your chats.

  4. Keep reference material in project files, not in the chat

    Brand guides, product sheets and past scripts pasted into a chat eat the window and scroll away. Upload them to the project instead. ChatGPT projects take 5 files on Free, 25 on Go and Plus, and 40 on Pro and Business, 10 at a time. Claude project files can be up to 30 MB each; on paid plans, when the project knowledge nears the window Claude switches to retrieval and pulls in only the relevant parts, which raises capacity by up to 10 times. Gemini notebooks take up to 600 sources depending on your plan.

    Split one big document into a few focused files (voice, products, past winners). Retrieval finds the right passage more reliably in a file with a clear topic.

  5. Use memory for facts about you, not for the job's rules

    Memory carries facts between chats: your name, your business, how you like answers. It is not a reliable place for a detailed rule set. OpenAI says memory "does not retain every detail", and every app decides for itself what is relevant.

    ChatGPT: Settings > Personalization > Memory, with saved memories and chat history as separate switches; a project can be set to project-only memory. Claude: memory is on by default for Free, Pro and Max; each project has its own memory, and you can turn off "Use account memory" on a project to keep it separate. Gemini: Settings & help > Personal context, where you can add or delete saved info.

    Check what each app has remembered every month or so. Stale memories (an old price, last season's campaign) cause as much drift as forgotten rules.

  6. Restate the key rules in long chats

    Models use the start and the end of a long input best. A 2023 study (Liu and others, "Lost in the Middle") found accuracy was often highest when the relevant information was at the beginning or end and dropped when it sat in the middle. So in a long chat, put the two or three rules that matter for this task at the end of your message, or ask the model to check its draft against the card before it answers.

    Add to a long chat
    Before you answer, re-read rules [3, 5 and 7] from the project instructions. Write your draft, then check it against those rules and fix anything that breaks them. At the end, list each rule with "kept" or "changed: [what you fixed]".
  7. Spot drift, then hand over to a fresh chat

    Signs a chat has outgrown its window: it breaks a rule it kept earlier, asks for something you already gave it, or contradicts a decision from the start. Claude on paid plans summarises earlier messages automatically as it nears the limit (code execution must be on), and those long chats use more of your usage limit. OpenAI and Google do not say exactly what their apps drop.

    Don't argue with a drifting chat. Ask for a hand-over summary, start a new chat in the same project, and paste it in. The new chat gets the project instructions and files again, plus a clean summary instead of 200 messages.

    Ask before you switch
    We're moving to a new chat. Write a hand-over note I can paste into it: 1) the goal in one line, 2) decisions made, with the final wording of anything we agreed, 3) open questions, 4) rules I gave in this chat that are not in the project instructions, 5) the next step. Under 400 words. Don't include anything we discarded.

Put it to work

  1. ChatGPT set-up

    Projects are on every plan, including Free. Select New project in the sidebar, then the more options menu (•••) > Project settings to add instructions and choose Default memory or Project-only memory. With project-only memory, chats use only that project's chats and files, not your saved memories.

    Add files from the project's sources list (5 on Free, 25 on Go and Plus, 40 on Pro). You can also save a good answer as a source: open the message menu and select Add to project sources. Move an old chat in with Move to project; it then inherits the project's instructions and files.

  2. Claude set-up

    Projects are on every plan; free accounts can create up to five. Add the rules card as project instructions and upload reference files to project knowledge (30 MB per file). On paid plans Claude switches to retrieval automatically when the project gets large.

    Each project keeps its own memory. To stop your general memory leaking into a client project, turn off "Use account memory" under Memory on the project's page. To run one chat with no memory at all, open a new chat, click + and turn Memory off before the first message.

  3. Gemini set-up

    Notebooks gather chats, sources and instructions for one project: open the sidebar, then under Notebooks select New notebook, and use Add sources for files, Drive files, websites or pasted text. Google says notebooks are still rolling out, so you may not have them yet.

    For a reusable assistant, create a Gem with instructions and files under Knowledge. From November 2026 Google is converting Gems on personal accounts into skills automatically. Facts about you go in Settings & help > Personal context.

Copy-paste prompts

Rules card for a small brand
Write project instructions for my content assistant. Brand: [NAME], we sell [PRODUCT] to [AUDIENCE]. Voice: warm, plain, a little dry; British spelling. Hard rules: no emoji, no exclamation marks, never promise delivery times, never invent prices or reviews. Formats: Instagram captions under 125 characters before the fold, carousels of 5 to 7 slides with 12 words or fewer per slide. When unsure about a fact, ask me instead of guessing. Keep it under 300 words and number every rule.
Split a brand guide into project files
Here is my brand guide. Split it into three or four shorter documents I can upload as separate project files, each with one clear topic (for example voice and banned words, products and prices, audience, past posts that worked). Keep my wording. Put a one-line summary at the top of each so retrieval can find it. Tell me anything that belongs in the instructions instead of a file.
Rule check before answering
Before you write anything, list the rules from the project instructions that apply to this task. Then write it. Then check the draft against each listed rule and fix what breaks. Show me only the final version and a one-line note of anything you changed.
Drift audit of a long chat
Look back over this conversation. Which of my rules have you stopped following, and since roughly when? Which decisions from early on have you contradicted? Answer as a short list, then tell me honestly whether we'd be better off in a fresh chat.
Hand-over note
Write a hand-over note for a fresh chat: the goal in one line, decisions made (with final agreed wording), open questions, rules I gave here that aren't in the project instructions, and the next step. Under 400 words, nothing we discarded.
What do you remember about me?
List everything you currently remember about me and my work from memory or past chats, grouped by topic. Mark anything that looks out of date or that you're unsure about, so I can correct or delete it.

Tips

  • Put rules in project instructions, facts about you in memory, and long material in project files. Each place does a different job.
  • Shorter rules survive longer. A 300-word card restated once beats a 2,000-word brief pasted once.
  • Ask for shorter replies while you're iterating. The model's own replies use the same window as your messages.
  • One job per chat. A chat that wrote captions, then a pitch deck, then a contract is three chats' worth of tokens and three sets of rules.
  • When a chat starts drifting, hand over rather than argue. Every correction adds more text to an already full window.
  • Context sizes change with each model release. Check your app's plan page if a number here matters to you.

Claude skill

Do it in one go with the long-chat-memory skill

Claude sets up long-running AI work so your rules stick: it turns your notes into a rules card, writes project instructions for ChatGPT, Claude or Gemini, splits reference material into project files, checks a pasted chat for rule drift and writes hand-over notes for a fresh chat. Includes each app's context sizes, file limits and memory settings as of October 2026.

Download long-chat-memory.zip

In Claude (web or desktop app)

  1. Open Settings → Capabilities and make sure code execution is on.
  2. Under Skills, choose Upload skill and pick the zip.
  3. Start a chat and describe what you are making. Claude uses the skill on its own when it fits.

In Claude Code

  1. Unzip it into ~/.claude/skills/ (or .claude/skills/ in a project).
  2. Restart Claude Code and ask for the result. The skill loads when it fits.