mcpField
S
supermemory-search

supermemory-search

github.com/supermemoryaiAgent 工作流2.8k93 次安装1 天前更新
代码仓库

关于 supermemory-search

一款用于在 Supermemory 中搜索过往编码会话、决策和已保存信息的 Claude skill,可按个人记忆、项目记忆或两者范围搜索,并显示时间戳和相关度评分。

主要功能

  1. 01搜索过往会话和决策
  2. 02按个人或项目范围搜索
  3. 03显示时间戳和相关度评分

适用场景

  1. 01查找近期编码活动
  2. 02查询项目实现决策
  3. 03查看已保存的编码偏好

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/supermemoryai/claude-supermemory --skill supermemory-search

安装后在 Claude Code 中输入/supermemory-search确认已加载。

详细介绍

Supermemory 搜索

在 Supermemory 中搜索以往的编码会话、决策和已保存的信息。

如何搜索

使用用户的查询和可选的范围标志运行搜索脚本:

node "${CLAUDE_PLUGIN_ROOT}/scripts/search-memory.cjs" [--user|--repo|--both] "USER_QUERY_HERE"
范围标志
  • --both(默认):并行搜索所有团队成员的个人会话记忆和项目记忆
  • --user:跨会话搜索个人/用户记忆
  • --repo:搜索所有团队成员的项目/仓库记忆

示例

  • 用户询问“我昨天做了什么”:

    node "${CLAUDE_PLUGIN_ROOT}/scripts/search-memory.cjs" "work yesterday recent activity"
    
  • 用户询问“我们是如何实现身份验证的”(特定项目):

    node "${CLAUDE_PLUGIN_ROOT}/scripts/search-memory.cjs" --repo "authentication implementation"
    
  • 用户询问“我的编码偏好是什么”:

    node "${CLAUDE_PLUGIN_ROOT}/scripts/search-memory.cjs" --user "coding preferences style"
    

呈现结果

脚本会输出带有时间戳和相关性评分的格式化记忆结果。清晰地呈现给用户;如果需要,可提出使用不同的搜索词再次搜索。

评论

支持 Markdown