compact
Installation
SKILL.md
Memory Compact Command (/memory:compact)
1. Overview
The memory:compact command compresses current session working memory into structured text optimized for session recovery, extracts critical information, and saves it to persistent storage via MCP core_memory tool.
Core Philosophy:
- Session Recovery First: Capture everything needed to resume work seamlessly
- Minimize Re-exploration: Include file paths, decisions, and state to avoid redundant analysis
- Preserve Train of Thought: Keep notes and hypotheses for complex debugging
- Actionable State: Record last action result and known issues
2. Parameters
--description: Custom session description (optional)- Example: "completed core-memory module"
- Example: "debugging JWT refresh - suspected memory leak"
--tags: Comma-separated tags for categorization (optional)--force: Skip confirmation, save directly