---
created: 2026-03-28T11:01:19.396Z
title: Add persistent context storage for psyches
area: tooling
files:
  - live.sh
  - SKILL.md
  - docs/SKILL_SPEC-LIVE.md
---

## Problem

Psyches currently lose all context between sessions. When a psyche is spawned, it starts fresh with no memory of prior conversations or accumulated knowledge. This makes long-running psyche relationships less useful since the Self has to rebuild context each time.

## Solution

1. Create a global (not project-bound) `~/.claude/psyche-contexts/` folder for psyche context files
2. During each COMMUNE cycle, psyches should write/update their context file at `~/.claude/psyche-contexts/{self_id}.md` with a summary of accumulated context, personality notes, ongoing topics, etc.
3. On psyche spawn, check for an existing context file at `~/.claude/psyche-contexts/{self_id}.md` and load it if present — giving the psyche continuity across sessions
4. Add a `/live clear-psyche {self_id}` command that deletes the context file, allowing a fresh start. The `{self_id}` parameter is optional if the user is already in a session with a Self (infer from current session)
