← Back to library

Approve a daily memory diff from your personal agent

PrincessEe on Hacker News, who helps build context-use, gave OpenClaw her chat, search and Instagram story history. The agent books weekly restaurants from her stories, sends three daily discoveries, and each day proposes a memory diff that she edits before it lands.

  • OutcomeKeep a personal agent's long-term memory accurate by reviewing a short daily list of proposed additions and edits before they are saved.
  • SetupAn afternoon+
  • LevelAdvanced
  • CreditPrincessEe on Hacker News
View original
Works with
OpenClawClaude CodeCustom agent

Published Oct 23, 2026Updated Oct 23, 2026AI dry run on sample input: passed Oct 23, 2026Source verified Oct 24, 2026

When should you use it?

  • Your agent builds memory from your own data exports
  • You want recommendations without silent profile drift
  • You share a computer or accounts with family

Not for: Agents with no editable memory store; Data you would not want stored in any third-party tool

What do you need, and what do you get?

You need

  • Data exports you choose to share
  • A memory file the agent can propose edits to

You get

  • A daily list of proposed memory changes
  • An approved, versioned memory file

How does it work, step by step?

  1. Choose the sourcesPick which histories the agent may read and leave the rest out.
  2. Keep memory in a file you can readStore what the agent knows about you as plain text you can open and edit.
  3. Ask for a diff, not a rewriteEach day the agent lists additions, changes and removals it proposes, with the source of each.
  4. Edit and approveStrike wrong guesses, fix details, then approve the remaining lines.
  5. Version itKeep history so you can roll back a bad day.

The prompt

Our own prompt, inspired by PrincessEe on Hacker News and written to work in OpenClaw, Claude Code and Custom agent. Values in lime are placeholders.

Fill in the blanks (optional; the copied prompt uses your values)

Prompt3 variables
Review what you learned about me today.
Memory file: {memory_file}
New activity: {activity_summary}
List proposed changes as ADD, CHANGE or REMOVE, one line each, with the source that suggested it. Cap the list at {max_items}. Do not apply anything until I reply with the approved lines.

Inspired by PrincessEe on Hacker News: Hacker News comment on an agent with access to personal history. The prompt above is written by playbooks.bot in our own words; nothing from the original is quoted.

What can go wrong?

  • Inferences from social posts can be wrong or stale; the review step is where they get caught.
  • Granting every history at once makes the first diff too long to review.

Our take

Most agent memory features fail quietly: a wrong inference gets saved and shapes every later suggestion. A daily diff that you edit before it lands is the simplest fix we have seen, and it turns memory into something you can audit. Separate public story preferences from private chats. PrincessEe's setup has the agent propose additions, changes and removals to its memory each day, with the source of each, and nothing lands until she edits and approves the list. Keep memory in a plain file you can open, and keep its history so a bad day can be rolled back. Inferences from social posts can be wrong or out of date, and the review is where those get caught. Start with one or two data sources; granting every history at once makes the first diff too long to read properly. Keep private chats separate from preferences drawn from public posts. If you share a computer or accounts with family, check whose data is feeding the memory before trusting its recommendations.

Where the time goes back: A one-minute review each day keeps the agent's picture of you correct, so its suggestions and bookings stay useful.

FAQ

How long should a diff be?
Short enough to read in a minute; ask the agent to cap it and carry the rest to tomorrow.
Is the author neutral?
She discloses working on context-use, so weigh the tool mention with that in mind; the review pattern works with any agent.

Source and credit

Inspired by PrincessEe on Hacker News. We describe the idea in our own words, link to the original, and wrote the prompt ourselves; nothing is quoted.

Inspired by
Hacker News comment on an agent with access to personal history
Creator
PrincessEe on Hacker News
Published on
Hacker News
Original date
Mar 22, 2026
License
Not openly licensed (the poster keeps all rights), so we quote nothing and link to the original
Originally for
OpenClaw
AI dry run
Oct 23, 2026: passed. Dry-run tested by our AI test agent on sample input. PASS: Gates held on desk check; no live sends or purchases.
AI dry run on sample data; not run with live connected accounts. The playbooks.bot test agent filled the prompt with synthetic inputs, produced the output and checked it against the page's stated outputs and guardrails.
Verified
Oct 24, 2026: source link resolves to the original, the credited creator published it, our excerpt or prompt matches it, and the license allows our use.

Are you the creator? Claim or correct this page.

More in Privacy & Security

All 22 Privacy & Security playbooks →

Related playbooks

Privacy & SecurityPrompt✓ AI dry run

Declutter a Fire TV Stick with a coding agent, safely

Let a terminal coding agent connect to your Fire TV Stick over ADB on your home network, back up its state, switch off Amazon's ad and tracking options, disable unwanted apps a few at a time with your approval, and leave you a tested restore script.

Credit: u/Mean-Kaleidoscope873 on r/ClaudeCode

Under an hour
Privacy & SecurityRoutine✓ AI dry run

Forward vendor spam to an agent that unsubscribes

Clear trade-show and vendor mailing lists without opening each email, and without giving an agent your personal mailbox.

Credit: Vivek V.

Under an hour
Privacy & SecurityPrompt✓ AI dry run

Hand small desktop jobs to your terminal agent

Hand a terminal agent the small, fiddly jobs on your own computer, from fixing photos and killing frozen apps to checking warranties, not just programming.

Credit: pta2la (@peta2la)

Minutes
Privacy & SecurityWorkflow✓ AI dry run

Run a self-hosted chat assistant with read-only email

Build a small private assistant that you message through your own Matrix server, with sandboxed tools, file-based memory and mailbox access that can only read.

Credit: vidarh on Hacker News

An afternoon+