Prompt examples
Copy-ready prompts for working with your memory - save a decision, recall a project, keep notes fresh, prune what is stale, and carry context from one AI to the next.
Before you start
Every prompt below assumes your client is connected - see Connect a client. Paste one into Claude, Cursor, ChatGPT, or any other connected client and it calls the matching memory__* tool for you; you never name a tool yourself.
Notes are addressed by path, like projects/acme/decisions.md. Name the path when you know it, and let the agent search when you do not. Search is literal keyword matching, so one distinctive keyword beats a full sentence - see the MCP tools reference for the exact contracts.
Save knowledge as you work
The habit that pays for everything else: when a decision lands, save it while the reasoning is still in the conversation. A new note is one prompt.
Save this decision to memory at projects/acme/decisions.md:
we chose Postgres full-text search over a separate search service because our
data is already in Postgres and the extra service was not worth the operational
cost. Include today's date and the two options we rejected.When the note already exists, ask for an append instead of a rewrite - memory__write replaces a note in full, memory__edit changes only what you point at.
Append to projects/acme/decisions.md in my memory: we are keeping the old export
endpoint until the mobile app ships, then removing it. Leave the existing entries
untouched.Recall context at session start
Open a session by pulling back what you already know, so the model starts where you left off instead of from nothing.
Search my memory for "acme" and read the most relevant notes. Before we start,
summarize: what we decided, what is still open, and what I was working on last.When you know roughly where something lives, browse instead of searching.
List what is under projects/billing/ in my memory, read the notes that look
relevant to the invoice rewrite, and give me the current state in five bullets.Keep memory fresh
Notes go stale quietly. Ask for a targeted edit rather than a rewrite so the rest of the note survives.
Read projects/acme/stack.md in my memory and update the search section: we moved
from a keyword index to Postgres full-text search last week. Change only that
section and leave the rest of the note as it is.Mark projects/acme/roadmap.md as launched in its frontmatter and leave the body alone.If a note has drifted so far that patching it is fiddly, say so: "rewrite projects/acme/stack.md from scratch based on what we just discussed" replaces it in full with memory__write. The previous version stays in history.
Organize and prune
Once a memory has a few hundred notes, a review pass is worth more than another note. Ask for the audit first, changes second.
List the folder tree under projects/ in my memory and read anything that looks
duplicated or out of date. Give me a table of note, what is stale about it, and
what you would do. Do not change anything yet.Move the three onboarding notes under scratch/ into onboarding/: read each one,
write it to the new path, then delete the old one. Show me the plan before you
run it.Deletes are recoverable from history, not a hard wipe - but an agent deleting in bulk is still worth a look first, which is why the prompt asks for the plan.
Cross-tool workflows
One memory, every AI. Write it down in the tool where the work happened, pick it up in whichever tool you open next.
We just shipped the auth rewrite. Write a handover note to memory at
projects/auth/handover.md: what changed, the new configuration, how to roll it
back, and the two follow-ups still open.Search my memory for "handover" under projects/auth and read the note. I am
briefing the team in ten minutes - turn it into five bullets and one risk.Nothing is copied by hand: both clients call the same endpoint on the same account, so a note written in one is readable in the other the moment it is saved.
Standing instructions
A prompt you paste every day belongs in the agent instructions instead. Drop this into a CLAUDE.md, a rules file, or a system prompt, and the agent checks memory before answering and saves what is worth keeping without being asked.
## Memory
You have Agentage Memory connected over MCP: `memory__search`, `memory__read`,
`memory__write`, `memory__edit`, `memory__list`, `memory__delete`.
- Before answering anything about this project, search memory for the project
name and read the top hits. Say what you found before you start.
- When we settle a decision, a convention, or a gotcha, save it: append to the
note that already covers the topic, or create one under `projects/<name>/`.
- Prefer editing an existing note over writing a second note on the same topic.
- Keep entries short and dated. Notes are markdown, addressed by path.
- Never write secrets, tokens, or credentials to memory.The memory tools only fire when a request is about your notes. Everyday questions - facts, maths, writing - are answered normally, without touching your memory.