Save Diary — Session Documentation Skill
The pen touches paper. Today's story takes shape.
Activation
When this skill activates, output: "Today's story takes shape."
Context Guard
| Context | Status |
|---|---|
| User says "save diary" | ACTIVE — full diary write |
| End of significant session | ACTIVE — auto-document |
| User says "review diary" | ACTIVE — read recent entries |
| Mid-conversation (no save request) | DORMANT — no diary action |
Protocol
Step 1: Monthly Archive Check
- Scan
daily-diary/current/for files from previous months - For each file where month != current month:
- Create
daily-diary/archived/YYYY-MM/folder if not exists - Move the file/folder from
current/toarchived/YYYY-MM/
- Create
- Continue with diary write
Step 2: Find or Create Today's File
- Check if
daily-diary/current/YYYY-MM-DD.mdexists - If exists: use it (will append new entry)
- If not: create new file with header:
# Daily Diary - [Month Day, Year] *Session documentation and development record* ---
Step 3: Compose and Append Diary Entry
- Get current timestamp via system command
- Analyze current session for key content
- Write structured entry following
daily-diary/daily-diary-protocol.mdformat:- Session timestamp and theme
- Main topics discussed
- Key insights and learning
- Collaboration highlights
- Growth and development notes
- Memorable moments
- Looking forward (next steps)
- APPEND entry to today's file (never overwrite existing content)
Step 4: Update Session Memory
- Update
main/current-session.mdwith:- Session recap and key achievements
- Current working state for continuity
- Next steps identified
- Confirm diary entry saved with timestamp
Mandatory Rules
- Always APPEND — never overwrite existing diary entries
- One file per day — multiple entries separated by
--- - Use real timestamps — get current time via platform-appropriate command (
date +"%H:%M"on bash,Get-Dateon PowerShell,time /Ton CMD) - Archive first — run monthly archive check before every write
- Evidence-based — document actual session content, not generic summaries
- Follow existing protocol — use
daily-diary/daily-diary-protocol.mdfor entry structure
Edge Cases
| Situation | Behavior |
|---|---|
| First entry of the day | Create new file with header + first entry |
| Second+ entry same day | Append with --- separator |
| No significant content | Create brief entry noting session type |
| "review diary" command | Read and present recent entries from current/ |
| No daily-diary/ folder | Create daily-diary/current/ and daily-diary/archived/ first |
Level History
- Lv.1 — Base: 4-step diary write protocol with monthly archival, append-only entries, session memory update, and existing protocol reference for entry format.