Session Memory — Development skill for Claude Code
Claude Code and Codex start each new session without your earlier ones.
How to install Session Memory
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Palis8d/session-memory and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Session Memory does
Claude Code and Codex start each new session without your earlier ones. smem gives both one shared memory of every past session (what you asked, what they answered, which files changed, when) and a skill to search it, so they look things up instead of asking you. Runs on your computer, and keeps sessions past Claude Code's 30-day deletion.
Alternatives in Development
- Workstation Setup — Shared workstation setup for both source trees in this repo 2.8k ★
- Arrecall — AgentRecall on-demand recall — surface past fixes, decisions, and patterns mid-session without leaving your fl 370 ★
- Funes — Durable, searchable memory of your past agent sessions 349 ★
README
Session Memory
[](https://github.com/Palis8d/session-memory/actions/workflows/tests.yml)
Claude Code and Codex start each new session without your earlier ones. smem gives both one shared memory of every past session (what you asked, what they answered, which files changed, when) and a skill to search it, so they look things up instead of asking you. Runs on your computer, and keeps sessions past Claude Code's 30-day deletion.
Without smem, and with it
| Without smem | With smem | |
|---|---|---|
| A new session | The assistant starts without your earlier sessions, so you explain again what happened. | The assistant looks up what happened and tells you. |
| Finding one old decision | Not knowing which session holds it, the assistant would have to read through old logs. A typical session is tens to hundreds of thousands of tokens, a long one millions, and the whole history here about 12 billion. In practice it can't, so it asks you. | One search across every session takes under a tenth of a second and returns a short list of dated matches: a few hundred to about 1,300 tokens in the searches measured. The assistant then opens only the session it needs. |
| "What's still unfinished?" | The assistant would have to read many sessions and guess. | smem catchup lists, by day and project, the plan steps not done, requests left unanswered or cancelled, Codex goals not marked complete, and next steps left in final answers. They're leads from the record, for you to judge. |
| Picking work back up | You find the old session and explain it again. | smem handoff gives a fresh session the goal, where it stands, what's open and the files involved, plus the command that reopens the original. |
| Claude Code and Codex | Each sees only its own sessions. | Each finds the other's work too. |
| Claude Code sessions older than 30 days | Deleted by |
Related Skills
Agent Run Forensics
Use when asked why an agent did something, what a past session or run changed, whether tests really passed, or
Einstein Map
Persistent memory for OpenAI Codex and Anthropic Claude Code. Reuse context across sessions, search past conve
Claude Open Questions
A box above the Claude Code prompt with the questions Claude asked that you have not answered yet
Bifrost Candidates
Review memory candidates recorded during sessions, and promote the good ones into shared team memory.
Followups
Find threads where you wrote last and nobody has answered for N days, open an item on the page of whoever owes
Lesson Show
Read saved lessons: the ones that fit the work, one in full, or a list by state. Use it before work earlier le
Related Agents
Part 13: Memory Bridge (Give Coding Agents Your Brain)
When you spawn Codex or Claude Code to build something, they start blind. They don't know your architecture de
Brainstem Copilot.Agent
One native Copilot chat with both Brainstem and Brain Surgeon. Address either by name to use capabilities or t
Task Tracker
Request ledger keeper. Use at the start of a long or multi-part prompt to list every request as a numbered led