Skip to content
Development
Command

/diary

Generate a reflection diary entry from the current conversation.

From plugin
13219 skills19 commands9 hooks
shell
$ npx -y skills add HelloRuru/claude-memory-engine --agent claude-code

Ships 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
Read it on GitHub ↗
Ships withclaude-memory-engine

Claude Code 的記憶系統 | A memory system built with hooks + markdown. Zero dependencies.

Get the whole plugin, auto-invoked
Stats
132
Stars
0
Views
27
Forks
Maintained
Maintenance
JavaScript
Language
MIT
License
2mo ago
Last commit
4mo ago
Created

Repo: HelloRuru/claude-memory-engine