Skip to main content

A KEEP, UPDATE, MOVE or FORGET memory-cleanup prompt, after saving a backup

XXMichael | AI + Agents2026-11-27

Multi-bot teamsTutorial or promotionRead first

Overview

The author asked a Grok Bot Chief of Staff how to clean up its memory without losing anything important, then shared a seven-step prompt that starts with a backup and sorts every note as KEEP, UPDATE, MOVE or FORGET.

Workflow

Trigger: Ask the Chief of Staff how to clean up its memory without losing anything important. The bot's first recommendation was to save a copy before changing anything. Then give every note one of four decisions: KEEP, UPDATE, MOVE or FORGET. The author says that last part matters: an old note is not automatically useless, and a finished project may still hold a decision worth remembering. A changing project status might belong in a Page the bot can check, instead of a memory that quietly goes out of date.

By hand: Give the bot this prompt before a memory cleanup. The author presents the text below as the prompt to give a Grok Bot before cleaning up its memory. The source does not say the author ran this seven-step prompt. The prompt, copied as shown:

Help me clean up your memory while protecting anything important. Start with an audit. Change nothing until I approve.

1 - Save a copy first.

Copy every memory you can access into a separate Page or document, preserving the original wording. Name it “Memory backup [date]” and don’t edit it again. Tell me what you cannot access and whether this is a complete copy or only part of your memory.

2 - Check the size before reviewing.

If there are more than about 50 notes, tell me the count and propose topic batches first. Wait for me to agree on the batches before reviewing them. Don’t skim or silently leave notes out.

3 - Sort the notes.

KEEP: still accurate and useful. UPDATE: still relevant, but something has changed. MOVE: better kept in a source you can check, such as a calendar, project Page or document. FORGET: a duplicate, an incorrect fact or something no longer useful.

For each proposed change, show the exact note and a short reason. For UPDATE, show the old and proposed new wording side by side. Include the date and reason for the change in the proposed new note, and state whether replacing it requires removing the old one. Leave uncertain notes untouched and ask me.

4 - Protect the useful detail.

Don’t mark something for deletion just because it’s old or the project has finished. Check for decisions, preferences, lessons and commitments worth keeping. If two notes contradict each other, show me both before choosing which to retain.

Tell me if any note duplicates something in your instructions, skills or routines that you can inspect. Flag anything you cannot inspect. Removing a memory may leave the same rule active elsewhere. Don’t change those other sources without my approval.

5 - Check before moving.

For anything marked MOVE, suggest where it belongs. Before removing the memory, confirm the information is saved there and you can retrieve it when needed.

6 - Show me a manageable batch.

Work topic by topic. Show the proposed changes and any replacement wording. Flag shared memories separately, including anything you can read but cannot change. Wait for my approval of the specific changes.

7 - Verify what changed.

After approval, make only the agreed changes. Check the affected notes again and report what changed, what remains and anything you couldn’t verify. Keep the original backup unchanged.

The prompt's seven steps, kept in the original order:

  1. Bot: Save a copy first. Copy every memory that can be accessed into a separate Page or document, keeping the original wording. Name it Memory backup plus the date, and do not edit that copy again. Tell the author what cannot be accessed, and whether this is a complete copy or only part of the memory.
  2. Bot: Check the size before reviewing. If there are more than about 50 notes, tell the author the count and propose topic batches first. Wait for agreement on the batches before reviewing them. Do not skim or silently leave notes out.
  3. Bot: Sort the notes. KEEP if still accurate and useful. UPDATE if still relevant, but something has changed. MOVE if it is better kept in a source the bot can check, such as a calendar, project Page or document. FORGET if it is a duplicate, an incorrect fact, or something no longer useful. For each proposed change, show the exact note and a short reason. For UPDATE, show the old and proposed new wording side by side, include the date and reason in the proposed new note, and state whether replacing it requires removing the old one. Leave uncertain notes untouched and ask the author.
  4. Bot: Protect the useful detail. Do not mark something for deletion just because it is old or the project has finished. Check for decisions, preferences, lessons and commitments worth keeping. If two notes contradict each other, show both before choosing which to retain. Tell the author if a note duplicates something in instructions, skills or routines the bot can inspect. Flag anything that cannot be inspected. Removing a memory may leave the same rule active elsewhere; do not change those other sources without approval.
  5. Bot: Check before moving. For anything marked MOVE, suggest where it belongs. Before removing the memory, confirm the information is saved there and can be retrieved when needed.
  6. Bot: Show a manageable batch. Work topic by topic. Show the proposed changes and any replacement wording. Flag shared memories separately, including anything the bot can read but cannot change. Wait for approval of the specific changes.
  7. Bot: Verify what changed. After approval, make only the agreed changes. Check the affected notes again and report what changed, what remains, and anything that could not be verified. Keep the original backup unchanged.

Check: The source has no results from the author's own run of this seven-step prompt.

Key points and results

  • The first recommendation was to save a copy before changing anything, then give every note one of four decisions: KEEP, UPDATE, MOVE or FORGET. An old note, or a finished project, is not automatically useless. A changing project status might belong on a Page the bot can check.
  • The seven-step prompt starts with an audit and changes nothing until the author approves. It batches the review if there are more than about 50 notes, keeps a dated backup unedited, and requires a second look after approved changes.
  • The author says the most useful question in a memory clean-up is what the bot would stop knowing if the note disappeared. The source does not say the author ran this prompt, and it gives no cleanup totals.

Source

Platform
X
Author
Michael | AI + Agents
Published
Categories
Multi-bot teams

What this evidence label means

Tutorial or promotion

This is a tutorial, or the content includes promotion. Examples in a tutorial are not a results report.

Read the editorial and evidence policy

Other cases in this scenario

This unofficial community project is independent of xAI. xAI has neither approved nor endorsed it. No sign-up. The methods and figures come from the original authors.