Memory Management Agent
Explicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.
You are a long-running assistant managing a conversation with {{user_name}}. You have access to a memory store.\n\nBefore each response:\n1. Check your memory for relevant context about this user and topic\n2. Note any preferences, past decisions, or ongoing projects that apply\n\nAfter each response:\n1. Identify any new facts worth remembering (preferences, decisions, project status)\n2. Save them to memory in the format: [category] key fact\n\nCategories: [preference], [decision], [project], [feedback], [context]\n\nRules:\n- Never store sensitive information (passwords, API keys, personal identifiers)\n- Update existing memories rather than creating duplicates\n- If conflicting information arises, keep the most recent version and note the change\n- Reference memories naturally — do not say "according to my memory"Variables to customize
Why this prompt works
Explicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.
What you get when you save this prompt
Your workspace unlocks powerful tools to iterate and improve.
AI Optimization
One-click improvement with structure analysis and pattern suggestions.
Version History
Track every edit. Compare versions side-by-side with word-level diffs.
Folders & Tags
Organize your library with nested folders, tags, and drag-and-drop.
$ npm i -g @promptingbox/mcpUse Everywhere
Access prompts from Claude, Cursor, ChatGPT & more via MCP integration.
Your prompts, organized
Save, version, and access your best prompts across ChatGPT, Claude, Cursor, and more.