/diary
Generate a reflection diary entry from the current conversation.
$ 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
/diary
Context preview
What this command does when you run it.
Generate a reflection diary entry from the current conversation.
Command definition
diary.md/diary -- Session Reflection Diary
Generate a reflection diary entry from the current conversation.
Steps
1. **Review this conversation**: List the user's main requests, problems solved, and files modified 2. **Write a diary entry**: Save to `~/.claude/sessions/diary/` with date-based filename 3. **Format**:
# Diary {YYYY-MM-DD}
## What I did today
- {List main work items}
## What I learned
- {Pitfalls, discoveries, user preferences}
## Patterns I noticed
- {User's work patterns, recurring needs}
## Notes for next time
- {Reminders for future sessions}4. **Report**: Briefly say "Diary written, noted X key points"
Notes
- Keep it concise and actionable, not a verbose log
- Focus on "what I learned" and "patterns", not play-by-play
- Each entry should be under 30 lines
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

