From claudeclaw
Decide what to write to memory and where. Triggers when something surprising or load-bearing comes up that should outlive this session — corrections from the user, decisions made, non-obvious facts about external systems, or stable preferences. Also triggers when the user explicitly says "remember", "save this", or "for next time".
How this skill is triggered — by the user, by Claude, or both
Slash command
/claudeclaw:memory-keeperThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Two memory stores exist. Use the right one.
Two memory stores exist. Use the right one.
MEMORY.md (fast-path)${CLAUDE_PLUGIN_ROOT}/identity/MEMORY.md
Use for one-line entries that need to be loaded into every session prompt. Capacity: keep under ~40 lines total. When it grows past that, promote older entries to Store 2 and remove them here.
Good fit:
orlandowatson."prod branch."Format: bullet, one line, present tense.
~/.claude/projects/<current-project>/memory/
Use for structured topic memory — one file per topic, with frontmatter. This is Claude Code's built-in auto-memory system. Follow the rules already in your system prompt for what types exist (user, feedback, project, reference) and what NOT to save.
Good fit for Store 2:
Did the user explicitly say "remember"?
├── Yes → write to whichever store fits the content (default: Store 2)
└── No → ask: would behaving differently next session require this?
├── Yes → write
└── No → don't write
git log, the codebase, or live tools.When a fact changes, edit the existing entry rather than adding a new one. Stale memory is worse than missing memory.
Once a week (Friday afternoon by default — see HEARTBEAT.md), run the librarian subagent to:
npx claudepluginhub leadsblender/claudeclaw --plugin claudeclawCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.