Palis8d

Session Memory — Development skill for Claude Code

Development community

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

[![tests](https://github.com/Palis8d/session-memory/actions/workflows/tests.yml/badge.svg?branch=main)](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