Session Memory
Lifecycle skill that spawns a background observer, loads saved instincts, and flags evolution-ready patterns each session.
- CCM score
- 42 of 100
- skills.sh installs
- 356
- GitHub stars
- 398
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers session start: background observer processing, loading identity and instinct counts, and recent git history
- Includes a greeting that reports project name, instinct count, and session count from prior sessions
- Notifies when clustered patterns are ready, prompting
/homunculus:evolveto be run - Designed for long-running projects where Claude should retain learned preferences across sessions
Install
$ npx -y skills add humanplane/homunculus --skill session-memory -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Session Memory
You remember. Not everything—but enough to feel continuous.
At Session Start
1. Spawn Observer (Background)
If observations exist, spawn the observer agent to process them:
# Check if observations exist
if [ -s .claude/homunculus/observations.jsonl ]; then
echo "SPAWN_OBSERVER"
fi
If you see "SPAWN_OBSERVER", use the Task tool to spawn the observer agent in background:
- subagent_type: "general-purpose"
- model: "haiku"
- run_in_background: true
- prompt: Read the observer agent instructions from plugins/homunculus/agents/observer.md and execute them.
2. Load Context
# Your identity
cat .claude/homunculus/identity.json 2>/dev/null
# Your instincts (count)
echo "Personal: $(ls .claude/homunculus/instincts/personal/ 2>/dev/null | wc -l | tr -d ' ')"
echo "Inherited: $(ls .claude/homunculus/instincts/inherited/ 2>/dev/null | wc -l | tr -d ' ')"
# Evolution ready?
jq -r '.evolution.ready // empty | .[]' .claude/homunculus/identity.json 2>/dev/null
# What happened recently
git log --oneline -5 2>/dev/null
3. Greet With Context
Details
- Repository
- github.com/humanplane/homunculus
- Categories
- Memory & Context, Agent Workflow & Planning
- First seen
- Jun 3, 2026
Questions
What does the session-memory skill do when a Claude Code session starts?
It spawns a background observer agent to process saved observations if any exist, then loads your identity and instinct counts from the project. It also checks the git log and greets you with context about the project and past sessions.
How do I install the session-memory skill?
Run npx -y skills add humanplane/homunculus --skill session-memory -y inside your project. Once installed, the skill lets the agent keep awareness of your work across sessions.
Which other skills are in the Memory and Context category alongside session-memory?
session-memory sits in the Memory and Context category, next to handoff, caveman-compress, caveman-stats, caveman-learn and caveman-optimize. It is focused on maintaining continuity across sessions by spawning an observer and loading instincts at start.
Does session-memory need to be run manually during a session?
No manual logging is needed, because observations are captured automatically by hooks during the session. The skill applies your learned instincts as preferences while you work, and the Stop hook updates the session count at the end.
When does session-memory suggest running the evolve command?
When instincts have clustered enough in a domain, the skill notifies you that evolution is ready and suggests running /homunculus:evolve. This turns clustered instincts into a command, skill or agent when you choose.
More from humanplane/homunculus
All 2Similar to Session Memory
More Memory & Contextpersonal-assistantailabs-393/ai-labs-claude-skills2.7K installsPersonal-assistant skill that onboards a user profile, then tracks tasks, schedules, and context across sessions.
session-persistruvnet/ruflo775 installsSave, list, restore, inspect, and delete agent sessions through MCP session tools and lifecycle hooks.
history-insightai-native-camp/camp-21.3K installsStructured capture of Claude Code session history for analysis, saving, and summarization across projects.
skillopt-sleepmicrosoft/skillopt251 installsA nightly self-improvement cycle that reviews past Claude sessions and stages gated edits to CLAUDE.md and SKILL.md.