agentmemory is a persistent-memory system that lets AI coding agents retain and search information across sessions. It connects with several coding agents and MCP clients, storing knowledge with confidence scoring, lifecycle handling, knowledge graphs, and hybrid search. The catalogue contains agentmemory integrations such as skills, hooks, commands, a plugin, and an MCP component.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add rohitg00/agentmemory --skill session-historygit clone --depth 1 https://github.com/rohitg00/agentmemoryWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rohitg00/agentmemory/session-history)<a href="https://agentmods.dev/skills/rohitg00/agentmemory/session-history"><img src="https://agentmods.dev/badge/skills/rohitg00/agentmemory/session-history/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rohitg00/agentmemory/session-history"><img src="https://agentmods.dev/badge/skills/rohitg00/agentmemory/session-history.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00047 | $0.00562 |
| Opus 5.5 | $0.00019 | $0.00225 |
| Sonnet 5.5 | $0.00009 | $0.00112 |
| Haiku 4.5 | $0.00005 | $0.00056 |
Grade A, and why
session-history scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
2 near-identical copies found in the catalogue:
- session-history — 100% identical, 14 lines differ
- session-history — 91% identical, 15 lines differ
How it starts
The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on 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
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago Changed · +6 lines 70d6cd48245b
- 3mo ago First seen · 62 lines · 47 tokens per session scan A 6aec3cfd96a3
session-history is a skill published in the GitHub repository rohitg00/agentmemory (30,674 stars, last pushed yesterday), licensed Apache-2.0. It adds 47 tokens to every session and 562 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
session-history compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| session-historyrohitg00/agentmemory | Skill | 31k | yesterday | Apache-2.0 | A | 47 | Claude Code |
| memoryoracle-devrel/oracle-ai-developer-hub | Skill | 4.5k | yesterday | none | A | 17 | Codex |
| hindsight-coding-agentvectorize-io/hindsight | Skill | 64k | yesterday | MIT | A | 74 | Claude Code, Codex |
| memory-retainvectorize-io/hindsight | Skill | 64k | yesterday | MIT | A | 46 | Cursor |
| last30Dayschaitanyagiri/munder-difflin | Skill | 10k | yesterday | MIT | A | 83 | Claude Code |
| thisWeekchaitanyagiri/munder-difflin | Skill | 10k | yesterday | MIT | A | 77 | Claude Code |
| anywhere-uianywhere-labs/Agents-Anywhere | Skill | 3.9k | yesterday | Apache-2.0 | A | 46 | Claude Code, Codex |