Terminal
Terminal/Skill
Saves an insight, decision or learning to long-term agent memory with searchable tags, so future sessions can find it.
By Rohit Ghumare
Works with
npx skills add rohitg00/agentmemory --skill rememberThe user wants to save this to long-term memory: $ARGUMENTS
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.
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.
$ARGUMENTS.jwt-refresh-rotation beats auth).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.WRONG: concepts: "stuff, code, notes" (generic tags nothing can find later).
RIGHT: concepts: "jwt-refresh-rotation, token-revocation" (specific, retrievable).
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.See TROUBLESHOOTING.md if memory_save is not available.