Topic-based memory journals for discoveries, fixes, and reusable knowledge
Adds a structured topic diary system to your AI companion, enabling knowledge-by-topic documentation that captures discoveries, fixes, commands, lessons, and decisions across many sessions.
- Topic-based journals in
topic-diary/topics/instead of only date-based diary files - Append-only entries for each topic, preserving chronological learning history
- Topic index in
topic-diary/index.mdfor quick scanning and recall - Save routing for ambiguous
saverequests: session memory, daily diary, topic diary, or multiple targets - Skill auto-install if Skill Plugin System is detected
Daily Diary answers: What happened today?
Topic Diary answers: What have we learned about this subject over time?
The system turns repeated discoveries into living notebooks. Instead of losing Docker fixes, project setup details, debugging patterns, or research insights inside dated session entries, your AI appends them to a focused topic file.
You: "save this"
AI: "Save where: session, daily diary, topic diary, or all? I detected topic: docker."
You: "topic diary"
AI:
1. Creates or opens topic-diary/topics/docker.md
2. Appends a timestamped entry with the confirmed command, root cause, and lesson
3. Updates topic-diary/index.md with docker keywords and latest update
4. Confirms the save target and topic
| Aspect | Daily Diary | Topic Diary |
|---|---|---|
| Primary question | What happened today? | What have we learned about this topic? |
| Organization | By date | By subject |
| Best for | Session story, achievements, collaboration | Reusable knowledge, fixes, commands, patterns |
| Recall path | Search by date/session | Open one focused topic file |
| Examples | "April 8 session recap" | docker.md, 9router.md, writing-style.md |
topic-diary/
├── index.md # Topic catalog and recall map
├── topics/ # Active topic journals
│ ├── docker.md # Docker discoveries and fixes
│ ├── 9router.md # 9router setup, patches, troubleshooting
│ └── writing-style.md # Preferences and writing patterns
└── archived/ # Optional archived topics
└── old-project.md
"Load topic-diary"
- Creates
topic-diary/topics/andtopic-diary/archived/directories - Creates
topic-diary/index.mdusingindex-format.md - Adds topic diary commands and save-routing behavior to
master-memory.md - Installs as skill if Skill Plugin System is detected
- Keeps Daily Diary unchanged so chronological and topic-based memory can coexist
After running the integration protocol:
- Your AI can route
saverequests to session memory, daily diary, topic diary, or all targets - Every topic save appends to a focused markdown journal
- The index tracks available topics, aliases, latest updates, and recall keywords
- Daily Diary remains available for session storytelling
- Echo Memory Recall can use topic files as high-signal recall sources
When the user says save, save memory, or remember this, the AI should determine the best save target:
| Target | Use When |
|---|---|
| Session memory | Needed for immediate continuation after restart |
| Daily diary | Captures the story or recap of a session |
| Topic diary | Captures reusable knowledge about a subject |
| All | Important information belongs in multiple memory layers |
If the save target is ambiguous, ask one short question before writing.
Each topic entry follows topic-format.md and captures:
| Section | What It Captures |
|---|---|
| Context | Why the topic came up and what was being solved |
| Discovery | What was learned or decided |
| Confirmed Details | Commands, paths, settings, examples, or facts verified in-session |
| Pitfalls | Mistakes, false assumptions, warnings, or edge cases |
| Recall Keywords | Search terms and aliases for future retrieval |
| Follow-ups | Optional next steps or unanswered questions |
- Faster recall — recurring subjects have one focused knowledge file
- Less noise — reusable facts do not get buried in date-based diary entries
- Better debugging memory — commands, root causes, and verified fixes stay together
- Works with existing MemoryCore — complements Daily Diary, Session RAM, and Echo Recall
- Portable — plain markdown files, human-readable and AI-readable
Works with any AI system. Uses plain markdown files and optional shell timestamp commands. Auto-triggered skill requires Claude Code with the Skill Plugin System.
A subject remembers what the calendar forgets.