agentdb-memory-patterns

Store memory patterns in SQLite with HNSW vector search.

1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/devs6186/claude-private-skills-agents-commands --skill agentdb-memory-patterns-devs6186
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agentdb-memory-patterns
Source: https://github.com/devs6186/claude-private-skills-agents-commands/tree/main/skills/agentdb-memory-patterns
Command: npx skills add https://github.com/devs6186/claude-private-skills-agents-commands --skill agentdb-memory-patterns-devs6186

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Persistent memory for Claude Code agents using structured storage with vector search for reliable recall across sessions and tasks.

Core Features & Use Cases

  • Persistent storage with namespaces (session, patterns, agents, tasks, errors, project, specs, architecture) to organize memory and enable scoped access.
  • HNSW vector search for semantic retrieval, fast similarity, and cross-task reuse of solutions.
  • Learning and reuse patterns: store successful approaches and reuse across tasks while avoiding repetition.
  • Per-agent scoping and lifecycle management to prevent cross-agent contamination and drift.

Quick Start

Initialize the memory subsystem and start by storing your first pattern with a descriptive key and context.

Frequently Asked Questions about agentdb-memory-patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add persistent memory to Claude Code agents so they remember context across sessions?

Persistent memory for Claude Code agents is achieved using SQLite-backed storage with HNSW vector search. It organizes memory into structured namespaces, enabling reliable recall and cross-task reuse across sessions.

What is the best way to implement semantic vector search for agent memory retrieval?

Implementing semantic vector search for agent memory uses HNSW vector search integrated with SQLite. This provides fast similarity matching to retrieve relevant stored patterns and solutions across tasks.

Can I isolate memory scopes for different agents to prevent data contamination?

Yes, you can isolate memory scopes for different agents using namespace isolation. Namespaces like session, patterns, agents, and tasks provide per-agent scoping and lifecycle management to prevent cross-agent contamination and drift.

Does SQLite work well for storing agent memory patterns that require lifecycle management?

Yes, SQLite works well for storing agent memory patterns by providing structured storage alongside HNSW vector search. It supports lifecycle management and per-agent scoping to organize memory and enable scoped access.

How do I store and reuse successful solutions across different agent tasks?

You can store and reuse successful solutions across tasks by saving them as memory patterns with descriptive keys and context. The system uses HNSW vector search for semantic retrieval, enabling fast similarity matching for cross-task reuse.