跳到正文
Skillpedia
智能体81k · #1706

memory-management

它能做什么

这项技能为你的智能体提供一份关于过去有效做法的记忆。适合希望智能体从早前的任务中学习,并快速找到类似解决方案的人。

适用场景

  • ✓当你希望智能体记住一个解决方案,以便之后复用时。
  • ✓当你希望智能体查找与新问题相匹配的过去解决方案时。
  • ✓当你完成了一项顺利的任务,希望把经验保存下来供下次使用时。

技能链接

https://github.com/ruvnet/ruflo/blob/main/v3/@claude-flow/codex/.agents/skills/memory-management/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ruvnet/ruflo/blob/main/v3/@claude-flow/codex/.agents/skills/memory-management/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请记住我们是怎样修复登录问题的,并检查我们以前是否遇到过类似的问题。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体把笔记按名称存入记忆数据库,并按含义进行搜索。它使用向量搜索,因此即使用词不同,也能找到相关的想法。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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

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

Search Data

Semantic search in memory

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
常见问题

它是按确切的词搜索吗?

不是。它按含义搜索,因此即使措辞不同,也能找到类似的想法。

它使用哪种记忆系统?

它使用 AgentDB,这是一种带有 HNSW 向量搜索的记忆系统。

什么时候应该跳过它?

对于没有任何需要学习内容的快速、一次性任务,请跳过它。

详情

作者的原始描述

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.

repo: ruvnet/ruflo

热度

GitHub 星标
81k
排名
#1706
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能