/memex-claude:memory-creationfrom memex-claude
Instructions for creating and managing memories in memex format (injected in takeover mode)
Ships in memex-claude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You have a persistent, file-based memory system. Build it up over time so future conversations benefit from what you learn.
Save a memory when you learn something that will be useful in future conversations:
type: ruletype: ruletype: memorytype: memorygit log is authoritative)Step 1 — Write the memory to its own file:
---
name: {{short-name}}
description: {{one-line description — be specific, this drives semantic matching}}
type: {{memory | rule | session-learning}}
queries:
- "{{natural language query that would match this memory}}"
- "{{another angle someone might ask about this}}"
- "{{a third variation}}"
- "{{a fourth variation}}"
- "{{a fifth variation}}"
---
{{content — keep it concise}}
Save to: ~/.claude/projects/<encoded-cwd>/memory/{{short-name}}.md
The <encoded-cwd> is the current working directory with / replaced by - and . replaced by -.
Step 2 — Add a pointer to MEMORY.md in the same directory:
- [{{short-name}}.md]({{short-name}}.md) — {{one-line hook, under 150 chars}}
queries field is critical — it determines when this memory surfaces in future sessions. Write 5 natural language queries that someone might ask when this memory would be relevant.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jim80net/memex-claude --plugin memex-claude9 skills in this plugin
/deep-sleepExtract learnings from past session transcripts and create appropriately-typed skills. Processes unreviewed sessions to find user preferences, recurring patterns, and troublesome workflows./doctorDiagnose and fix memex installation, setup, or runtime problems. Run checks on the binary, config, hooks, cache, model, and scan paths./handoffCreate a comprehensive continuation plan so a fresh session can pick up exactly where this one left off — with full operational detail, not summaries./helpShow how to use memex: what it does, how to create skills/rules/memories, available commands, current status, and troubleshooting.