session-history
rohitg00/agentmemory
Display a clean timeline of recent project sessions and what was accomplished in each.
What is session-history?
Shows what happened in past sessions on your project as a reverse-chronological timeline. Use when you need to recall what was done last time, review session history, or get an overview of previous work without searching.
- Fetches recent sessions (up to 20) from project memory
- Displays sessions in reverse chronological order with id, project, timestamp, and status
- Lists key observations (decisions, code changes, etc.) for each session
- Shows total observation count per session
- Surfaces session summaries and key decisions when available
How to install session-history
npx skills add https://github.com/rohitg00/agentmemory --skill session-historyHow to use session-history
- 1.Invoke the skill when user asks about past sessions or recent work
- 2.Call memory_sessions with limit: 20 to fetch recent sessions
- 3.Display results in reverse chronological order (newest first)
- 4.For each session, show: session id (first 8 chars), project name, start time, status, and observation count
- 5.Include key observation highlights (type and title) for each session
Use cases
- Quickly recall what was accomplished in the last work session
- Review multiple past sessions to understand project progression
- Get context when returning to a project after time away
- Answer "what did we do last time?" questions without manual searching
- Understand decision history and code changes across sessions
- Developers returning to a project
- Team members catching up on recent work
- Anyone needing quick context on past sessions
session-history FAQ
An empty history is a valid answer. Do not invent or assume past work.
Up to 20 recent sessions by default, providing a meaningful historical window.
session-history shows sessions as a timeline; recap groups the same data by date with highlights.
No, use the 'recall' skill to search across sessions by topic.
Use the 'handoff' skill to go straight to the most recent session.
Full instructions (SKILL.md)
Source of truth, from rohitg00/agentmemory.
name: session-history description: Show what happened in recent past sessions on this project as a clean timeline. Use when the user asks "what did we do last time", "session history", "past sessions", or wants an overview of previous work. user-invocable: true
The user wants an overview of recent sessions on this project.
Quick start
memory_sessions { "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
Why
Only show sessions and observations the tool returned. An empty history is a real answer, never a cue to invent past work.
Workflow
- Call
memory_sessionswithlimit: 20for a meaningful window. - Present in reverse chronological order: session id (first 8), project, start time, status.
- For sessions with observations, show the key highlights (type plus title).
- Note the total observation count per session.
- When a session summary exists, surface its title and the key decisions.
Anti-patterns
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.
Checklist
- Every session shown came from the tool response.
- Order is reverse-chronological.
- Per-session observation counts match the response.
- No session or highlight was invented or merged.
See also
recap: same data grouped by date with highlights.handoff: jump straight into the most recent session.recall: search across all sessions by topic.
Troubleshooting
See ../_shared/TROUBLESHOOTING.md if memory_sessions is not available.
Related skills
More from rohitg00/agentmemory and the wider catalog.

write-agentmemory-skill
Format and rules for writing consistent agentmemory skills.

agentmemory-agents
Wire agentmemory memory server into Claude Code, Cursor, Codex, or other coding agents.

agentmemory-architecture
Understand agentmemory's architecture: iii engine primitives, hybrid retrieval, storage lifecycle, and ports.

agentmemory-config
Configure agentmemory environment variables, ports, API keys, and feature flags.

check-understanding
Quiz yourself on AI Engineering from Scratch phases to test knowledge and readiness.

claude-certification
AI-native tutor for four independent Claude certification tracks with interactive lessons, labs, and assessments.