Memory Management

ruvnet/ruflo/v3/@claude-flow/codex/.agents/skills/memory-management

作者 ruvnet60de638630ab无许可证74K 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新

AgentDB memory system with HNSW vector search. Use when: need to store patterns, search for solutions, semantic lookup. Skip when: no learning needed, ephemeral tasks.

仅含说明AI & Agents
AI 生成的概览

通过 CLI 命令使用 AgentDB 向量存储来保存并语义搜索智能体记忆模式。

功能
该技能介绍了一套基于 AgentDB 与 HNSW 向量搜索的记忆系统。它给出了在命名空间中存储键值模式,以及按查询词和结果数量上限进行语义搜索的命令示例。它还列出了最佳实践,例如开始前先检查记忆、完成后存储成功的模式。
适用场景
当智能体需要持久保存可复用的模式,或以语义方式查找以往解决方案时使用。它适用于学习成果需要跨会话保留的任务,而在临时性任务或无需学习时应跳过。
运行要求
需要 npx 命令以及网络访问,以便获取并运行 @claude-flow/cli 包。该技能不附带脚本,仅包含说明和 CLI 命令示例。

Memory Management Skill

Purpose

AgentDB memory system with HNSW vector search.

When to Trigger

  • need to store patterns
  • search for solutions
  • semantic lookup

When to Skip

  • no learning needed
  • ephemeral tasks

Commands

Store Data

Store a pattern in memory

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

Search Data

Semantic search in memory

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

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

来源与署名

来源:ruvnet/ruflo位于v3/@claude-flow/codex/.agents/skills/memory-management提交60de638

许可证: 无许可证

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架