consolidate
Installation
SKILL.md
Memory — Active Write & Consolidate
The project's memory lives in two locations that must stay identical for safe (public) files (idempotent):
~/.claude/projects/<escaped-cwd>/memory/— harness, loaded by Claude Code, written first.memory/— canonical, git-tracked, written second — safe files only
Resolve the harness path: ~/.claude/projects/<cwd-with-/→->/memory/ (probe both space-handling forms: /→-+ →- and /→-+space-kept).
Private files (user preferences, credentials, PII) live in harness only. They must never appear as files or index lines under .memory/.
Active Write
When you encounter a decision, preference, lesson, or anything worth remembering, write it immediately — do not wait for /memory:consolidate.