/save
Store information so the next session's Claude knows about it. The core mission: **make sure the next conversation doesn't lose this knowledge.**
$ npx -y skills add HelloRuru/claude-memory-engine --agent claude-codeShips with claude-memory-engine. Installing the plugin gets this command.
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/save
Context preview
What this command does when you run it.
Store information so the next session's Claude knows about it. The core mission: **make sure the next conversation doesn't lose this knowledge.**
Command definition
save.md/save -- Save Memory Across Sessions
Store information so the next session's Claude knows about it. The core mission: **make sure the next conversation doesn't lose this knowledge.**
Steps
1. **Dedup check** -- Search existing memory files (`memory/*.md`) for related content. If found, update that section instead of creating a new entry 2. **Route to the right file** -- Determine which memory file this belongs to based on topic. If unclear, ask the user 3. **Skip if already in CLAUDE.md** -- CLAUDE.md is auto-loaded every session, so don't duplicate its content 4. **Never write directly to MEMORY.md** -- MEMORY.md is an index of pointers, not a content store. Save content to topic-specific files in `memory/` 5. **Report** -- Tell the user: "Saved to {filename}, section {section name}" or "Updated {filename}, changed {what}"
Memory File Organization
Memory uses a **hub-and-spoke** model:
- `MEMORY.md` = the hub (index with pointers to topic files, max 200 lines)
- `memory/*.md` = the spokes (topic-specific content files)
When MEMORY.md exceeds 170 lines, proactively suggest moving content to separate files.
Notes
- User says "save" or "remember this" -> just save it, don't question it
- Always check for duplicates before creating new entries
- Use natural language, not technical jargon
Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.
Repo: HelloRuru/claude-memory-engine
Other commands on claude-memory-engine.
- /analyze
Analyze user corrections and log them into the error notebook
Open command - /backup
Push local memory files to your GitHub backup repository.
Open command - /bb-pause
Pause the SessionEnd auto-commit hook when refactoring core engine files.
Open command - /check
Run a quick scan of the memory system's health. For daily use.
Open command - /compact-guide
Help decide when to use `/compact` based on the current conversation state.
Open command - /correct
Review the error notebook — flip through past corrections before working
Open command

