/vector-memory:vector-memory-usagefrom vector-memory
Provides patterns for storing, searching, and leveraging semantic memories across sessions using the vector memory system. Guides when to proactively search memories before making decisions.
Ships in vector-memory. 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.
The vector memory system provides semantic memory storage shared across every project. Memories persist across sessions and are retrieved via semantic search — meaning queries find relevant memories by meaning, not just keyword matching.
The vector-memory MCP server stores all memories in a single global SQLite database (~/.vector-memory/memories.db), shared by every project on the machine. Each memory is automatically tagged with the project (the working directory) it was stored from — no per-repo database, nothing to commit to version control.
project to file a memory under a different project.scope: "project" when the query is clearly specific to the current repo (cuts cross-project noise), or an explicit project path to search another repo's memories..vector-memory/ directory can be imported into the global store with bunx @aeriondyseti/vector-memory-mcp consolidate (see the README). If a repo still has .vector-memory/ in version control, remove it and add .vector-memory/ to .gitignore.A repo-local database is still available via --db-file or VECTOR_MEMORY_DB_PATH for special cases.
Search memories BEFORE making decisions or assumptions. The cost of an unnecessary search is low; the cost of missing relevant context is high.
Good queries combine intent with specific terms:
| Scenario | Query | Intent |
|---|---|---|
| Resuming work | "authentication system architecture" | continuity |
| Checking a decision | "database choice PostgreSQL vs SQLite" | fact_check |
| Finding patterns | "error handling patterns API endpoints" | frequent |
| Exploring connections | "performance optimization caching" | associative |
| Creative exploration | "alternative approaches to state management" | explore |
Call mcp__vector-memory__search_memories with the appropriate intent:
The reason_for_search field forces intentional retrieval. Be specific:
Each memory should be self-contained and capture exactly one idea:
Good:
"Chose libSQL over PostgreSQL for the Resonance project because
of native vector support and simpler single-file deployment for local-first
architecture."
Bad:
"Uses SQLite"
The good example includes: what was decided, for which project, and why. The bad example lacks context, subject, and reasoning.
When memory content exceeds ~1,000 characters, provide an embedding_text field with a concise searchable summary. The embedding is generated from embedding_text instead of the full content, ensuring the memory remains discoverable:
{
"content": "[detailed multi-paragraph implementation notes...]",
"embedding_text": "Authentication middleware implementation using JWT with RS256 signing and refresh token rotation",
"metadata": { "type": "implementation" }
}
When a memory comes from a larger source — a document, a note, a long discussion — give its context: a short path from the source to the section. It is searched with the memory (and weighted above its words), so the memory is found by what it belongs to even when its own text doesn't name it:
{
"content": "Refresh tokens rotate on every use; a reused token revokes the whole family.",
"context": "Atlas design doc > Auth flow > Refresh tokens"
}
Use the same names the source uses (document title, section headings, a character's or project's name) so lookups by those names find it.
When you answer a broad question by pulling several memories together — a summary of how something developed, a pattern across sessions, a conclusion — store that answer as its own memory and list the memories it draws on in sources. The next broad question finds the synthesis directly instead of rebuilding it, and search flags it if a source is later replaced or deleted:
{
"content": "Across the last five sessions the envoy has lied to the party three times, always about the treaty terms.",
"sources": ["<memory id>", "<memory id>", "<memory id>"]
}
Call mcp__vector-memory__store_memories with appropriate metadata type tags:
| Type | Store | Example |
|---|---|---|
decision | What was chosen + why | "Chose Drizzle ORM over Prisma for type safety and SQL-like syntax" |
implementation | What was built + where + patterns | "Auth middleware in src/middleware/auth.ts uses JWT with RS256 signing" |
insight | Learning + why it matters | "sqlite-vec virtual tables require DELETE+INSERT, not INSERT OR REPLACE" |
blocker | Problem + resolution | "CORS errors resolved by adding origin whitelist in server config" |
next-step | TODO + suggested approach | "Add rate limiting to API; consider express-rate-limit middleware" |
context | Background info + constraints | "Project targets Node 20+ only; can use native fetch and crypto" |
Call mcp__vector-memory__update_memories when a memory's content is still conceptually valid but needs correction or refinement:
Updating preserves the memory ID, so any waypoint references to it remain valid.
Call mcp__vector-memory__delete_memories when a memory is no longer relevant:
Deletion is a soft-delete — the memory can be recovered by searching with include_deleted: true. This means it is safe to delete aggressively when memories become stale.
Rule of thumb: If the memory needs minor corrections, update it. If it no longer reflects reality, delete it.
Call mcp__vector-memory__report_memory_usefulness after retrieving memories to indicate whether they were helpful. This feedback loop is important for search quality:
All tools use the mcp__vector-memory__ prefix:
| Tool | Purpose |
|---|---|
mcp__vector-memory__search_memories | Semantic search with intent-based ranking |
mcp__vector-memory__store_memories | Persist new memories (batch supported) |
mcp__vector-memory__get_memories | Retrieve specific memories by ID |
mcp__vector-memory__update_memories | Modify existing memories in place |
mcp__vector-memory__delete_memories | Soft-delete outdated memories (recoverable) |
mcp__vector-memory__report_memory_usefulness | Feedback on memory quality |
For session-level snapshots, see the waypoint-workflow skill which covers mcp__vector-memory__set_waypoint and mcp__vector-memory__get_waypoint.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/waypoint:getLoad project context from waypoint + git + vector memories/waypoint:setSave session context to vector memory for seamless resumption/waypoint:workflowThis skill should be used when the user asks to "set a waypoint", "save my progress", "save session state", "load waypoint", "resume work", "where were we", "what was I working on", "start a new session", "switch tasks", mentions "session persistence", "context management", or discusses when and how to use waypoints effectively. Provides guidance on the waypoint lifecycle for session continuity.Other plugins' skills for the same job
Generated from the plugin's indexed repository (aeriondyseti/vector-memory-mcp) — no native marketplace selected
npx claudepluginhub p/aeriondyseti-vector-memory-plugin