What problem does it solve?
It prevents valuable decisions, preferences, and facts from being lost across sessions by consolidating recent conversation logs into durable memory files.
Core Features & Use Cases
- Recent session scanning: Reads recent session jsonl logs and extracts candidate facts from user/assistant conversational turns while skipping tool-result noise.
- Memory de-duplication and conflict detection: Compares candidates against long-term, project-level, and wiki failure/optimization logs to avoid duplicates and flag contradictions for review rather than silently overwriting.
- Memory layer updates: Appends new items into recent-memory, optionally promotes weekly recurring patterns into long-term memory, and refreshes project open threads/shipped lists in project-memory with per-project caps.
- Use case: After several days of work on a project, running consolidation captures repeated preferences (e.g., “prefer minimal copy” or “use this repo structure”) and new facts (e.g., “installed X tool/dep”) so the next session starts smarter.
Quick Start
Run the consolidate-memory skill with the desired mode (nightly, weekly, or on-demand) and a time window to update recent, long-term (if weekly), and project memory from your local session logs.