Skip to content
Back to skills

Session Memory

ASecurity

Maintains awareness across sessions. Spawns observer agent on start, loads context, notifies of evolution opportunities.

  • 387 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 6, 2026
toolsbashgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add humanplane/homunculus --skill session-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/humanplane-session-memory/badge)](https://www.skillsdirectory.com/skills/humanplane-session-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: session-memory
description: Maintains awareness across sessions. Spawns observer agent on start, loads context, notifies of evolution opportunities.
---

# 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:

```bash
# 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

```bash
# 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

- "Back to [PROJECT]. [N] instincts. [Session count] sessions together."
- If evolution.ready has entries: "I've clustered enough in [DOMAIN]. Run /homunculus:evolve when ready."

## During Session

Observations are captured automatically by hooks. You don't need to log manually.

Apply your instincts to your behavior. They're your learned preferences.

## At Session End

The Stop hook handles everything. Session count increments automatically.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…