Saves a structured diary entry for the current session following the daily-diary protocol. Use when the user says "save diary", "log this session", "document this", "save to diary", or when ending a session and the user wants a record. Also use when loading or setting up the Save Diary System ("Load save-diary").
Locate diary root
Use daily-diary/ in project root (or path from config if set).
Today's file
File name: YYYY-MM-DD.md (e.g. 2025-02-23.md).
Append one entry using daily-diary-protocol.md:
#topic)Create file/folder if missing
Ensure daily-diary/ exists; create the day file if it does not exist.
Update session memory
After writing, store a short recap (e.g. in DIBA memory or session RAM) so the next turn can reference "last session" without re-reading the whole file.
Archival
If the file is from a previous month, do not write into it; use current date. When implementing auto-archive, move files to daily-diary/archived/YYYY-MM/ when starting a new month or when file exceeds 1k lines (see protocol).
Feature/Save-Diary-System/ exists with this SKILL and daily-diary-protocol.md.daily-diary/ in project root.