Preserves and retrieves historical context, error records, and code references to prevent information loss during Claude Code session compactions.
The Long-term Session Memory skill solves the problem of 'memory decay' in Claude Code caused by the /compact command. While compaction helps save context window space, it often leads to the loss of crucial early project details and error-fix history. This skill interfaces with a persistent storage system that automatically saves session data to dedicated markdown files, allowing Claude to recall specific technical background, previous debugging steps, and file references even after multiple compactions.
主要功能
01Dedicated error tracking to prevent repeating past debugging mistakes
02Session-specific historical data management
03Categorized memory storage for errors, technical context, and file references
04Automatic file truncation to optimize context window usage
050 GitHub stars
06Persistent context retrieval across session compactions
使用场景
01Restoring critical project context immediately after a /compact command
02Accessing high-level technical requirements discussed at the start of a long development session
03Reviewing error logs to troubleshoot recurring bugs with previously identified solutions