AgentAge
Markdown

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.

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.

text
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.
Creates the note with memory__write.

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.

text
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.
Appends with memory__edit.

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.

text
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.
memory__search ranks the paths, then memory__read pulls the full notes.

When you know roughly where something lives, browse instead of searching.

text
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.
memory__list walks the folder tree, then memory__read.

Keep memory fresh

Notes go stale quietly. Ask for a targeted edit rather than a rewrite so the rest of the note survives.

text
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.
memory__read to see the current text, then memory__edit for the passage.
text
Mark projects/acme/roadmap.md as launched in its frontmatter and leave the body alone.
memory__edit shallow-merges top-level frontmatter keys.

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.

text
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.
memory__list plus memory__read - a read-only audit.
text
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.
memory__read, memory__write, then memory__delete.

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.

text
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.
End of a coding session, in a terminal or editor client.
text
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.
Next morning, in a chat client. Same account, same memory.

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.

markdown
## 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.
Paste into your agent instructions once; it applies to every session after that.