session-history
Fetch recent session history using the memory_sessions MCP tool (provided by the agentmemory server that this plugin wires up automatically via .mcp.json). Pass limit: 20 to get a meaningful window.
Present the returned sessions in reverse chronological order:
- Show the session ID (first 8 chars), project, start time, and status
- For each session with observations, show the key highlights (type + title)
- Note the total observation count per session
- If a session summary exists, surface the title and the key decisions
Format as a clean timeline. Do NOT make up sessions — only show what the MCP tool actually returned. If memory_sessions isn't available, the stdio MCP shim didn't start — tell the user to:
- Run
/plugin listin Claude Code and confirmagentmemoryshows as enabled. - Restart Claude Code (the plugin's
.mcp.jsonis only read on startup). - Check
/mcpto see whether theagentmemoryMCP server is connected.
More from rohitg00/agentmemory
recall
Search agentmemory for past observations, sessions, and learnings about a topic. Use when the user says "recall", "remember", "what did we do", or needs context from past sessions.
35remember
Explicitly save an insight, decision, or learning to agentmemory's long-term storage. Use when the user says "remember this", "save this", or wants to preserve knowledge for future sessions.
33forget
Delete specific observations or sessions from agentmemory. Use when user says "forget this", "delete memory", or wants to remove specific data for privacy.
30