Skip to content
Back to skills

Session History

ASecurity

Show what happened in recent past sessions on this project. Use when user asks "what did we do last time", "session history", "past sessions", or wants an overview of previous work.

  • 29,173 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
ai-agents

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add rohitg00/agentmemory --skill session-history --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session History?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session History
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rohitg00-session-history/badge)](https://www.skillsdirectory.com/skills/rohitg00-session-history)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-history
description: Show what happened in recent past sessions on this project. Use when user asks "what did we do last time", "session history", "past sessions", or wants an overview of previous work.
user-invocable: true
---

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:
1. Run `/plugin list` in Claude Code and confirm `agentmemory` shows as enabled.
2. Restart Claude Code (the plugin's `.mcp.json` is only read on startup).
3. Check `/mcp` to see whether the `agentmemory` MCP server is connected.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.