본문으로 건너뛰기
Skillpedia
에이전트81k · #1533

memory-management

하는 일

이 스킬은 패턴과 지식을 지속적인 메모리에 저장하고 의미로 검색하도록 에이전트를 안내합니다. 이전 작업에서 배우고 효과가 있던 방식을 재사용하기를 원하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓성공한 해결책을 나중에 재사용할 수 있도록 저장하고 싶을 때.
  • ✓새 작업과 비슷한 과거 작업을 찾아야 할 때.
  • ✓여러 에이전트가 배운 내용을 공유해야 할 때.

스킬 링크

https://github.com/ruvnet/ruflo/blob/main/.agents/skills/memory-management/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/ruvnet/ruflo/blob/main/.agents/skills/memory-management/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“JWT 로그인에 쓴 방식을 재사용 가능한 패턴으로 저장하고, 인증에 대해 물으면 비슷한 패턴을 찾아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 각 패턴을 키와 네임스페이스 아래에 저장하고, 요청이 오면 의미로 메모리를 검색해 맞는 항목을 가져옵니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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

npx @claude-flow/cli memory store --key "[key]" --value "[value]" --namespace patterns

Example:

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

npx @claude-flow/cli memory search --query "[search terms]" --limit 10

Example:

npx @claude-flow/cli memory search --query "authentication best practices" --limit 5

Retrieve Entry

Retrieve 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 patterns

List Entries

List all entries in a namespace

npx @claude-flow/cli memory list --namespace [namespace]

Example:

npx @claude-flow/cli memory list --namespace patterns --limit 20

Delete Entry

Delete a memory entry

npx @claude-flow/cli memory delete --key "[key]" --namespace [namespace]

Initialize HNSW Index

Initialize HNSW vector search index

npx @claude-flow/cli memory init --enable-hnsw

Memory Stats

Show memory usage statistics

npx @claude-flow/cli memory stats

Export Memory

Export memory to JSON

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
자주 묻는 질문

네임스페이스란 무엇인가요?

관련된 메모리 항목을 함께 묶어 두는 이름 있는 그룹입니다.

의미로 검색할 수 있나요?

네. 비슷한 항목을 찾는 의미 검색 명령이 포함되어 있습니다.

언제 쓰지 않아야 하나요?

배울 것이 없는 일회성 작업에는 쓰지 말라고 스킬은 설명합니다.

상세 정보

작성자의 원본 설명

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.

repo: ruvnet/ruflo

인기도

GitHub 스타
81k
순위
#1533
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬