Recording Diary
Records session learnings and decisions before context compaction. Use before ending a long session or when the user asks to save session notes.
Recording Diary by majiayu000 · 74976bc
npx skillmds add majiayu000/recording-diary File contents
---name: recording-diarydescription: Records session learnings and decisions before context compaction. Use before ending a long session or when the user asks to save session notes.---
<quick_start>
- Before compaction or session end, write `diary_{YYYY-MM-DD_HH-MM}.md` to `./.{AGENT_NAME}/skills/memories/` via `$writing-memories`.
</quick_start>
<templates>
<diary>
Gotchas:
-
Workarounds:
-
Useful commands:
-
Dead ends:
-
Project quirks:
-
Open questions:
-
</diary>
</templates>
<consolidation>
If more than 5 diary entries exist, merge them into `diary-consolidated.md`, keeping only high-signal items. Delete the older entries after consolidation.
</consolidation>
<decision_points>
- Nothing new learned -> skip the diary.
- Many related notes -> consolidate immediately.
</decision_points>
<failure_modes>
- Time format unclear: use local time or `date` output.
- Memory dir missing: create it before writing.
</failure_modes>
majiayu000/claude-skill-registry-data/tree/main/data/recording-diary commit 74976bc78a
Frequently asked questions
Run npx skillmds add majiayu000/recording-diary in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Records session learnings and decisions before context compaction. Use before ending a long session or when the user asks to save session notes. It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
majiayu000 (@majiayu000) published this skill. Their other Agent Skills are listed on their SkillMD profile.