Skip to content
Back to skills

Vector Memory

ASecurity

HNSW vector search for pattern similarity retrieval and knowledge graph maintenance with PageRank scoring, community detection, and 3-tier memory management.

  • 1,760 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 29, 2026
ai-agentsbashsqlnodeperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 29, 2026

npx -y skills add a5c-ai/babysitter --skill vector-memory --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vector Memory?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vector Memory
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/a5c-ai-vector-memory/badge)](https://www.skillsdirectory.com/skills/a5c-ai-vector-memory)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vector-memory
description: HNSW vector search for pattern similarity retrieval and knowledge graph maintenance with PageRank scoring, community detection, and 3-tier memory management.
allowed-tools: Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, Agent, AskUserQuestion
---

# Vector Memory

## Overview

High-performance vector search using HNSW (Hierarchical Navigable Small World) graphs for pattern storage and retrieval, combined with a knowledge graph for relational reasoning.

## When to Use

- Retrieving similar patterns from execution history
- Building and querying knowledge graphs for project context
- Managing cross-session memory across project/local/user scopes
- Fast similarity search for routing decisions

## HNSW Performance

- Search latency: ~61 microseconds
- Query throughput: ~16,400 QPS
- Configurable embedding dimensions (default: 128)

## Knowledge Graph

- **PageRank**: Importance scoring for knowledge nodes
- **Community Detection**: Cluster related patterns
- **LRU Cache**: Fast access to frequently used patterns
- **SQLite Backing**: Persistent cross-session storage

## 3-Tier Memory

| Scope | Persistence | Content |
|-------|------------|---------|
| Project | Codebase-level | Patterns, architecture decisions, dependencies |
| Local | Session-level | Context, adaptations, temporary patterns |
| User | Cross-project | Preferences, learned behaviors, global patterns |

## Agents Used

- `agents/optimizer/` - Memory and cache optimization

## Tool Use

Invoke via babysitter process: `methodologies/ruflo/ruflo-intelligence`

Files in this skill

  • README.md232 B
  • SKILL.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…