Terminal
Terminal/Skill
Shows a clean timeline of what happened in recent past sessions on your project.
By Rohit Ghumare
Works with
npx skills add rohitg00/agentmemory --skill session-historyThe user wants an overview of recent sessions on this project.
memory_sessions { "project": "<current-project-id>", "limit": 20 }
Expected output:
7f3a9c2 · app · 2026-06-07 09:00 · completed · 14 obs
- decision: Rotate refresh tokens on every use
b21d004 · app · 2026-06-05 14:00 · completed · 9 obs
- code: limit.ts counts per-IP
Only show sessions and observations the tool returned. An empty history is a real answer, never a cue to invent past work.
memory_sessions, with agentId when requested. If it is unknown, page
through sessions using nextCursor and match normalized cwd by directory
boundary before choosing the most recent 20. Never substitute another project.nextCursor. State when the displayed history is a partial page. Present in
reverse chronological order: session id (first 8), project, start
time, status.WRONG: the tool returns two sessions, you describe "several sessions of steady progress" and add ones you remember from the conversation.
RIGHT: show exactly the two sessions returned, each with its real id, status, and observation count.
recap: same data grouped by date with highlights.handoff: jump straight into the most recent session.recall: search across all sessions by topic.See TROUBLESHOOTING.md if memory_sessions is not available.