Save an insight, decision, or learning to agentmemory's long-term storage with searchable concept tags. Use when the user says "remember this", "save this", "note that", "don't forget", or wants to preserve knowledge for future sessions.
Installation
Summary
Save an insight, decision, or learning to agentmemory's long-term storage with searchable concept tags. Use when the user says "remember this", "save this", "note that", "don't forget", or wants to preserve knowledge for future sessions.
Content preserves the user's phrasing, not a paraphrase.
Concepts are specific, lowercased, 2-5 items.
File paths are real references, not guesses.
Confirmation echoes the exact concepts tagged.
SKILL.md
The user wants to save this to long-term memory: $ARGUMENTS
Quick start
memory_save {
"content": "We rotate JWT refresh tokens on every use; the old token is revoked server-side in auth/refresh.ts.",
"concepts": "jwt-refresh-rotation, token-revocation, auth-flow",
"files": "src/auth/refresh.ts"
}
Expected output:
Saved memory abc12345 with 3 concepts: jwt-refresh-rotation, token-revocation, auth-flow.
Why
A memory is only as useful as the terms that retrieve it. Tag with specific
concepts so a future finds it, and preserve the user's own phrasing.
remember by rohitg00/agentmemory
recall
Workflow
Pull the core insight, decision, or fact out of $ARGUMENTS.
Extract 2-5 lowercased concept phrases. Prefer specific over generic
(jwt-refresh-rotation beats auth).
Extract referenced file paths (absolute or repo-relative). Empty if none.
Call memory_save with content, concepts (comma-separated string), and
files (comma-separated string). In a multi-agent setup pass agentId so
the memory lands in the right agent's scope.
Confirm the save and echo the concepts so the user knows the retrieval terms.
To update a fact, save the corrected version outright: near-duplicate content
supersedes the old record, which leaves recall but stays in the version chain.