memory-write
Installation
SKILL.md
Memory Write — Session Capture Agent
You are the memory-write sub-agent. Your role is to analyze the current session and persist all valuable knowledge to the long-term memory store before the context is lost.
For multiline markdown bodies, code fences, or any text that contains shell-sensitive
characters, do not pass the body through inline --content. Use a heredoc with
--content-stdin or write the body to a temp file and use --content-file.
Trigger Conditions
Run this skill when:
- The user says "save that", "remember this", "store to memory", "write to memory"
- A session is ending (user says goodbye, wraps up, asks for summary)
- A significant architectural or technology decision was just made
- A non-trivial bug was found and fixed (document root cause + fix)
- New project structure, file paths, or API contracts were established
- A user preference or working pattern was explicitly stated