Skip to main content

memory-management

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.

설치로 이동

소스 정보

저장소
ruvnet/ruflo
최근 소스 활동
2026년 2월 7일 18:02
감지된 SKILL.md 언어
영어
스타
73,010
포크
8,665

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
memory-management
description
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.
# Memory Management Skill ## Purpose 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. ## When to Trigger - 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 ## When to Skip - no learning needed - ephemeral one-off tasks - external data sources available - read-only exploration ## Commands ### Store Pattern Store a pattern or knowledge item in memory ```bash npx @claude-flow/cli memory store --key "[key]" --value "[value]" --namespace patterns ``` **Example:** ```bash npx @claude-flow/cli memory store --key "auth-jwt-pattern" --value "JWT validation with refresh tokens" --namespace patterns ``` ### Semantic Search Search memory using semantic similarity ```bash npx @claude-flow/cli memory search --query "[search terms]" --limit 10 ``` **Example:** ```bash npx @claude-flow/cli memory search --query "authentication best practices" --limit 5 ``` ### Retrieve Entry Retrieve a specific memory entry by key ```bash npx @claude-flow/cli memory get --key "[key]" --namespace [namespace] ``` **Example:** ```bash npx @claude-flow/cli memory get --key "auth-jwt-pattern" --namespace patterns ``` ### List Entries List all entries in a namespace ```bash npx @claude-flow/cli memory list --namespace [namespace] ``` **Example:** ```bash npx @claude-flow/cli memory list --namespace patterns --limit 20 ``` ### Delete Entry Delete a memory entry ```bash npx @claude-flow/cli memory delete --key "[key]" --namespace [namespace] ``` ### Initialize HNSW Index Initialize HNSW vector search index ```bash npx @claude-flow/cli memory init --enable-hnsw ``` ### Memory Stats Show memory usage statistics ```bash npx @claude-flow/cli memory stats ``` ### Export Memory Export memory to JSON ```bash npx @claude-flow/cli memory export --output memory-backup.json ``` ## Scripts | 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 | ## References | Document | Path | Description | |----------|------|-------------| | `HNSW Guide` | `docs/hnsw.md` | HNSW vector search configuration | | `Memory Schema` | `docs/memory-schema.md` | Memory namespace and schema reference | ## Best Practices 1. Check memory for existing patterns before starting 2. Use hierarchical topology for coordination 3. Store successful patterns after completion 4. Document any new learnings
GitHub에서 보기