AgentStack
SKILL verified MIT Self-run

Vector Memory

skill-cablate-ai-toolkit-vector-memory · by cablate

Persistent vector memory for Claude Code via LanceDB. Use when: remembering across sessions, storing lessons, recalling past decisions, maintaining context continuity. Tools: memory_store, memory_recall, memory_update, memory_forget, memory_merge.

No reviews yet
0 installs
19 views
0.0% view→install

Install

$ agentstack add skill-cablate-ai-toolkit-vector-memory

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Vector Memory? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Vector Memory

Long-term memory that persists across sessions. Store facts, decisions, lessons, preferences — recall them later via semantic search.

Vector memory is a retrieval layer, not a source of truth. Files and code are the source of truth; vector memory helps you find relevant context fast.

References

  • [tools-reference.md](references/tools-reference.md) — All MCP tools with full parameter docs
  • [retrieval-internals.md](references/retrieval-internals.md) — Hybrid pipeline, Weibull decay model (load when debugging retrieval)

When to Store

| Signal | Category | Example | |--------|----------|---------| | User states a preference | preference | "I prefer tabs over spaces" | | A fact is established | fact | "The API uses OAuth 2.0 with PKCE" | | A decision is made with rationale | decision | "Chose PostgreSQL over MongoDB because..." | | A mistake was made and corrected | lesson | "CSS not applying → check for syntax errors above" | | An important entity is introduced | entity | "Acme Corp is the client, contact: jane@acme.com" | | A reusable technique is learned | skill | "Remotion animations use interpolate()" |

When NOT to Store

  • Temporary task state (use files)
  • Things already in committed code or docs
  • Conversation summaries ("today we discussed X") — store the extracted knowledge, not the summary
  • Obvious facts the user can easily re-state

Memory Hygiene

  1. Short and atomic — Each memory ` | Agent-private (default) |

| project: | Project-scoped | | user: | User-scoped |

memory_store(text: "...", scope: "project:acme")
memory_recall(query: "...", scope: "project:acme")

Quick Reference

Store

memory_store(text: "...", category: "fact", importance: 0.7)

Recall

memory_recall(query: "database migration strategy", category: "decision", limit: 5)

Good queries describe the situation, not the exact stored text. Vector search finds semantic matches.

Update

memory_update(memoryId: "a0e8d0fb", text: "Updated: now using OAuth 2.1")

For preference and entity, text changes create a new version (supersede) — history is preserved.

Merge

memory_merge(primaryId: "a0e8d0fb", secondaryId: "3c31e862", mergedText: "Combined memory")

Forget

memory_forget(memoryId: "a0e8d0fb")
memory_forget(query: "outdated migration plan")

History

memory_history(memoryId: "a0e8d0fb", direction: "both")

Setup

Requires @cablate/memory-lancedb-mcp — see [mcp.example.json](../../mcp.example.json) for configuration.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.