memory
Two-layer memory system with grep-based recall.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Two-layer memory system with grep-based recall.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
| name | memory |
| description | Two-layer memory system with grep-based recall. |
| always | true |
MEMORY.md — Long-term facts (preferences, project context, relationships). Always loaded into your context.memory/YYYY-MM-DD.md — Daily history logs. NOT loaded into context. Search with grep_file. Each entry starts with [YYYY-MM-DD HH:MM].grep_file(pattern="keyword", path="memory")
Use the grep_file tool (regex-based). Combine patterns with regex: grep_file(pattern="meeting|deadline", path="memory")
Keep entries concise. Do not copy or paraphrase SKILL content—store only factual information.
Write important facts immediately using edit_file or write_file:
Old conversations are automatically summarized and appended to today's memory/YYYY-MM-DD.md when the session grows large. Long-term facts are extracted to MEMORY.md. You don't need to manage this.
For other tasks (reminders, scheduled jobs, etc.), read the corresponding skill's SKILL.md first.