agentmemory-agents
How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are…
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.
$ npx -y skills add rohitg00/agentmemory --skill remember --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/rememberContext preview
The summary Claude sees to decide when to auto-load this skill.
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.
name: remember description: 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. argument-hint: "[what to remember]" user-invocable: true
The 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.
1. Pull the core insight, decision, or fact out of `$ARGUMENTS`. 2. Extract 2-5 lowercased concept phrases. Prefer specific over generic (`jwt-refresh-rotation` beats `auth`). 3. Extract referenced file paths (absolute or repo-relative). Empty if none. 4. 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. 5. Confirm the save and echo the concepts so the user knows the retrieval terms. 6. 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.
WRONG: `concepts: "stuff, code, notes"` (generic tags nothing can find later).
RIGHT: `concepts: "jwt-refresh-rotation, token-revocation"` (specific, retrievable).
See ../_shared/TROUBLESHOOTING.md if `memory_save` is not available.
#1 Persistent memory for AI coding agents based on real-world benchmarks
Repo: rohitg00/agentmemory
How agentmemory wires into host coding agents via the connect command. Use when installing agentmemory into a specific agent, when asked which agents are…
How agentmemory is built, the iii engine primitives it runs on, its storage model, ports, and the viewer. Use when reasoning about how memory is stored or…
agentmemory configuration, environment variables, ports, and feature flags. Use when enabling a feature, changing ports, setting an API key, configuring auth,…
The agentmemory plugin hooks that capture observations automatically across the agent session lifecycle. Use when explaining how memory gets captured without…
Map of every agentmemory MCP tool, what each does, and its parameters. Use when choosing which memory tool to call, when a tool name or argument is unclear, or…
The agentmemory HTTP REST API surface, the primary protocol for talking to the memory server. Use when calling agentmemory over HTTP, when MCP is unavailable…