What problem does it solve?
This Skill addresses the growing inefficiency and cost associated with large, unoptimized Claude Code memory files, which can slow down context loading and increase API expenses.
Core Features & Use Cases
- Duplicate Removal: Identifies and removes redundant entries already present in CLAUDE.md or rule files.
- Intelligent Migration: Moves relevant rules and architectural decisions to persistent config files (
CLAUDE.md, .claude/rules/, ~/.claude/rules/).
- Token Compression: Reformats remaining entries into more token-efficient structures like tables.
- Validation & Cleanup: Checks for broken references and orphaned files.
- Use Case: Reduce your Claude memory token count by 30-50%, leading to faster responses and lower costs, by automatically cleaning and optimizing your memory files.
Quick Start
Run the memory-optimize skill to begin the interactive cleanup process for your Claude memory files.