session-history
What it does
This skill shows the recent work sessions on your current project as a timeline. Each session shows its status, observation count, and key decisions.
When to use it
- ✓When you ask what we did last time or want past sessions listed.
- ✓When you want an overview of previous work on the current project.
- ✓When you want to see the key decisions from each past session.
Skill link
https://github.com/rohitg00/agentmemory/blob/main/plugin/skills/session-history/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“What did we do last time on this project? Show me the session history.”
5 new skills a week. 1 minute to read.
How it works
The agent lists sessions for the project in reverse date order, showing each one's short ID, start time, status, and observation count. It adds highlights and key decisions where they were recorded.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
The user wants an overview of recent sessions on this project.
Quick start
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
Why
Only show sessions and observations the tool returned. An empty history is a real answer, never a cue to invent past work.
Workflow
- Use the exact project identifier recorded by the host and pass it to
memory_sessions, withagentIdwhen requested. If it is unknown, page through sessions usingnextCursorand match normalizedcwdby directory boundary before choosing the most recent 20. Never substitute another project. - Preserve scope filters on every page; stop at the requested count or a null
nextCursor. State when the displayed history is a partial page. 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.
- Project/directory scope was checked before selecting the displayed window.
- 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 TROUBLESHOOTING.md if memory_sessions is not available.
FAQ
What if there is no history?
The skill says so. It does not invent past sessions.
Could it show sessions from another project?
No. It sticks to the project you are working in and does not substitute another one.
Will it show every session?
It shows a set number, such as the most recent twenty, and notes when the list is partial.
Details
Original description by the author
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.
repo: rohitg00/agentmemory
Popularity
- GitHub stars
- 30k
- Ranking position
- #9354
- License
- Apache-2.0
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
agentmemory-agents
30kHelps your agent connect the agentmemory memory server to coding tools such as Claude Code, Cursor, and Codex.
agentmemory-architecture
30kExplains how agentmemory stores, searches, and manages memories for coding agents, from capture to recall.
agentmemory-config
30kHelps your agent set up and check the agentmemory memory server, including ports, settings, and feature flags.
agentmemory-hooks
30kHelps your agent automatically capture useful notes from coding sessions, without you saving each one by hand.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.