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.
Install
npx skills add https://github.com/rohitg00/agentmemory --skill rememberSKILL.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 recall finds it, and preserve the user's own phrasing.
Workflow
- Pull the core insight, decision, or fact out of
$ARGUMENTS. - Extract 2-5 lowercased concept phrases. Prefer specific over generic
(
jwt-refresh-rotationbeatsauth). - Extract referenced file paths (absolute or repo-relative). Empty if none.
- Call
memory_savewithcontent,concepts(comma-separated string), andfiles(comma-separated string). In a multi-agent setup passagentIdso 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.
Anti-patterns
WRONG: concepts: "stuff, code, notes" (generic tags nothing can find later).
RIGHT: concepts: "jwt-refresh-rotation, token-revocation" (specific, retrievable).
Checklist
- 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.
See also
recall: retrieve what you save here (the pair to this skill).forget: remove a memory you saved by mistake.lesson: behavioral rules from corrections; memories are for facts.memory-discipline: when to save unprompted.
Troubleshooting
See ../_shared/TROUBLESHOOTING.md if memory_save is not available.
Related skills
find-skillsvercel-labs3.6MHelps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.handoffmattpocock883KCompact the current conversation into a handoff document for another agent to pick up.microsoft-foundrymicrosoft618KBuild, deploy, evaluate, optimize, fine-tune, and manage Microsoft Foundry agents, models, and resources end to end. USE FOR: foundry, azd ai agent, azd provision/deploy, hosted agent scaffold/develop/run/deploy/troubleshoot, prompt agent create, create agent, update agent, add tool to agent, invoke agent, agent.yaml, agent insights, pull agent insights, evaluate agent, batch eval, continuous eval, continuous monitoring, agent CI/CD, optimize prompt, improve prompt, prompt optimizer, optimize agcavemanjuliusbrussee544KUltra-compressed communication mode that cuts output tokens while keeping technical accuracy. Levels: lite, full, ultra and the wenyan variants. Use for /caveman, "caveman mode", "talk like caveman", "be brief" or "less tokens".