Save current work memory to MCP and local index
Save current work memory to multiple backends with local MEMORY_INDEX.md tracking.
Review the current session (or since the last memory save) and create a concise summary:
Use mcp__plugin_claude-mem_mcp-search__save_memory to save a structured memory:
mcp__plugin_claude-mem_mcp-search__save_memory \
--title "[ProjectName] Memory Save - [Main Achievement]" \
--text "Progress: ... Key decisions: ... Next steps: ..." \
--project "ProjectName"
Memory content should include:
Use mcp__memory__create_entities or mcp__memory__add_observations to save:
# Add observations to existing project entity
mcp__memory__add_observations \
--entityName "ProjectName" \
--contents "Progress: implemented X, decided to use Y, next step is Z"
# Or create new entity for new technical component
mcp__memory__create_entities \
--entities '[{
"name": "ComponentName",
"entityType": "Component",
"observations": ["Description of the component and decisions"]
}]'
Save only if there are:
Update docs/dev/MEMORY_INDEX.md in the consuming project:
# Memory Index
Project: [ProjectName]
Created: [YYYY-MM-DD]
---
## [Active Work]
[Active Work] section:Format: - HH:MM | Description (same day) or - YYYY-MM-DD HH:MM | Description (cross-day)
Example:
## [Active Work]
- 15:30 | Completed mem-save skill implementation with MEMORY_INDEX.md support
- 14:00 | Started dev-phase-manager v1.1.0 implementation
Rules:
[Active Work] (newest first)Display a concise summary:
✅ Memory saved
Saved to:
- claude-mem: "[ProjectName] Memory Save - [Achievement]"
- knowledge graph: Updated [EntityName] observations
- MEMORY_INDEX.md: Added entry to [Active Work]
Summary:
- ✅ Completed: [what was done]
- 🔄 In progress: [current work]
- 📋 Next steps: [what to do next]
💡 Tip: Use /mem-search to browse saved memories
# Working on implementation...
# After completing a significant chunk:
/mem-save
# → Summarizes progress
# → Saves to all backends
# → Updates MEMORY_INDEX.md
# Context approaching limit
/mem-save
/checkpoint-progress
/clear
# → Memory preserved across clear
# Made important architecture decision
/mem-save
# → Decision recorded in knowledge graph
# → Indexed in MEMORY_INDEX.md
docs/dev/MEMORY_INDEX.md