Memory Defrag
Optimizes and reorganizes AI agent memory files to maintain high-quality context and eliminate redundant information.
Memory Defrag is a maintenance utility designed to keep your AI's long-term memory efficient and relevant. Over time, agent memory files can become bloated, redundant, or outdated, leading to context drift and decreased performance. This skill provides a structured process to audit your memory hierarchy, split oversized files, merge duplicates, and prune stale data. By running this periodically, you ensure your AI assistant always has a clear, concise, and accurate understanding of your project without wasting tokens on irrelevant information.
主な機能
01Consolidates duplicate facts and information across multiple files
02Generates a detailed audit log of all changes in daily notes
03Identifies and splits bloated memory files exceeding 300-500 lines
04Prunes stale entries, completed tasks, and outdated project statuses
05Restructures knowledge hierarchies to prevent deep nesting and fragmentation
063,228 GitHub stars
ユースケース
01Reorganizing scattered notes into a structured knowledge base after a development sprint
02Weekly maintenance of long-running projects to prevent context rot
03Reducing AI token usage by removing redundant or completed project information