From agent-memory
Search agent-memory's persistent cross-session memory database. Use when user asks "did we already solve this?", "how did we do X last time?", or needs work from previous sessions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-memory:mem-search [search query][search query]The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Search past work across all coding sessions using the agent-memory MCP tools.
Search past work across all coding sessions using the agent-memory MCP tools.
Use when users ask about previous sessions (not the current conversation):
NEVER fetch full details without filtering first. 10x token savings.
Use the search MCP tool (server: agent-memory):
search(query="$ARGUMENTS", limit=20)
Returns: table with IDs, titles, types, scores (~50-100 tokens/result)
Optional filters:
| Param | Example | Description |
|---|---|---|
project | "myapp" | Filter by project name |
type | "bugfix" | Filter: discovery, bugfix, feature, refactor, decision, change, pattern, gotcha |
dateStart | "2026-02-01" | ISO date range start |
dateEnd | "2026-02-12" | ISO date range end |
limit | 20 | Max results (default 20, max 50) |
Use the timeline MCP tool:
timeline(anchor=<ID>, depth_before=3, depth_after=3)
Or find anchor automatically:
timeline(query="authentication", depth_before=3, depth_after=3)
Shows what happened before and after a specific observation in the same session.
Review titles from Step 1. Pick relevant IDs. Discard the rest.
get_observations(ids=[11131, 10942])
Returns: complete observations with title, narrative, facts, concepts, files (~500-1000 tokens each)
ALWAYS batch multiple IDs in one call.
Use save_memory to store important findings for future sessions:
save_memory(text="Important discovery about the auth system", title="Auth Architecture", project="myapp")
Find recent bug fixes:
search(query="bug", type="bugfix", limit=10)
Find decisions made last week:
search(query="architecture decision", type="decision", dateStart="2026-02-05")
Understand context around a discovery:
timeline(anchor=11131, depth_before=5, depth_after=5)
Search for the user's query:
search(query="$ARGUMENTS", limit=20)
When invoked with /mem-search, immediately run:
search(query="$ARGUMENTS", limit=20)
Present results as a table. If the user wants details on specific results, proceed to steps 2 and 3.
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
npx claudepluginhub metazen11/agent-memory --plugin agent-memory