# Session History

> 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.

- **Type:** Skill
- **Install:** `agentstack add skill-imrandev3-agentmemory-opencode-skill-session-history`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [ImranDev3](https://agentstack.voostack.com/s/imrandev3)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [ImranDev3](https://github.com/ImranDev3)
- **Source:** https://github.com/ImranDev3/agentmemory-opencode-skill/tree/main/plugin/skills/session-history

## Install

```sh
agentstack add skill-imrandev3-agentmemory-opencode-skill-session-history
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

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.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [ImranDev3](https://github.com/ImranDev3)
- **Source:** [ImranDev3/agentmemory-opencode-skill](https://github.com/ImranDev3/agentmemory-opencode-skill)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-imrandev3-agentmemory-opencode-skill-session-history
- Seller: https://agentstack.voostack.com/s/imrandev3
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
