AgentDB memory system with HNSW vector search. Provides 150x-12,500x faster pattern retrieval, persistent storage, and semantic search capabilities for learning and knowledge management. Use when: need to store successful patterns, searching for similar solutions, semantic lookup of past work, learning from previous tasks, sharing knowledge between agents, building knowledge base. Skip when: no learning needed, ephemeral one-off tasks, external data sources available, read-only exploration.
58
67%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./.agents/skills/memory-management/SKILL.mdAgentDB memory system with HNSW vector search. Provides 150x-12,500x faster pattern retrieval, persistent storage, and semantic search capabilities for learning and knowledge management.
Store a pattern or knowledge item in memory
npx @claude-flow/cli memory store --key "[key]" --value "[value]" --namespace patternsExample:
npx @claude-flow/cli memory store --key "auth-jwt-pattern" --value "JWT validation with refresh tokens" --namespace patternsSearch memory using semantic similarity
npx @claude-flow/cli memory search --query "[search terms]" --limit 10Example:
npx @claude-flow/cli memory search --query "authentication best practices" --limit 5Retrieve a specific memory entry by key
npx @claude-flow/cli memory get --key "[key]" --namespace [namespace]Example:
npx @claude-flow/cli memory get --key "auth-jwt-pattern" --namespace patternsList all entries in a namespace
npx @claude-flow/cli memory list --namespace [namespace]Example:
npx @claude-flow/cli memory list --namespace patterns --limit 20Delete a memory entry
npx @claude-flow/cli memory delete --key "[key]" --namespace [namespace]Initialize HNSW vector search index
npx @claude-flow/cli memory init --enable-hnswShow memory usage statistics
npx @claude-flow/cli memory statsExport memory to JSON
npx @claude-flow/cli memory export --output memory-backup.json| Script | Path | Description |
|---|---|---|
memory-backup | .agents/scripts/memory-backup.sh | Backup memory to external storage |
memory-consolidate | .agents/scripts/memory-consolidate.sh | Consolidate and optimize memory |
| Document | Path | Description |
|---|---|---|
HNSW Guide | docs/hnsw.md | HNSW vector search configuration |
Memory Schema | docs/memory-schema.md | Memory namespace and schema reference |
b14c79e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.