bootstrap-memory
<!-- MegaMemory-managed file. Safe for megamemory install to update. -->
<!-- MegaMemory-managed file. Safe for megamemory install to update. -->
How it fires
How this command gets triggered: by you, by Claude, or both.
/save-memoryContext preview
What this command does when you run it.
<!-- MegaMemory-managed file. Safe for megamemory install to update. -->
<!-- MegaMemory-managed file. Safe for megamemory install to update. -->
You are saving what you learned this session into the megamemory knowledge graph. This is YOUR memory — record anything valuable for future sessions: what you understood about the project, what you built, decisions that were made, patterns you noticed, or intent the user shared.
Call `megamemory:list_roots` to see what's already recorded. Understanding the current state prevents duplicates and helps you decide what to update vs create.
Think about what happened this session. Consider:
Before creating anything new, call `megamemory:understand` with queries based on what you worked on this session. For each area you touched, search to see if concepts already exist that should be updated rather than duplicated.
For example, if you worked on authentication, call: megamemory:understand — query="authentication"
Do this for each distinct area. Existing concepts that are stale or incomplete should be updated — don't create a new node when an update will do.
For each thing worth remembering:
**New understanding** → `megamemory:create_concept`
`module` for subsystems, `pattern` for conventions, `config` for setup, `component` for distinct pieces of a system
behavior details, and the WHY behind things
[{to: "concept-id", relation: "depends_on|implements|calls|connects_to|configured_by", description: "why"}]
**Updated understanding** → `megamemory:update_concept`
If an existing concept is now stale or incomplete based on what you learned, update it. This is often more valuable than creating new nodes.
**New connections** → `megamemory:link`
If you discovered how existing concepts relate to each other.
**Removed/replaced things** → `megamemory:remove_concept`
If something in the graph is no longer true.
Call `megamemory:list_roots` again. Confirm the graph reflects your current understanding. Report what you saved.
middleware at src/middleware/auth.ts, refresh tokens in Redis with 7d TTL" is useful.
Persistent project knowledge graph for coding agents. MCP server with semantic search, in-process embeddings, and web explorer.
Repo: 0xK3vin/MegaMemory
<!-- MegaMemory-managed file. Safe for megamemory install to update. -->